Can someone explain how I got a Windows EFI error message without trying to install Windows?

Matthew

I'm using a HP Z620 workstation.

My main hard drive is Ubuntu, and it was working fine. I physically removed the hard disk with Ubuntu on and put in a brand new hard disk, and tried to install another OS (not Windows) and that failed. So I took the new hard disk out and put my Ubuntu hard disk back in and expected it to work as before. Instead, I get a Windows blue EFI error screen saying I need to repair my computer?

Now, when I want to boot into my old Ubuntu disk, I have to put in a rEFIt USB boot loader to manually select the hard drive otherwise it won't boot. I'm sure I can fix it somehow, I'm just wondering what exactly happened here?

Thank you!

Rod Smith

I have two hypotheses. The first is that the error message you report isn't actually a Windows message, but just something that's formatted in a style similar to what Microsoft uses. You haven't quoted it exactly or presented a screen shot, so it's impossible for us to judge precisely what it is.

我的第二个假设是,当您在第一个磁盘上安装Ubuntu时,您没有完全擦除EFI系统分区(ESP)中的Windows文件,该文件是引导加载程序驻留在基于EFI的计算机上。这不会立即引起问题,因为您的Ubuntu安装将NVRAM中的EFI变量设置为默认指向Ubuntu启动加载器(GRUB),因此未激活Windows启动加载器。但是,当您交换磁盘时,您的EFI注意到Ubuntu引导加载程序不可用,因此从NVRAM中删除了它的条目。换回磁盘时,固件将Windows引导加载程序的位置进行硬编码作为后备,因为它在NVRAM中没有可用的条目,并且Windows引导加载程序恢复了正常工作。

The second hypothesis seems more likely to me. If it's correct, the solution is to re-create your Ubuntu/GRUB boot loader entry. This can be done in any number of ways. The simplest from a computer perspective is to boot an emergency system and use a tool like bcfg (in an EFI shell) or efibootmgr (in Linux) to re-create that missing entry. This requires a moderate amount of expertise, though; see this page for a summary. A simpler solution from a human perspective is to use Ubuntu's Boot Repair tool, which will re-install GRUB and set the new GRUB as the default. Another option is to install another EFI boot loader; 有几种可用的解决方案,如果您对GRUB有问题,那么比修复GRUB容易得多,而另一种解决方案可能比修复GRUB容易,因为GRUB相当神秘且手动设置很复杂。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类常见问题

How to pip or easy_install tkinter on Windows

来自分类Dev

can someone explain this short segment of C++ code, I can't make heads or tails of it

来自分类Dev

How to install oct2py on windows?

来自分类Dev

How to run the Windows Phone Emulator without Windows 8 Pro?

来自分类Dev

How can I stop my installer from triggering Windows 10's "This app has been blocked for your protection" error?

来自分类Dev

How to install pyYAML on windows 10

来自分类Dev

How can I enable or disable a windows service in .NET?

来自分类Dev

如何知道Windows是否以EFI模式安装?

来自分类Dev

如何修复Windows 8 EFI Bootloader?

来自分类Dev

恢复Windows 10 EFI启动项

来自分类Dev

Windows 8.1和Debian Dualboot EFI问题

来自分类Dev

How can I reinstall Windows 7 on a laptop without the drivers CD?

来自分类Dev

Windows: How can I use the command line to set registry permissions

来自分类Dev

Windows: How can I use the command line to set registry permissions

来自分类Dev

trying to install windows after ubuntu

来自分类Dev

Error 809 when trying to connect Windows 7 with IPsec

来自分类Dev

Can someone explain how I got a Windows EFI error message without trying to install Windows?

来自分类Dev

在Windows上挂载EFI分区

来自分类Dev

Windows USB EFI启动文件

来自分类Dev

在Windows上调整efi分区的大小

来自分类Dev

How do I install Windows 10 from USB to a UEFI Secure Boot Machine

来自分类Dev

Windows UEFI bootmgfw.efi和Windows UEFI bkpbootx64.efi有什么区别?

来自分类Dev

双启动EFI Windows 8.1 / Ubuntu

来自分类Dev

How can I dual boot Ubuntu and Windows 10 but have my PC boot into windows without prompting me at start up

来自分类Dev

Windows UEFI bootmgfw.efi和Windows UEFI bkpbootx64.efi有什么区别?

来自分类Dev

不同的EFI和Windows双启动

来自分类Dev

安装缺少Windows 10 efi文件`/ boot / efi / EFI / Microsoft`后弹出!_OS

来自分类Dev

Windows如何还原EFI数据?

来自分类Dev

在 Windows/Ubuntu 之间共享 /boot/efi 分区

Related 相关文章

  1. 1

    How to pip or easy_install tkinter on Windows

  2. 2

    can someone explain this short segment of C++ code, I can't make heads or tails of it

  3. 3

    How to install oct2py on windows?

  4. 4

    How to run the Windows Phone Emulator without Windows 8 Pro?

  5. 5

    How can I stop my installer from triggering Windows 10's "This app has been blocked for your protection" error?

  6. 6

    How to install pyYAML on windows 10

  7. 7

    How can I enable or disable a windows service in .NET?

  8. 8

    如何知道Windows是否以EFI模式安装?

  9. 9

    如何修复Windows 8 EFI Bootloader?

  10. 10

    恢复Windows 10 EFI启动项

  11. 11

    Windows 8.1和Debian Dualboot EFI问题

  12. 12

    How can I reinstall Windows 7 on a laptop without the drivers CD?

  13. 13

    Windows: How can I use the command line to set registry permissions

  14. 14

    Windows: How can I use the command line to set registry permissions

  15. 15

    trying to install windows after ubuntu

  16. 16

    Error 809 when trying to connect Windows 7 with IPsec

  17. 17

    Can someone explain how I got a Windows EFI error message without trying to install Windows?

  18. 18

    在Windows上挂载EFI分区

  19. 19

    Windows USB EFI启动文件

  20. 20

    在Windows上调整efi分区的大小

  21. 21

    How do I install Windows 10 from USB to a UEFI Secure Boot Machine

  22. 22

    Windows UEFI bootmgfw.efi和Windows UEFI bkpbootx64.efi有什么区别?

  23. 23

    双启动EFI Windows 8.1 / Ubuntu

  24. 24

    How can I dual boot Ubuntu and Windows 10 but have my PC boot into windows without prompting me at start up

  25. 25

    Windows UEFI bootmgfw.efi和Windows UEFI bkpbootx64.efi有什么区别?

  26. 26

    不同的EFI和Windows双启动

  27. 27

    安装缺少Windows 10 efi文件`/ boot / efi / EFI / Microsoft`后弹出!_OS

  28. 28

    Windows如何还原EFI数据?

  29. 29

    在 Windows/Ubuntu 之间共享 /boot/efi 分区

热门标签

归档