[CLUE-Tech] swap partition

Ed Hill ed at eh3.com
Sat May 3 21:28:19 MDT 2003


On Sat, 2003-05-03 at 21:16, Angelo Bertolli wrote:
> I have my swap partition as a primary partition, but I have been doing 
> some repartitioning and I would now like to put it into an extended 
> partition.  How do I create a new swap partition on my existing 
> installation?


Hi Angelo,

See "man mkswap" and "man swapon" for full details.  For the short
version, just set aside a partition such as /dev/hda5 and:

  mkswap /dev/hda5

and then add an entry it to your /etc/fstab file:

  /dev/hda5    swap        swap    defaults        0 0

and you're done.

hth,
Ed

-- 
Edward H. Hill III, PhD 
Post-Doctoral Researcher
Division of ESE, Colorado School of Mines, Golden, CO 80401
Email: ed at eh3.com  ehill at mines.edu
Phone: 303-273-3483
URLs:  http://cesep.mines.edu/people/hill.htm  http://eh3.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://cluedenver.org/pipermail/clue-tech/attachments/20030503/b130aa09/attachment.bin


More information about the clue-tech mailing list