On Tue, 24 Apr 2007 10:16:12 -0400 "John Fleming" <[EMAIL PROTECTED]> wrote:
<snip> > I've looked at fdisk and parted, but I need help. Do I need to start > over copying my 40GB HDD to a properly-partitioned 160GB HDD, or can > someone give me detailed instructions to expand my 40GB root > partition to use the available free space on the new drive? > > Thanks - My current partitions are shown below. - John > Debian Sarge > > <snip> > Command (m for help): p > > Disk /dev/hda: 160.0 GB, 160041885696 bytes > 255 heads, 63 sectors/track, 19457 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > > Device Boot Start End Blocks Id System > /dev/hda1 * 1 4801 38564001 83 Linux > /dev/hda2 4802 4863 498015 f W95 Ext'd > (LBA) /dev/hda5 4802 4863 497983+ 82 Linux > swap / Solaris > > Command (m for help): Delete the swap and the extended partition, you should then be able to resize hda1 to, say, 158GB then create an extended partition and 2GB swap inside that. I've never tried it but it should work. Probably best to backup first though. John -- War is God's way of teaching Americans geography Ambrose Bierce (1842 - 1914) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]