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

Re: Swap space newbie question

On Sun, 6 Feb 2000, Eric G . Miller wrote:

> On Sun, Feb 06, 2000 at 02:55:33PM -0800, photius@excite.com wrote:
> > Hello all.
> > I've just done a fresh install of slink and forgot to initialize the swap
> > partition I made (hda2)
> > Is there a way to initialize it? Or do I have to reinstall? hda is divided
> > into / (hda1) and swap.
> Add this to /etc/fstab after your entry for "/".
> /dev/hda2       none          swap   sw                	0      0

I do believe he will also have to do a "mkswap /dev/hda2" before the
swapon command.
> Then run "swapon -a" as root.  The next time you reboot, it'll be
> mounted automatically. For more info, read the man pages on mount,
> /etc/fstab, mkswap and swapon.

Reply to: