虚拟机装了linux系统,如何启用GRUB进行修复选项

在VirtualBox启动Ubuntu时,就直接按如下进入系统了。

没有grub菜单出来让我选择recovery,那么我要登录osboxes的应该如何登录呢?密码无论输什么总是如下图

那我如何执行1. Start virtual machine and suddenly you will see the GRUB (Tip: if you don’t see GRUB then press SHIFT key when virtual machine starts, if you miss then you need to try again).2. Select recovery entry from GRUB.3. Now you will see recovery menu, select root (Drop to root shell prompt) option.4. Type this command mount -rw -o remount / and press enter.5. Now type passwd osboxes and press enter.6. Enter new password twice and enter exit to reboot.
该Ubuntu是人家直接设计的镜像

在虚拟机中打开Linux系统后,直接按ESC键,即可进入grub界面,如下图所示:

进入上面的界面后,按e键即可编辑grub的配置文件,如下图所示:

说明:更详细的操作grub配置文件的方法,注意查看如上图中显示的下方的白色提示信息。

温馨提示:答案为网友推荐,仅供参考
第1个回答  2015-04-16
这一句:1. Start virtual machine and suddenly you will see the GRUB
(Tip: if you don’t see GRUB then press SHIFT key when virtual machine starts, if you miss then you need to try again).
意思就是在启动虚拟机时,马上按下SHIFT键就会出现grub菜单,如果错过了没有出现就要重启再试。追问

我知道,我试了几遍都没有出现。

本回答被网友采纳