However feisty seems to have a problem with this naming method and swap partitions on some installations. Do $ sudo free
to check if your swap partition is used. If the line with swap it it just returns three times "0", your swap partition is not being used and you are most probably affected by bug 66637. The problem is that your system generates a new UUID for your swap partition on every reboot. Your old settings in the fstab then cannot be used anymore and your system does not use any swap. Without swap hibernate (suspend to disk) does not work either (standby/suspend to RAM still does).
Follow these instructions to fix this
- determine your swap with
$ sudo fdisk -l
. In my case it was /dev/sda2 - do mkswap on your swap partition and record the uuid which this command outputs, e.g.
$ sudo mkswap /dev/sda2
- now use this UUID to put into fstab: Look for the line with the swap partition and replace the old UUID with the new one:
$ sudo gedit /etc/fstab
- add the same UUID intu your resume file:
$ sudo gedit /etc/initramfs-tools/conf.d/resume
; the file should only look like this: "RESUME=UUID=" - do
$ update-initramfs -u
- update your grub configuration; edit it with
$ sudo gedit /boot/grub/menu.lst
and look for the line that says "# defoptions=quiet splash" and change it to "# defoptions=quiet splash resume=" - reboot normally. After this test with
$ sudo free
or with$ swapon -s
if your swap is now activated - Now you can test hibernate, too.
Thanks to various people on the bug thread.
No comments:
Post a Comment