Hi,
I have replaced my disk of 40 GB for a new one of 80 GB.
The copy was done using:
Code:
# dd if=/dev/sda of=/dev/sdb conv=notrunc,noerror
The partition table on the 40 GB disk is;
Code:
noisebleed ~ # fdisk -l
Disk /dev/sda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 9 72261 83 Linux
/dev/sda2 10 134 1004062+ 83 Linux
/dev/sda3 135 2002 15004710 83 Linux
/dev/sda4 2003 4864 22989015 5 Extended
/dev/sda5 2003 2625 5004216 83 Linux
/dev/sda6 2626 4864 17984736 83 Linux
In the 80 GB disk i have removed the sda6 partition and recreated it with less 64 cylinders. Then i created sda7 with the remaining space:
Code:
noisebleed ~ # fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 9 72261 83 Linux
/dev/sda2 10 134 1004062+ 83 Linux
/dev/sda3 135 2002 15004710 83 Linux
/dev/sda4 2003 4864 22989015 5 Extended
/dev/sda5 2003 2625 5004216 83 Linux
/dev/sda6 2626 4800 17470656 83 Linux
/dev/sda7 4801 4864 514048+ 83 Linux
My problem is:
The end cylinder of partition sda7 is wrong. It should be 9729,
With this scheme i am loosing the new 40 GB of extra space.
How do I recover this?
Thanks.
Extra info: