free space advice.

Rodolfo J. Paiz rpaiz at simpaticus.com
Tue Oct 19 18:02:41 UTC 2004


On Tue, 2004-10-19 at 18:01 +0100, Colin J Thomson wrote:
> AH, as usual I never gave enough info, here is the output of df
> 
> [root at localhost root]# df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sda2              37G   19G   17G  53% /
> /dev/sda1              99M   11M   84M  11% /boot
> none                  253M     0  253M   0% /dev/shm
> 
> Fdisk shows this:
> 
> Disk /dev/sda: 81.9 GB, 81964302336 bytes
> 255 heads, 63 sectors/track, 9964 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
> Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *           1          13      104391   83  Linux
> /dev/sda2              14        4868    38997787+  83  Linux
> /dev/sda3            4869        4998     1044225   82  Linux swap
> /dev/sda4            4999        9964    39889395   83  Linux
> 

Since you've already gotten some different (and good) advice on other
replies, I'll just continue with the thought of expanding. If you wanted
to take the path of least resistance, you would:

  1. Boot with a rescue CD.
  2. Run parted.
  3. Print (display) the current partition info. Useful to use exact
numbers instead of approximating.
  4. Delete /dev/sda4.
  5. Move /dev/sda3 to the end of the disk.
  6. Resize /dev/sda2 to take up all available space.
  7. Reboot normally.

Cheers,

-- 
Rodolfo J. Paiz <rpaiz at simpaticus.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20041019/f6a5c27f/attachment-0001.sig>


More information about the fedora-list mailing list