Swap - was Re: Dedicated Grub2 partition
tomh0665 at gmail.com
Wed Jun 2 14:02:51 UTC 2010
On Wed, Jun 2, 2010 at 9:55 AM, Goh Lip <g.lip at gmx.com> wrote:
> On 06/02/2010 08:59 PM, ABSDoug wrote:
>> --- On Wed, 6/2/10, Goh Lip<g.lip at gmx.com> wrote:
>>> However, for most practical purposes, it is not necessary,
>>> for a system with just one linux OS and 1 windows.
>> Took your advice. I'll just update Grub2 when I move past 9.10 which does seem easier. One problem, I'm getting some warning about my swap file unable to mount& something about fstat? I'm gunna look into it but if anyone can offer advice, thanks.
> when installing, there should be a swap activated and should be in your
> fstab. But, never mind, at terminal, type
> sudo swapoff -a
> sudo swapon -a
> First command closes (deactivates?) all swap and second activates it back.
> You may want to check your fstab at /etc/fstab before and after the
> operations to see if there are any changes.
"swapon -a" will fail if the uuid of swap in fstab is incorrect so
it's better to check the swap uuid first.
(I think that the correct terminology for swapoff is "disables" but
deactivates works for me!) :)
More information about the ubuntu-users