problems in activating swap

Colin J Thomson colin at g6avk.demon.co.uk
Thu Oct 21 17:57:46 UTC 2004


On Thursday 21 Oct 2004 09:17, Rajiv wrote:
> Dear All,
>     I created a swap partition in fdisk wrote the filesystem and
> restarted. I am getting errors while activating it using swapon
> <partition name>
>
> Kindly suggest what is to be done. The swap manual says swapon <partition
> name> will work. Also suggest any good sites for the same.

You need to run "mkswap" on the "swap partition" after you created it, 
example:

mkswap /dev/sda3

HTH

Colin
-- 
Fedora Core 2, Custom Built Kernel 2.6.8.1
KDE-Redhat-3.3.1-0.2.2.kde
Registered Linux user number #342953




More information about the fedora-list mailing list