Swap and Hibernation problem
Ubunutu uses unique IDs (UUIDs) to identify partitions. The advantage of this is you do not have to differentiate between sda and hda devices. So if upgrading to modern libata drivers will work without having to rewrite hda devices to sda ones.
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=<the-swap-partition-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=<the-swap-partition-uuid>" - 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.
参考文献:
台湾人Paar 20041216from computerworld.com.au 20070109
Driver "fglrx", 3D acceleration and Ati Radeon 7500
[feisty] fglrx does not support older cards
compiz-and-ubuntu-feisty-fawn-ati-x1400
how-to-setup-fglrx-for-ubuntu-feisty(ATI Mobility X300)
ATI fglrx driver users: NEW XORG KILLS ATI DRIVERS!
[教学]ATI+feisty+aiglx+beryl 详细安装过程
Installing Beryl On An Ubuntu Feisty Fawn Desktop With An ATI Radeon Graphic Card
How_to_configure_the_TrackPoint
Installing Ubuntu 7.04 on a ThinkPad T43
fglrx--Ubuntu Drapper Installation Guide
Some Guy using T42 2373K38(Radeon Mobility 7500) on Feisty Fawn