PDA

View Full Version : [SOLVED] How can I GROW a linux partition?



Dara Javaherian
July 1st, 2010, 08:35 PM
My hard drive looks like this:

http://i218.photobucket.com/albums/cc189/DaraJava/Screenshot--dev-sda-GParted.png

However, I want to shrink the Windows partition and grow the Linux one.

When I shrink the Windows partition, like this:

http://i218.photobucket.com/albums/cc189/DaraJava/Screenshot--dev-sda-GParted-1.png

I can only shrink my Ubuntu partition. What's up with this?! It doesn't seem to see the unallocated space on my hard drive. Is there any way to grow my Linux partition?

Thanks.

N.B. I tried using the GParted Live CD (/dev/sda2/5/6 wasn't mounted) with no avail.

ronparent
July 1st, 2010, 09:30 PM
You have to 1st expand the extended partition into the unallocated space produced by shrinking the win partition. You then will have to boot into a live cd - you can't do anything with a mounted partition. From the live cd just expand sda5 to fill the unallocated space in the extended partition. It will take some time for the operation to complete because all of the data on sda5 will have to be moved. Good luck.

Dara Javaherian
July 2nd, 2010, 01:25 AM
You have to 1st expand the extended partition into the unallocated space produced by shrinking the win partition. You then will have to boot into a live cd - you can't do anything with a mounted partition. From the live cd just expand sda5 to fill the unallocated space in the extended partition. It will take some time for the operation to complete because all of the data on sda5 will have to be moved. Good luck.


Great! I was trying to grow my Linux partition only. I first had to grow the extended partition and then I had to grow the Linux partition.