[问题]ubuntu7.04不能正常关机了[已解决]

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
linxuan
帖子: 83
注册时间: 2006-11-20 12:39

[问题]ubuntu7.04不能正常关机了[已解决]

#1

帖子 linxuan » 2007-07-16 11:22

我的电脑装的是xp和ubuntu双系统,xp有2个分区,都是fat32的,ubuntu是在xp的C,D分区后留了14G的空间,然后用“使用最大连续空间”安装的。
昨天在xp下磁盘整理了C盘,之后ubuntu关机就不行了...
老是停在下面的画面:
unmounting tempprary filesystems [ok]
deactivating swap [ok]
unmounting local filesystems [ok]
will now halt
然后就没反应了,都要按电源才能关机。
请问是什么原因?怎么解决啊?
上次由 linxuan 在 2007-07-16 14:13,总共编辑 1 次。
头像
linxuan
帖子: 83
注册时间: 2006-11-20 12:39

#2

帖子 linxuan » 2007-07-16 12:33

我的menu.lst 的内容:

title Ubuntu, kernel 2.6.20-16-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=9d5fb2f0-0e8f-4c69-9102-5338bec9f355 ro quiet splash
initrd /boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=9d5fb2f0-0e8f-4c69-9102-5338bec9f355 ro single
initrd /boot/initrd.img-2.6.20-16-generic

我记得以前是没有“root=UUID=9d5fb2f0-0e8f-4c69-9102-5338bec9f355”这句的啊。。。

title Ubuntu, kernel 2.6.20-15-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=9d5fb2f0-0e8f-4c69-9102-5338bec9f355 ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=9d5fb2f0-0e8f-4c69-9102-5338bec9f355 ro single
initrd /boot/initrd.img-2.6.20-15-generic

title Ubuntu, memtest86+
root (hd0,2)
kernel /boot/memtest86+.bin
quiet

title Other operating systems:
root

title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
头像
linxuan
帖子: 83
注册时间: 2006-11-20 12:39

#3

帖子 linxuan » 2007-07-16 14:18

哈哈,问题解决了。
在http://ubuntuforums.org搜索了半天,终于找到了解决办法:
在终端里

代码: 全选

sudo gedit /etc/modules
新加一行:

代码: 全选

apm power_off=1
具体方法见:
http://www.understated.co.uk/blog/2004/ ... in-ubuntu/
htysm
帖子: 15
注册时间: 2006-10-22 11:36

Re: [问题]ubuntu7.04不能正常关机了[已解决]

#4

帖子 htysm » 2008-10-22 8:54

我的就是加了“apm power_off=1"还是不管用。显示器已经关掉了,硬 盘也听到断电的声音了,可就是主机电源灯还亮着,风扇呼呼响。linux的毛病真不少。
回复