VirtualBox: boots only into UEFI Interactive Shell

1.Problem

Problem with VirtualBox 5.x running on GNU/Linux Debian 9.x host:

EFI-enabled guest suddenly boots only into UEFI Interactive Shell.

输入图片说明

It waits for 5 seconds and then it drops to Shell>.

I don't remember any modifications, which I would have done, neither to the host, nor guest, or VirtualBox itself.

2.Plausible fix:

  In UEFI Interactive Shell, enter the file system:

fs0:

  Following up with creating this file:

echo '\EFI\ubuntu\grubx64.efi' > startup.nsh

  Press CTRL+S to save the file.

  Press ENTER to confirm the file name.

  Press CTRL+Q to exit the editor.

  Restart the Guest:

reset

Important notes

  For some reason you have only a few seconds to edit and save the file. If it takes you longer, then the guest may react with a significant delay. Or it may even freeze.

  Replace debian with your system's id, e.g. ubuntu. You may verify this by simply going into the \EFI\ directory and running ls.

Another way

  If you don't succeed, and supposing your guest is Linux type, I myself had to do it:

  Boot from live USB with any Linux.

  Mount the root file system.

  Create this file on the mounted file system, adjust the path to wherever you have mounted it:

/boot/efi/startup.nsh

  Enter the above explained line to it.

转载于:https://my.oschina.net/qwfys200/blog/1636116

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值