PDA

View Full Version : [ubuntu] Expanding ext3 partition problem in gparted



GreenNet_user
April 26th, 2008, 03:30 AM
Hi there,

I have a 40 GB hard drive with a dual boot windows XP and Ubuntu hardy heron installed.

Everything works fine.

The first section of the drive is a 15GB NTFS parition for windows. the middle section is/was a 15GB NTFS partition with only files stored on it. then comes a 1GB linux-swap and the last 9GB's or so has linux.

I want to make the shift to linux more permanent and only boot into windows for specialised programs (adobe, illustrator, dreamweaver, etc.), so I'd like to use the 15GB NTFS partition in the middle and add it onto the last section which is the ext3 partition for linux.

When I use gparted it won't let me 'move/resize' the last patition (ext3), the only one I can modify is the middle NTFS partition, which I've now formated to ext3 to match the last partition.

Any suggestions as to how I can get around that? Or if I can just transfer the last partition with ubuntu installed onto the middle partition?? or merge them somehow?

Hope someone can make sense of all this...

thanks.

Pumalite
April 26th, 2008, 03:34 AM
Post a screen shot of Gparted.

GreenNet_user
April 26th, 2008, 03:47 AM
http://moogerfooger.gn.apc.org/screenshot_of_gparted.png

there you go. hope that helps.

Pumalite
April 26th, 2008, 03:58 AM
Delete sda5 and swap. You'll have a large unallocated space. Then resize sda7 to the left. You can always put /swap at the end later, if you want. sda7 has to be unmounted at the time of the operation and prior to all this backup everything.