1

Topic: Unable to resize

Hello everybody,

I installed gparted live on a USB this morning.
It works.
I'm using windows XP.
I have a HDD of 250 Gb.
Unfortunately, I only set my C:\ logical disk to 30Gb which is now too low, that's why I wanted to use Gparted to extend it.
My other logical disk (P:\) is 220 Gb
I'm not very familiar with linux ( I now, I should)

When I launch Gparted, I see the 2 logical disks (/devA and /devB or something like that)
I can reduce and move partition from P:\ ( /devB), but I cannot merge it with C:\ (/devA)
Gparted doesn' allow  me to do it.
I'm only using 25Gb of C:\ and Gparted only allow me to downsize C:\ from 30Gb to 25Gb... Which obviously is not what I want to do.

Is there something I should do and I miss ?
Can anyone hep me ?

Thank you.

2

Re: Unable to resize

You can't merge partitions with Gparted.
Hard drives look like /dev/sda or /dev/sdb.  a,b,c etc are the various drives connected on the computer.
Partitions look like /dev/sda1, /dev/sda2 etc.  Primary partitions are numbered 1,2,3,4. Logical partitions are numbered 5,6 etc.

To grow a partition, you need some unallocated space just after or before the partition in question. To provide this space, you can modify other partitions on the hard drive.
If your second partition is a logical one, then you have to modify the containing extended partition too.
Don't forget to use the same alignment option as the original partitions, to avoid any boot problem.

Please, try to make and post a screenshot of the GParted screen, as well as the output of the command
sudo fdisk -lu
in the terminal window.
( l is the lowercase L, not the number 1).

You can find details on making and copying screenshots in the GParted Live manual.

*** It is highly recommended to backup any important files before doing resize/move operations. ***

3

Re: Unable to resize

Hi Class413


ANd thx for your fast answer.

Here is the sudo fdisk -lu :

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe10f058e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63    14651279     7325608+  12  Compaq diagnostics
/dev/sda2   *    14651280    73256399    29302560    7  HPFS/NTFS/exFAT
/dev/sda3        73256400   488392064   207567832+   f  W95 Ext'd (LBA)
/dev/sda5        73256463   488392064   207567801    7  HPFS/NTFS/exFAT

Disk /dev/sdb: 8086 MB, 8086618112 bytes
255 heads, 63 sectors/track, 983 cylinders, total 15794176 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x04dd5721

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          63    15794175     7897056+   b  W95 FAT32


And here is the pic :
http://www.picpaste.com/IMG_8724-KP700H9C.JPG


Do you understand ?
Can you help ?

4

Re: Unable to resize

It seems that the /dev/sdb drive is your usb stick that holds the GParted partition.
So, the hard drive to work on is /dev/sda.
The partitions are aligned to the cylinder borders, as usually in windows xp systems.

What you can do is to is to shrik /dev/sda5 from the left side to the right (it is almost empty), then shrink /dev/sda3 to take the empty space. All these operations have to be with the align to cylinder option selected.
After that, you can expand the /dev/sda2 partition (with the align to cylinder option, or align to nothing).

I see that /dev/sda5 is almost empty. You could perhaps transfer there data from /dev/sda2, to make more free space in /dev/sda2.
Another possibility, in case you want to keep just /dev/sda2, would be to backup the /dev/sda5 content, delete it, delete /dev/sda3 too and expand /dev/sda2 to take the entire free drive space.

Although it is possible to schedule all tasks, it is safer to go step by step, reboot twice into the xp system and check if everything goes as expected.
After resizing the system partition you have to allow the system to reboot and run the auto-check, boot and login, and then reboot.
Don't select the MiB align option in the resize forms (changing the boot partition start causes boot problems).


In any case, we highly recommend to keep backup of any important file on the drive, because every partition editing operation is potentially dangerous for the data integrity (due to many different reasons, from software bugs to hardware failure or power problems). The best is to keep regular backup copies, because a hard drive can fail without any previous sign.

*** It is highly recommended to backup any important files before doing resize/move operations. ***

5

Re: Unable to resize

I 'll try do to that.
Thx
I'll keep you posted.