free space advice.
Colin J Thomson
colin at g6avk.demon.co.uk
Tue Oct 19 17:01:29 UTC 2004
On Tuesday 19 Oct 2004 17:44, Rodolfo J. Paiz wrote:
> On Tue, 2004-10-19 at 17:38 +0100, Colin J Thomson wrote:
> > After Imaging over my working FC2 (40gig HD) to my new drive (80gig
> > SATA) it has left me with approx 40gig Free unused space..
> >
> > What would you guys do? I am just after some ideas on the best way to
> > go about this.
>
> Since it sounds like you are running one big 40GB partition, perhaps the
> simplest route is to boot from a rescue CD, then use parted to resize
> the partition all the way to 80GB.
>
> I've done this dozens of times and it has worked flawlessly. Of course,
> you should still have a backup of your data just in case!
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
NOTE I created sda4 (the free space) just to get used to using some of the
Disk Utils,
This is an excact copy (less sda4) of what was on the 40gig drive, So are
you saying I could use parted to resize sda2 if I deleted sda4?
Cheers,
Colin
--
Fedora Core 2, Custom Built Kernel 2.6.8.1
KDE-Redhat-3.3.1-0.2.2.kde
Registered Linux user number #342953
More information about the users
mailing list