Ubuntu :: How To Resize Ext4 Partition
Jun 23, 2011I created only two partitions, root and /home. I want to resize root to a bigger value. I tried to play a little with parted without result. How can I do it safely?
View 6 RepliesI created only two partitions, root and /home. I want to resize root to a bigger value. I tried to play a little with parted without result. How can I do it safely?
View 6 RepliesHow do I resize an ext4 partition including moving the start address? Actually what I want to do is extend the partition in front of it but that means first making space between partitions 1 and 2.As best I can tell resize2fs will resize the partition but not let me move the start addres. And fdisk will run, on say /dev/sda3 (the one I want to resize), but its default display doesn't show a start and end address which leads me to believe that fdisk isn't going to do what I want either.
View 8 Replies View RelatedI didn't know a resize operation on a 750 GB disk was going to take 40+ hours, and I was biting my nails the whole time, until the power went out when "only" 8 hours where left.I can still mount the partition, and many of the files are still there, but some files show as '? ? ? ? ? filename.ext' with ls -l.If I try to go inside such a directory: Input/output error.
View 1 Replies View RelatedI'm using ubuntu 10.10.While I installed it in my desktop, i choose double boot by selecting "install them side by side,choosing between them each start up". After installing I found that my ext4 with root size is 100GB and swap 4 GB. Isn't it too big!!?? Is there any way to reduce the size of ext4 with root without harming the OS? Should it be done?
View 5 Replies View RelatedI have a dual boot system with Ubuntu Lucid and Windows 7 Ultimate 32bit on a 320 GB hard drive. During the last month, I've completely moved from Windows to Ubuntu but I have to keep Windows for a few softwares like ooVoo and Office, especially OneNote. But now 105 GB for windows and 50 GB for Ubuntu doesn't seems right, as I can't copy any more files on my Desktop in Ubuntu, because it's full. I was just wondering if it's possible to resize the NTFS partition and add like 50GB or so to the ext4 partition which is my Linux's root. The NTFS drive is on /dev/sda5 and the ext4 one is on /dev/sda7.
View 4 Replies View RelatedI had 5.4 machine. Upgraded to 5.5 today via yum upgrade. All went fine. Rebooted. Wanted to convert root partition to ext4 (I have three partitions: /boot, / and swap). All of them on software RAID 1 (root is /dev/md2). I did the following for converting
yum install e4fsprogs
tune2fs -O extents,uninit_bg,dir_index /dev/md2
nano /etc/fstab # I indicated here that my /dev/md2 is of ext4
[code]....
I have been asked to use space allocated to /dev/sdb2 to grow /dev/sdb1 both filesystems contain data. When I run lvdisplay or vgdisplay I get "no volume groups found". and pvdisplay returns nothing. Do I need to add the fs to a group?
View 2 Replies View RelatedI have around 30gb of free space in my partition table immediately before the Linux partition. I want to resize my linux partition to take up this space.
I tried booting with live cd, sucessfully umounted the hard drive but found I could not resize the partition. On clicking the 'edit size' button, partition manager recognised the free space before the partition but when i reduced this, the 'ok' button was greyed out. (it was not greyed out for the windows partition so I could, in theory, increase the windows partition to take up the free space but this is not what i wanted to do).
I am pretty sure that I had managed to unmount the drive correctly as the padlock symbol had dissapeared (I took the attached screenshot, which does show the lock symbol, after rebooting into my normal system).
Anyone got any ideas as to why it wont allow this? There is no reason why i can resize the partition to take up the free space BEFORE it is there?
I just installed ubuntu via the windows executable and I couldn't mount my NTFS partition. I found this a little odd and I checked fdisk and it seems to think I don't have an ext4 partition as my entire internal HD is displayed as NTFS.
Here's the fdisk output:
When i try to mount the NTFS partition /dev/sda2 i get the following output:
I can't make heads or tails out of this. Anyone know what's going on here?
Windows recognizes that 30GB were taken from the NTFS partition for my linux install. It reads the max partition size as 465GB. fstab reports the NTFS partition size as 488GB.
I have an external 320gb Hard drive. My plan was to have 250gb for My Documents of mainly music, films and word documents. And 50gb set aside for ubuntu, in a separate partition.To do this I need to partition the 50gb partition as ext4? then add a swap file of how big? Do i even need a swap space if I have 4gb of physical RAM?
View 4 Replies View RelatedI want to convert a vfat partition into an ext4 partition. This is on my wife's machine and she deleted the Windoze partition as she now prefers Linux. Here is the (edited) output from fdisk -l:-
/dev/sda2 514048 4708351 2097152 83 Linux
/dev/sda3 4708352 6805503 1048576 82 Linux swap
/dev/sda4 52693200 234436544 90871672+ f W95 Ext'd (LBA)
/dev/sda5 59006800 234227699 87610446 83 Linux
I want to change /dev/sda4 to 83 to free up space for Linux without losing the partitions in this 'extended' partition!
Ubuntu 10.04 64-bit (installed on installer)
What will be an easy and safe way to resize partition? Boot up the LiveCD? Or can I run resize2fs on Ubuntu while the latter is running?
Code:
This is a newly installed box without files on /kvm. Now I want to resize /home taking up the complete capacity of /kvm which will be removed/deleted.
I have read several tutorials on how to install it on my Laptop with pre-existing XP without destroying XP in order to get a dual-boot system. For example on those two pages...
[URL]
and
[URL]
...it reads that in the Ubuntu install menu I have to select "manually edit partition table", which I have found and selected, and then I should supposedly be able to edit the size of the desired partition. However, no option for changing the partition size appears. Instead I get a menu where I am asked to determine how I want to mount the partition (as ext4, ext3, etc.) and if I want to format it. However nowhere it mentions anything related to "change size" or similar.
i can't resize my partition sda1?
View 3 Replies View RelatedI made three partitions when I installed Ubuntu. Ubuntu 20.1 gig. windows 20.1 gig. data 110 gig
I no longer want or need the windows partition. so I used system > administrator> disk utility to delete the windows partition. Now to hopefully prevent a problem. How do I enlarge the Ubuntu partition without causing problems?
Can I do it while I am ubuntu or do I need to do it from the live cd or what?
I am trying to resize a Windows XP partition. The partition has plenty of space available. When I boot off the CD, I open Gparted. I try to move the partition down, but it does not move at all.
Within this Windows installation, it only shows 1% fragmentation.
I want to dual boot using two partitions.
I have a laptop with a 320GB disk. Windows 7 and Ubuntu 10.04 It has 8 partitions: [From Testdisk]
[code]....
Long story short, after reinstalling windows 7 and messing around a little with its partition and the other ntfs one (resizing etc); Gparted won't open the disk. It shows all the disk as unallocated space, And throws a message to the terminal which says something like "Can't have a partition out of the disk." Funny thing is that *almost* everything is working fine. Everything works except that ubuntu can't use the swap. (Dmesg says: "Swap area shorter than signature indicates") Also, testdisk, if i run a deep search for partitions, finds the last partition twice, but the second time the partition goes from 37129 0 1 to 40240 254 63 , while the disk ends at 38913 255 63. The problem is that I can't use Gparted now and I want to resize a partition.Also I believe that going without swap is not good for ubuntu.
I am dual booting Windows 7 and Ubuntu on my laptop, and I'm trying to resize my ubuntu partition to make it larger. When I boot from the GParted Live disc , however, It only recognizes the existence of my 160 Gig windows NTFS partition which has ~15 Gigs of free space, which I want to reformat and expand ubuntu into (I freed that space by shrinking my windows partition from inside windows 7). I know my Ubuntu partitions are there (I'm in Ubuntu now, plus my HD is 200 Gigs not 160), but I can't see them.
I have a feeling this has something to do with my resizing of my windows partition from windows, but I'm not sure.
more info:
Code:
sudo fdisk -lu
Disk /dev/sda: 160.0 GB, 160041885696 bytes
240 heads, 63 sectors/track, 20673 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
[Code]....
I'm dual booting Win7 and Maverick and I'm running low on diskspace on my Ubuntu partition.I booted into an Ubuntu 10.10 live CD and opened Gparted. After shrinking the storagepartition I wanted to grow the extended ubuntu partition into the unallocated space to the left, but for some reason it won't let me do that.
View 7 Replies View RelatedI want to resize my linux partition using gparted. The partition in my hdd right now looks like this:
Uploaded with ImageShack.us
I dont want to screw this up, I know I have to use the gparted boot disk. But really, can anyone give me sort of step by step guide of how to resize my linux partition ( I was thinking in expanding it from the current 25gb to 30gb).
When Karmic came out I made the decision to leave OSX and become fulltime linux. The one thing I took for granted is OSX's ability to resize a partition to create space for another partition. I am wondering if this is possible? The reason is I want to put all my storage data (i.e. papers, pictures, music, etc) into a partition separate from the OS. I seek to do this so that I can test out Lucid and subsequent alpha's/beta's.
View 5 Replies View Relatedwhile using it or in any way that does not include restarting the PC?I don't really have high hopes for this or anything, it's just that if there is a way I think it would be interesting enough for me to want to know
View 8 Replies View RelatedI installed kubuntu onto my secondary drive witch was half full at the time of the installation. I used all the available space for the install. Now i have kubuntu installed and want to increase the linux partition. But GParted and Partition Ediditor show the resize button as inactive.
View 1 Replies View RelatedI've been trying to resize my root partition with gparted. I resize a ntfs partition to get more freespace available and I got 30GB of freespace and when I try to resize my root partition (unmounted) I can't do it, it's like I don't have any freespace.
View 6 Replies View RelatedI just installed ubuntu on my laptop and I was recommended to create separate partitions for root, home and swap. I was told that 15GB would be enough for a root partition but I am actually running out of that space very quickly after installing a few programs.
I wanted to resize it so I loaded up my live cd with Gparted and It won't let me resize it by more than 1MB. I also have at least 30GB of unallocated space on my hard drive so I don't know why I can't use it.
Here's some screenshots of GParted:
I need to resize an ext4 filesystem partition, How can I do it being sure it wont get f#@ked up?
Is it safe to do it using a gparted live cd?
I am currently using Ubuntu Studio 9.10 in dual boot with xp and wondering if it's safe to shrink ubuntu partition and expand swap partition without messing up boot sequence and grub.
View 3 Replies View RelatedI installed linux on my system and made a dual boot system with Windows 7. But, I realize that my Windows system demands more hardisk space at this time (I planned to have just linux installation in my laptop after graduation, because some of my academic task still needs Windows platform). So I want to squeeze up my linux partition to be smaller. Currently my partition table is
How do I resize my linux root partition? I don't want to try erasing my linux partition, cos I will start everything over and I just don't have that enough time. And I know it will erase the boot loader, then I have to recover the MBR that is still looking so risky for me.
I am very new on Linux and also in Ubuntu. I have started to use Ubuntu 1 week ago. When I first install Ubuntu, I make the partition (Ext4) of 10 GB. I also make NTFS partition around it. Now actually I want to increase my partition size to 30 GB. I attack my disk status with a picture. I can delete the NTFS partition in the right side of Ext4 partition. Is the any software available to resize the partition?
View 4 Replies View RelatedI have tried to with the live cd. Here are a few screenshots.
http://i276.photobucket.com/albums/k...reenshot-2.png
http://i276.photobucket.com/albums/k...reenshot-1.png