Re: Resizing a hard drive

Robert Parker <[email protected]>
Newsgroups gmane.org.user-groups.mlug.main
Message-ID <[email protected]>
On 8/29/05, Sam Varghese <[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I'm looking to resize my hard drive - I have 3 gig of vacant space lying
> at the end of the drive and need to use it.
> 
> I've looked at parted and while the theory seems fine, in practice
> things don't seem to pan out.
> 
> My disk has a small boot partition, a root partition and swap space. As
> per the theory, I have to remove the swap, recreate it at the end of the
> drive, and then expand the root partition to take up the remaining free
> space.
> 
> The problem is finding boot disks for parted. There are two, a boot disk
> and a root disk. The boot disk is fine but the root disk appears to have
> a file which is more than 3 meg. I'm puzzled as to how one can dd this
> on to a floppy - but then my understanding of this is limited.
> 
> I did try a Knoppix CD but when I run parted from the CD, I get a warning
> that my swap partition is in use. Funny thing is a df doesn't show this.
> I'm cautious because a wrong step would end up screwing up five years of
> running without a reinstall.
> 
> Any help would be gratefully accepted.
> 
> Sam
> - --
Sam,

It is possible to make a swap file within your root partition, man
mkswap I think.
Also man swapon. You can do this after you boot into Knoppix. Once you
have the swap file on you should be able turn the swap partition off
and from there on use parted or Qtparted to grow your root partition.

Bob





> Sam Varghese
> http://www.gnubies.com
> Where does your symbolic link point today?
> My PGP key: http://www.gnubies.com/encryption/sign.txt
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> 
> iD8DBQFDEiqcZyXhknb+33gRAubiAJ45qUyHQke/rydsYR+lDJtwGD5TswCfYOCx
> saECzEgkXbvE0NxFrkwabtY=
> =nTFn
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Melbourne Linux Users Group (Australia)
> Edit your settings: http://lists.mlug.org.au
> Are you an Open Source Developer? Look at:
> Oracle SPACE Sweepstakes - http://www.mlug.org.au/oracle.php
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.