当我关闭/重新启动时,会出现一个黑色(壳状)全屏,其中包含一些大文本,内容如下:
ubuntu 10.10 [129.171175] Restarting system. eco
nds ... [OK]
...
Unmounting weak filesystems ... [OK]
will now restart
Run Code Online (Sandbox Code Playgroud)
然后什么也没有发生,我必须亲自按下重置按钮。
Col*_*son 15
除了 Delan 建议的之外,通常您当然应该尝试不同的reboot=
引导参数值;我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.
*/
Run Code Online (Sandbox Code Playgroud)
对于需要 BIOS 重启方法的特定机器,内核有许多所谓的“怪癖”,但与任何硬件怪癖数据库一样,它很可能缺少一些。您的计算机可能是丢失的计算机之一。如果您发现reboot=b
始终为您修复此问题,请运行“ubuntu-bug linux”以报告内核错误,要求将此设置为您机器的默认设置。
您可以在 GRUB 命令行上进行此更改(在相关引导条目上点击“e”并转到该linux
行的末尾),或者,为了使其永久化,编辑/etc/default/grub
和更改该GRUB_CMDLINE_LINUX
行,小心放置reboot=b
(或无论如何)在引号内。
有时重新启动并不能正常工作。例如,在 Apple 计算机上使用 Ubuntu 时,您必须添加reboot=pci
启动标志才能正确重新启动,而不是像计算机那样挂在重新启动消息上。我并不是说你的电脑是苹果电脑,但启动标志可能会有所帮助。