[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SLUG] swap file creation
On Thu, 15 Jun 2000, Ben Donohue wrote:
> i've deleted/lost the swap partition.
> there is room on the HDD for a swap partition, so how does one go about
> creating a new swap partition?
> ie what's the command to create a new swap partition.
>
> i've tried fdisk.
> created a new partition.
> changed it's id from 83 (linux ext2) to 82 (linux swap)
Create partition {which you've done}
mkswap /dev/hdaX - replacing X with your partition number.
Edit /etc/fstab and add the correct line - it should look something like
this
/dev/hdaX swap swap defaults 0 0
That format might not be exactly correct - someone could jump in here and
point it out exactly, since my Linux box is at home, and I'm not, so I
can't confirm my off the top of my head outline.
> what's the way forward?
The way forward is slow and troubled, my son, but learn well, Glasshopper,
and soon you will be enlightened.
DaZZa
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text