ubuntu安装进入EFI Shell

在Virtual Box中安装Ubuntu 14.04时,首次尝试未能进入Live CD界面,第二次使用EFI启动成功安装但重启后进入EFI Shell。解决方案引用自ServerFault,提供了在UEFI启动的VirtualBox中安装Ubuntu Server 12.04的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

背景:

用Virtual Box 安装Ubuntu 14:

  1. 第一次,无法进入Live CD界面.
  2. 第二次,勾选EFI界面后成功进入安装流程,成功安装。但是安装完成之后重启,进入了EFI Shell界面,如下:
    进入efi界面

解决方案:

输入:

fs:0
cd EFI/ubuntu
grubx64.efi

引自ServerFault:

    If you are getting to the EFI shell you likely already installed Ubuntu in EFI mode. The caveat I have found it that thought the OS installs fine using the grub-efi bootloader, an EFI boot entry for that boot loader is not written into the EFI variables correctly. This means the EFI firmware does not know how to load the boot loader and thus the OS and drops into the shell. See if you can load the boot loader and the OS from the shell:

    fs0:
    cd EFI/ubuntu
    grubx64.efi
    If this works that is definitely your issue (and mine). Supposedly the installed efibootmgr and can set this up for you but evidently is it confused in this release as it requires efivars and wants you to load this as a kernel module but in 12.04 kernels this is monolithically compiled in (meaning always in the kernel and not as a module) so it fails with an error message telling you to "modprobe efivars".

解决方案


参考资料

[1] http://serverfault.com/questions/436923/how-to-install-ubuntu-server-12-04-in-a-virtualbox-vm-with-uefi-boot-enabled

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值