LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 07-21-2019, 10:12 AM   #1
resuni
Member
 
Registered: Oct 2009
Location: Colorado, USA
Distribution: CentOS, Debian, FreeBSD
Posts: 127

Rep: Reputation: 9
Get sent to EFI shell when booting from Windows ISO


I'm following the guide on Arch wiki to get PCI passthrough set up. (My host OS is actually openSUSE).

I'm at the point where I'm trying to install Windows, but I cannot get the ISO to boot and I keep getting sent to the EFI shell. I've tried using two Windows 7 ISOs and a Windows 10 ISO.

With Windows 7, when I get sent to the EFI shell, I've tried the following:
  • Type exit, then select "continue" in the BIOS-looking interface. This brings me back to the EFI shell.
  • Type exit, then select to boot from DVD from the BIOS. This also brings me back to the EFI shell.
  • In the EFI shell, run EFI\BOOT\BOOTX64.EFI. This gives me an error: Command Error Status: Security Violation

This Windows 7 ISO was made from a DVD I bought years ago, so I thought maybe I should try a new one. I downloaded a new one from the Microsoft site, but I get the same results.

With Windows 10, I get slightly different behavior. It prompts me to press any key to boot from DVD, so I do. This sends me to the EFI shell. I try the same three things I listed for Windows 7 above, it asks me to press any key, then sends me to the EFI shell regardless if I press a key or not.

I don't know what to try next. My immediate thought is maybe I'm using a bad OVMF image. When I build the VM, I select "UEFI x86_64: /usr/share/qemu/ovmf-x86_64_ms-code.bin". I'm using openSUSE Tumbleweed and I assume this file came from the "ovmf" package I installed. Maybe I somehow need to be choosing a different OVMF image?
 
Old 07-22-2019, 05:37 AM   #2
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, arch, ubuntu, others
Posts: 3,290

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
Gotchas
Using a non-EFI image on an OVMF-based VM

The OVMF firmware does not support booting off non-EFI mediums. If the installation process drops you in a UEFI shell right after booting, you may have an invalid EFI boot media. Try using an alternate linux/windows image to determine if you have an invalid media.
I don't about the windows 10, but your windows 7 most likely is non-efi.
 
Old 07-22-2019, 09:41 AM   #3
resuni
Member
 
Registered: Oct 2009
Location: Colorado, USA
Distribution: CentOS, Debian, FreeBSD
Posts: 127

Original Poster
Rep: Reputation: 9
That's why I tried downloading a new Windows 7 ISO from Microsoft. And if that were the case, why would Windows 7 have the same EFI\BOOT\BOOTX64.EFI file that also exists on the Windows 10 ISO?
 
Old 07-22-2019, 09:53 AM   #4
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, arch, ubuntu, others
Posts: 3,290

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
This Windows 7 ISO was made from a DVD I bought years ago
This is the one I was referring to.
Why the windows 10 and the new windows 7 iso, I don't know, unless the iso only works after being burned to dvd/cd

Last edited by colorpurple21859; 07-22-2019 at 09:55 AM.
 
Old 07-23-2019, 09:50 PM   #5
resuni
Member
 
Registered: Oct 2009
Location: Colorado, USA
Distribution: CentOS, Debian, FreeBSD
Posts: 127

Original Poster
Rep: Reputation: 9
I downloaded a new Windows 10 ISO from Microsoft, and that one worked.

Solved.
 
  


Reply

Tags
opensuse, qemu kvm, uefi, virtio, windows


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Ooooy. EFI boot mmx64.efi.efi not found bulgin Linux - Newbie 12 12-20-2018 11:03 AM
[SOLVED] Can't find /boot/efi/EFI/Slackware/vmlinuz kernel configuration ironQiu Slackware 4 02-09-2015 06:21 AM
boot efi disk with without a non-efi bios pc... masavini Programming 1 11-12-2013 08:48 PM
EFI main GPT overwritten everytime (when windows 7 runs) - structure of EFI masuch Linux - Newbie 2 07-20-2012 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 06:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration