为什么我不能重启/关机?

当我关机/重新启动时,获得一个黑色(类似shell)的全屏,其中包含一些大文字,例如:

ubuntu 10.10 [129.171175] Restarting system. eco nds ... [OK] ... Unmounting weak filesystems ... [OK] will now restart 

然后没有任何反应,我必须按下物理按下重置按钮。

除了Delan建议的,一般来说你应该为reboot= boot参数尝试不同的值; 我特别建议使用reboot=b ,因为这是最需要的机器。 这是来自linux / arch / x86 / kernel / reboot.c的注释,其中包含可能的值:

 /* reboot=b[ios] | s[mp] | t[riple] | k[bd] | e[fi] [, [w]arm | [c]old] | p[ci] warm Don't set the cold reboot flag cold Set the cold reboot flag bios Reboot by jumping through the BIOS (only for X86_32) smp Reboot by executing reset on BSP or other CPU (only for X86_32) triple Force a triple fault (init) kbd Use the keyboard controller. cold reset (default) acpi Use the RESET_REG in the FADT efi Use efi reset_system runtime service pci Use the so-called "PCI reset register", CF9 force Avoid anything that could hang. */ 

对于需要BIOS重启方法的特定机器,内核有许多所谓的“怪癖”,但是像任何硬件怪癖数据库一样,它可能缺少一些。 您的计算机可能是缺少的计算机之一。 如果您发现reboot=b一直为您修复此问题,那么请运行’ubuntu-bug linux’来报告内核错误,要求将其设置为您的计算机的默认设置。

您可以在GRUB命令行上进行此更改(在相关引导条目上单击“e”并转到linux行的末尾),或者,为了使其永久化,请编辑/etc/default/grub并更改GRUB_CMDLINE_LINUX行,小心将引号标记中的reboot=b (或其他) 放入

有时重启不太正常。 例如,在Apple计算机上使用Ubuntu时,必须将boot reboot=pci添加到引导标志中才能正常重新启动,而不会像计算机那样挂起重启消息。 我不是说你的电脑是苹果电脑,但启动标志可能有所帮助。

您可以尝试使用此链接的方法,即添加:

 acpi=force reboot=acpi 

成:

 /etc/default/grub 

最终代码如下:

 GRUB_CMDLINE_LINUX_DEFAULT="quiet acpi=force reboot=acpi" 

请告诉我它是否能解决您的问题。