Disabling swap at boot.
Tom H
tomh0665 at gmail.com
Fri Feb 18 15:32:58 UTC 2011
On Fri, Feb 18, 2011 at 4:47 AM, Goh Lip <g.lip at gmx.com> wrote:
> On Fri, 18 Feb 2011 16:22:44 +0800, Tom H <tomh0665 at gmail.com> wrote:
>>
>> You might want to remove these two swap-related lines from your fstab
>> and add some lines to "/etc/rc.local" to swapon the above if it
>> exists.
>
> /etc/rc.local does not exist. But don't worry about it, Tom. I am quite
> (absolutely) satisfied with understanding why the swap was not disabled.
> Also, if the swap exists (seldom, with the office computers I'm given) in
> other computers, I can enable it if I *really* (doubt it) need to. Again,
> I'm just fastidious ...heh heh.
>
> Thanks Tom.
You're welcome.
By "if it exists" I meant the swap partition no rc.local. You must've
deleted the latter because it should always be there!
Anyway, another option is to remove the fstab entry and run a swapon
script manually when you're on your desktop.
More information about the ubuntu-users
mailing list