我已经启动了我的服务器,得到了一些GRUB错误,我粘贴了下面的错误。
GNU GRUB version 0.97(502k Lower/496556K upper memory)
[Minimal BASH-like line editing is supported.
For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename]
grub>注:-
我已经尝试通过以下步骤来恢复GRUB。
linux rescue以进入救援环境。chroot /mnt/sysimage以挂载根分区。/sbin/grub-install /dev/hda来重新安装GRUB引导加载程序,其中/dev/hda是引导分区。我又犯了同样的错误。我怎样才能让系统再次启动?
发布于 2014-08-06 19:13:59
您的图片显示了一个GRUB安装,它显然工作正常。但是它没有配置菜单,所以只剩下一个命令行。
从操作系统安装合适的配置是最简单的,您将使用GRUB安装启动。这意味着您必须在第一次手动输入命令。这是相当可行的,因为GRUB有可用的完成。
通常,只需在GRUB提示符下键入三个命令:
linux /path/to/kernel/image root=/path/to/root/device ro
initrd /path/to/initrd/image
boot图像可能位于(hd0,0)/boot或(hd0,0)/中,但也可以检查(hd0,1)/。内核映像通常以vmlinuz开头,initrd以initrd开头,补全在这里是您的朋友。
发布于 2019-11-14 21:27:03
此页面有关于如何从grub>提示符进行配置的其他步骤。
https://www.linux.com/tutorials/how-rescue-non-booting-grub-2-linux/
https://serverfault.com/questions/618373
复制相似问题