AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 509592
Accepted
Malinowski
Malinowski
Asked: 2014-08-11 16:53:59 +0800 CST2014-08-11 16:53:59 +0800 CST 2014-08-11 16:53:59 +0800 CST

引导修复失败(UEFI 和预装的 Windows 8)

  • 772

我买了一台新笔记本电脑,东芝 Satellite NB10t-A-101,预装了 Windows 8,在弄清楚如何在 UEFI 中安装 Ubuntu 一天后,我终于成功了(这并不容易,因为 M$ , Intel 和 Toshiba 使这种模式变得更加困难)。它安装正确。我创建了新分区(在 Windows 8 中预先腾出空间)。然而,在安装之后,Windows 引导管理器打开,同时具有 Windows 8 和 Ubuntu 选项。选择 Ubuntu 后,我遇到了与此处所述相同的 WUBI 错误:Installing Ubuntu Alongside a Pre-Installed Windows with UEFI

 Windows failed to start. A recent hardware or software change might be the 
cause. To fix the problem:

  1. Insert your Windows Installation disc and restart your computer. 
  2. Choose your language settings, and then click "Next."
  3. Click "Repair your computer."

If you do not have this disc, contact your system administrator or computer 
manufacturer for assistance.

    File: \ubuntu\winboot\wubildr.mbr
    Status: 0xc000007b
    Info: The application or operating system couldn't be loaded because a 
          required file is missing or contains error.

这已经很奇怪了,因为我认为安装是在 EFI 模式下(注意——安全启动选项从一开始就被禁用,所以这不应该是原因)。然而,在进入“修复”选项后,会出现 Windows 菜单(与允许进入 UEFI 配置的菜单相同),并且在“从设备启动”选项中会出现一个额外的数字 - “ubuntu”,它直接启动到之前安装的Ubuntu(14.04.1 LTS)。

在这一点上,我希望引导修复会有所帮助。我按照此处的说明进行操作:https ://help.ubuntu.com/community/UEFI (“将 Ubuntu 转换为 EFI 模式”),不幸的是它没有帮助,我收到此错误:

 An error occurred during the repair.

Please write on a paper the following URL:
http://paste.ubuntu.com/8012282/

In case you still experience boot problem, indicate this URL to:
[email protected]

You can now reboot your computer.
 Please disable SecureBoot in the BIOS.

A broken Wubi has been detected. Please fix it this way:
https://wiki.ubuntu.com/WubiGuide#Cannot_boot_into_Ubuntu

重新启动后,我遇到了相同的初始错误(缺少 WUBI 文件)并且只能如上所述进入 Ubuntu。为什么 Ubuntu 还在寻找 WUBI?如何修复引导选项,保持与 Windows 的双引导? (不幸的是,我仍然需要 Windows 来安装一个无法模拟的程序,商店销售员也告诉我,如果我延迟 Windows,我将失去保修)

我是初学者,很难做到这一点 - 请使用简单的解释 :)

编辑:引导过程的照片。出现错误消息后,我可以转到其他 Windows 菜单并“从设备启动”

在此处输入图像描述 在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

wubi
  • 2 2 个回答
  • 2798 Views

2 个回答

  • Voted
  1. Best Answer
    LiveWireBT
    2014-08-13T00:38:27+08:002014-08-13T00:38:27+08:00

    I did a quick look in the manual for the laptop and F12 (confirmed to be working) should have been the right key according to instructions for booting from external media. You should probably check the manual yourself.

    UEFI firmware update

    There is the possibility that the UEFI firmware of the laptop does something else than what is expected according to the output from efibootmgr -v.

    BootOrder: 0006,0000,2003,2001
    [...]
    Boot0006* ubuntu HD(2,200800,82000,2f11f25e-4303-11e3-be2a-0c54a5038f2e)File(EFIubuntushim‌​x64.efi
    

    You should check if there is a firmware update available to update and check again after the update if it fixed your issue.

    Per HDD-default UEFI bootloader

    Another possbibility is that the default bootloader (\EFI\BOOT\BOOTx64.EFI on each HDDs ESP) is always booted (seems to be the case). Check if you can change this behaviour. A fully functional firmware should be able boot the ubuntu or Windows Boot Manager entries (as seen in the efibootmgr -v output) instead of the default one. I found a related post in a blog.

    My general advice is too back up \EFI\BOOT\BOOTx64.EFI and replace it. I prefer gummiboot (tested, works), rEFInd is also possbile. I don't know what boot-repair does or suggest for this.

    This really seems to be a firmware issue and installing another distribution does not seem to improve on this (I also found a forum post for Fedora with a similar issue).

    Suggested solution

    You con only boot the \EFI\BOOT\BOOTx64.EFI file on a harddrive with this laptop, so you need to replace it with something, that can boot more than just Windows. Running boot-repair will not help or make confusion worse.

    1. Get gummiboot

      Download gummiboot from the Arch Linux repositories. (Everything is fine, we are just doing Linus Torvalds style package management. You can find the download link on that page far on the right under Package Actions > Download From Mirror)

      Mount the EFI System Partition (ESP) and backup all existing files on the ESP (e.g. use zip or tar). You can put the backup file at the root of the partition, there should be enough space.

      Extract gummibootx64.efi from the package (it's under /usr/lib/gummiboot/) and copy it as \EFI\BOOT\BOOTx64.EFI to your ESP.

    2. Configure gummiboot to boot GRUB

      Create folders along the path loader/entries/ at the root of your ESP and create a file named ubuntu-grub.conf with the following content:

      title          Ubuntu GRUB
      efi            \EFI\ubuntu\grubx64.efi
      

      You also need to add the file loader.conf in loader/ to make gummiboot work.

      default        Ubuntu GRUB
      timeout        4
      

      default is the title of the default entry to boot. Edit appropriately if you have chosen another title.

    3. Reboot

      That's it. Gummiboot will automatically find and create menu entries to boot Windows.

    • 1
  2. Rod Smith
    2014-08-16T04:26:25+08:002014-08-16T04:26:25+08:00

    WUBI 与 EFI 模式引导不兼容,如果您的计算机预装了 Windows 8 或 8.1,则几乎可以肯定这就是您的计算机所使用的模式。我建议您删除 WUBI 安装并执行标准的 EFI 模式安装。(另请参阅Ubuntu 社区 wiki和我关于 EFI 模式安装的页面以获取更多信息。)

    • 1

相关问题

  • 安装过程中无法识别键盘/鼠标

  • UNE 启动大约需要 30 分钟(通过 WUBI 安装)

  • 更改 Wubi 的启动顺序

  • 如何将五笔安装转换为常规安装?

  • Wubi 和常规的“Windows 旁边”安装有什么区别?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve