前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >ubuntu安装进入EFI Shell「建议收藏」

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

作者头像
全栈程序员站长
发布2022-09-15 16:57:36
2.6K0
发布2022-09-15 16:57:36
举报
文章被收录于专栏:全栈程序员必看

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

背景:

用Virtual Box 安装Ubuntu 14:

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

解决方案:

输入:

代码语言:javascript
复制
fs:0
cd EFI/ubuntu
grubx64.efi

引自ServerFault:

代码语言:javascript
复制
    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.cn/161973.html原文链接:https://javaforall.cn

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 背景:
  • 解决方案:
    • 参考资料
    领券
    问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档