wingnux
November 9th, 2010, 12:29 AM
I bought an 1tb hard disk today and cloned my old 160gb ubuntu install to the new disk using gddrescue (from this tutorial http://www.linux.com/learn/tutorials/8225-clone-your-ubuntu-installation-onto-a-new-hard-disk) and everything worked fine. The problem is that I can't resize my home partition to fill the rest of the disk. I've tried using a live-cd and booting from my 160gb hard disk but I still can't resize the partition.
Here's the "sudo fdisk -l" output:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009fac0
Device Boot Start End Blocks Id System
/dev/sda1 1 1829 14690304 83 Linux
/dev/sda2 1830 19457 141596879+ 5 Extended
/dev/sda5 1830 1891 497983+ 82 Linux swap / Solaris
/dev/sda6 1892 19457 141098863+ 83 Linux
Disk /dev/sdb: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x822585ed
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 7297 58613121 7 HPFS/NTFS
Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009fac0
Device Boot Start End Blocks Id System
/dev/sdd1 1 1829 14690304 83 Linux
/dev/sdd2 1830 19457 141596879+ 5 Extended
/dev/sdd5 1830 1891 497983+ 82 Linux swap / Solaris
/dev/sdd6 1892 19457 141098863+ 83 Linux
Disk /dev/sdc: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe9bfe9bf
Device Boot Start End Blocks Id System
/dev/sdc1 * 3883 4865 7895947+ 7 HPFS/NTFS
/dev/sdc2 1 3882 31180800 83 Linux
Partition table entries are not in disk order
Any help?
Thanks in advance!
Here's the "sudo fdisk -l" output:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009fac0
Device Boot Start End Blocks Id System
/dev/sda1 1 1829 14690304 83 Linux
/dev/sda2 1830 19457 141596879+ 5 Extended
/dev/sda5 1830 1891 497983+ 82 Linux swap / Solaris
/dev/sda6 1892 19457 141098863+ 83 Linux
Disk /dev/sdb: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x822585ed
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 7297 58613121 7 HPFS/NTFS
Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009fac0
Device Boot Start End Blocks Id System
/dev/sdd1 1 1829 14690304 83 Linux
/dev/sdd2 1830 19457 141596879+ 5 Extended
/dev/sdd5 1830 1891 497983+ 82 Linux swap / Solaris
/dev/sdd6 1892 19457 141098863+ 83 Linux
Disk /dev/sdc: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe9bfe9bf
Device Boot Start End Blocks Id System
/dev/sdc1 * 3883 4865 7895947+ 7 HPFS/NTFS
/dev/sdc2 1 3882 31180800 83 Linux
Partition table entries are not in disk order
Any help?
Thanks in advance!