我做了一件愚蠢的事情......我忘记了 Ubuntu 10.04(Lucid Lynx)切换到GRUB 2,它在/boot/grub. 我以为它们是放错地方的配乐文件,于是我移动了它们。不用说,下一次重启是创伤性的。我看到了一些我从来没有见过的东西......一个'grub rescue>'提示。
在修复 GRUB 错误的帮助下:“错误:未知文件系统”然而,我能够恢复......
所以首先我必须找到/boot包含vmlinuz文件和其他启动映像文件的目录的分区...... (从失败尝试的记忆中近似,以及为清晰起见,由 docsalvage 于 2014-07-10 添加)
grub rescue> ls
(hd0,4) (hd0,3) (hd0,2) (hd0,1)
grub rescue> ls (hd0,4)/boot
... some kind of 'not found' message
grub rescue> ls (hd0,3)/boot
... some kind of 'not found' message
grub rescue> ls (hd0,2)/boot
... grub ... initrd.img-2.6.32-33-generic ... vmlinuz-2.6.32-33-generic
Run Code Online (Sandbox Code Playgroud)我在 partition 上找到了一个/boot包含该vmlinuz文件的目录。 …