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

Re: Swap space newbie question



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

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.
-- 
+----------------------------------------------------+
| Eric G. Miller                        egm2@jps.net |
| GnuPG public key: http://www.jps.net/egm2/gpg.asc  |
+----------------------------------------------------+


Reply to: