Disabling swap at boot.

Goh Lip g.lip at gmx.com
Fri Feb 18 04:37:03 UTC 2011


I wanted to disable swap at boot, so I added "noswap" (besides nomce) at  
the linux line of the grub entry. However noted swap is still enabled (at  
my desktop)......

pop at cruz:~$ swapon -s
Filename				Type		Size	Used	Priority
/dev/sda6                               partition	2559996	0	-1

Is there something I missed out?

note: I do not want to disable swap at fstab as this OS (ubuntu with e17)  
is on the thumb drive and when at my desktop, I wanted the swap to be  
enabled (booted by the desktop grub) and when at other computers (booted  
by the thumb grub) and obviously unable to use swap, I do not want the  
system to search for non-existent swap partition.

Thanks and regards - Goh Lip

-- 
I used to have an open mind,
but my brains kept falling out.




More information about the ubuntu-users mailing list