强烈要求解决ubuntu7.04的休眠问题!!!!,唉,人都干吗去了?
- arbor
- 帖子: 314
- 注册时间: 2006-04-18 20:49
- 来自: 苏州
- 联系:
-
- 帖子: 900
- 注册时间: 2006-11-23 13:04
-
- 帖子: 1
- 注册时间: 2007-09-08 22:27
我的Thinkpad X40原来也不能休眠,用这个方法解决了
1. determine your swap with $ sudo fdisk -l. In my case it was /dev/sda2
2. do mkswap on your swap partition and record the uuid which this command outputs, e.g. $ sudo mkswap /dev/sda2
3. 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
4. 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>"
5. do $ update-initramfs -u
6. 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>"
7. reboot normally. After this test with $ sudo free or with $ swapon -s if your swap is now activated
8. Now you can test hibernate, too.
网址:http://www.thinkwiki.org/wiki/Installin ... on_problem
2. do mkswap on your swap partition and record the uuid which this command outputs, e.g. $ sudo mkswap /dev/sda2
3. 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
4. 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>"
5. do $ update-initramfs -u
6. 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>"
7. reboot normally. After this test with $ sudo free or with $ swapon -s if your swap is now activated
8. Now you can test hibernate, too.
网址:http://www.thinkwiki.org/wiki/Installin ... on_problem
- marsteel
- 帖子: 555
- 注册时间: 2005-11-28 12:09
- 联系:
-
- 帖子: 310
- 注册时间: 2007-03-07 14:56
- 来自: 山东菏泽成武
- 联系:
-
- 帖子: 21
- 注册时间: 2007-03-15 15:12
-
- 帖子: 89
- 注册时间: 2007-12-04 23:24
http://blog.sina.com.cn/s/blog_4ffe840101008fo5.html
朋友,相信我,相信我的探索能力,鄙人文科出身,最擅长于查资料,搜索和copy(不过我有注明作者和出处的好习惯),号称文抄公下凡,在ubuntu论坛里,我找不到解决方法的问题,那就是真的找不到了。
对于我的笔记本在ubuntu 6,7,8下的休眠、挂起及其不能恢复、恢复死机的问题,我翻遍了所有论坛,用遍了所有方法最后都归于失败了。
有人说,装laptop-mode,经我测试,与此无关,早已装上怎么设置也无用;有人说是acpi,禁用,也无用;有人说,关掉apm,我根本就没有运行,无关。还有人说,休眠之前禁用某个模块,也无关。论坛里,网上的所有的方法我都试过,都无效。直到那一天.........
我痛苦的问自己--难道就这么失败了么?难道就没有办法了么?真的像某些假装高手的人说“告诉你ubuntu不要用休眠到内存........”
终于,算我运气好,论坛里的一个兄弟ciel-bleu,在我发牢骚后,给我了一个宝贵的提示:装上pm-utils这个包,问题就解决了。
我装上了,果然,问题解决了。我当时没有立刻下结论,因为此前也有N 种解决方法,都是貌似好用,但是仍然会有问题--笔记本休眠不能恢复的问题,并不是每次都出现,其出现的频率并没有规律,有的xd说是休眠时间长了就恢复不了,我发现也不尽然,反正是没有规律的不好用,所以,感装好了pm-utils,也不能马上下结论。
但是经过我长达N天的使用和反复测试,我可以负责任的说:笔记本休眠到内存后不能恢复的问题,被这个小小的pm-utils包,解决了。
有相同问题的兄弟们,装上试试吧。
默认的源里就有,sudo apt-get install pm-utils
注:适用环境--笔记本(台式机没有测试过)可以休眠到内存,但是休眠后无规律性、时好时坏的不能恢复;
如果你的本本干脆就无法休眠到内存,适不适用此程序,未测试。
朋友,相信我,相信我的探索能力,鄙人文科出身,最擅长于查资料,搜索和copy(不过我有注明作者和出处的好习惯),号称文抄公下凡,在ubuntu论坛里,我找不到解决方法的问题,那就是真的找不到了。
对于我的笔记本在ubuntu 6,7,8下的休眠、挂起及其不能恢复、恢复死机的问题,我翻遍了所有论坛,用遍了所有方法最后都归于失败了。
有人说,装laptop-mode,经我测试,与此无关,早已装上怎么设置也无用;有人说是acpi,禁用,也无用;有人说,关掉apm,我根本就没有运行,无关。还有人说,休眠之前禁用某个模块,也无关。论坛里,网上的所有的方法我都试过,都无效。直到那一天.........
我痛苦的问自己--难道就这么失败了么?难道就没有办法了么?真的像某些假装高手的人说“告诉你ubuntu不要用休眠到内存........”
终于,算我运气好,论坛里的一个兄弟ciel-bleu,在我发牢骚后,给我了一个宝贵的提示:装上pm-utils这个包,问题就解决了。
我装上了,果然,问题解决了。我当时没有立刻下结论,因为此前也有N 种解决方法,都是貌似好用,但是仍然会有问题--笔记本休眠不能恢复的问题,并不是每次都出现,其出现的频率并没有规律,有的xd说是休眠时间长了就恢复不了,我发现也不尽然,反正是没有规律的不好用,所以,感装好了pm-utils,也不能马上下结论。
但是经过我长达N天的使用和反复测试,我可以负责任的说:笔记本休眠到内存后不能恢复的问题,被这个小小的pm-utils包,解决了。
有相同问题的兄弟们,装上试试吧。
默认的源里就有,sudo apt-get install pm-utils
注:适用环境--笔记本(台式机没有测试过)可以休眠到内存,但是休眠后无规律性、时好时坏的不能恢复;
如果你的本本干脆就无法休眠到内存,适不适用此程序,未测试。
我等菜鸟,用好搜索,方便自己,功德无量
- wjs272
- 帖子: 775
- 注册时间: 2007-04-17 13:32
- 来自: 上海理工大学
- 联系: