[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: free space advice.



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 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 simpaticus com>

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]