ubuntu安装进入EFI Shell「建议收藏」

ubuntu安装进入EFI Shell「建议收藏」背景:用VirtualBox安装Ubuntu14:第一次,无法进入LiveCD界面.第二次,勾选EFI界面后成功进入安装流程,成功安装。但是安装完成之后重启,进入了EFIShell界面,如下:解决方案:输入:fs:0cdEFI/ubuntugrubx64.efi引自ServerFault:IfyouaregettingtotheEFIshellyou

大家好,又见面了,我是你们的朋友全栈君。

背景:

用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

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/161973.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号