Re: How to reclaim space on hard drive not partitioned fully initially?
On Thursday 23 February 2006 10:19, Laurent CARON wrote:
> Mitchell Laks a יcrit :
> > Long ago, in a galaxy far away, I partitioned my 120GB hard drive.
> >
> > I think that I did not allocate all the space to used partitions.
> >
> > i mounted /boot at /dev/hda1
> > / at /dev/hda2
>
> what is the output of fdisk -l
>
> ?
Dear Laurent,
I mentioned in my posting the output of
> fdisk /dev/hda
p
Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 12 96358+ 83 Linux
/dev/hda2 13 2444 19535040 83 Linux
/dev/hda3 2445 4876 19535040 83 Linux
/dev/hda4 4877 5119 1951897+ 5 Extended
/dev/hda5 4877 5119 1951866 82 Linux swap
which is the same as the output of
fdisk -l
Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 12 96358+ 83 Linux
/dev/hda2 13 2444 19535040 83 Linux
/dev/hda3 2445 4876 19535040 83 Linux
/dev/hda4 4877 5119 1951897+ 5 Extended
/dev/hda5 4877 5119 1951866 82 Linux swap / Solaris
I suspect that my problem is that I have gotten used to fdisk.
fdisk seems to be a defective tool, and parted is better.
fdisk seems not to be able to see all the extra space, while parted and
qtparted and gparted see the space. This is odd to me though.
I suspect I need to remove the swap partition to the end of the drive and
expand the /home partition using to the remainder of the space using parted.
Mitchell
Reply to: