Swap - was Re: Dedicated Grub2 partition
Goh Lip
g.lip at gmx.com
Thu Jun 3 02:03:12 UTC 2010
On 06/03/2010 08:58 AM, ABSDoug wrote:
> --- On Wed, 6/2/10, Goh Lip<g.lip at gmx.com> wrote:
>
>> Yes, it's not right.
>> Try to do again..
>> When changing uuid at fstab, remember to do this at
>> terminal,
>> gksudo gedit /etc/fstab
>> save, exit, will take effect after reboot or you can type
>> at terminal,
>> sudo swapoff -a
>> sudo swapon -a
>> then check at terminal "free"
>
> What the hell am I doing wrong? Yikes!
>
> absdoug at AcerAspireOne:~$ sudo blkid
> [sudo] password for absdoug:
> /dev/sda1: LABEL="PQSERVICE" UUID="0159-6699" TYPE="vfat"
> /dev/sda2: UUID="C2F42501F424F975" LABEL="Windows XP Home" TYPE="ntfs"
> /dev/sda3: UUID="4498E23C98E22C5C" LABEL="Storage" TYPE="ntfs"
> /dev/sda5: LABEL="Ubuntu 9.10" UUID="d1c1bae7-f162-4b34-be62-be3202cb2692" TYPE="ext3"
> /dev/sda6: LABEL="Ubuntu 10.04" UUID="a0227cea-6352-4132-953e-21c4db5c7901" SEC_TYPE="ext2" TYPE="ext3"
> /dev/sda7: LABEL="Swap" UUID="d6c38229-0d5f-4117-a439-87b0c5df1d82" TYPE="swap"
>
> # /etc/fstab: static file system information.
> #
> # -- This file has been automaticly generated by ntfs-config --
> #
> #<file system> <mount point> <type> <options> <dump> <pass>
>
> proc /proc proc defaults 0 0
> # Entry for /dev/sda7 :
> UUID="d6c38229-0d5f-4117-a439-87b0c5df1d82" TYPE="swap"
> /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
> /dev/scd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
> /dev/sda2 /media/ACER ntfs-3g defaults,locale=en_US.UTF-8 0 0
> /dev/sda3 /media/Storage ntfs-3g defaults,locale=en_US.UTF-8 0 0
>
>
At terminal..
gksudo gedit /etc/fstab
change
UUID="d6c38229-0d5f-4117-a439-87b0c5df1d82" TYPE="swap"
to
UUID=d6c38229-0d5f-4117-a439-87b0c5df1d82 none swap sw
0 0
all on one line, other lines remain unchanged. (this email wraps 1 line
to 2 lines). then save and exit.
At terminal,
sudo swapoff -a
sudo swapon -a
free
see any change?
Regards - Goh Lip
ps:
More information about the ubuntu-users
mailing list