Installing with EFI

This is for discussing general topics about how to use VirtualBox.
Post Reply
Entegy
Posts: 160
Joined: 6. Sep 2008, 23:59
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Ubuntu 10.04 x64, XP SP3, Server 2008 R2, Fedora 13 x86/x64
Location: Montreal, Quebec, Canada

Installing with EFI

Post by Entegy »

I see VB has added EFI support. However, I can't seem to boot from the ISO of Windows 7 I attached to the virtual machine. It says boot failed for every possible device to boot from, then gives me a shell prompt. How would I get this thing to boot from the ISO in EFI?
Hachiman
Posts: 94
Joined: 18. Dec 2008, 21:04
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Solaris, NetBSD

Re: Installing with EFI

Post by Hachiman »

Entegy wrote:I see VB has added EFI support. However, I can't seem to boot from the ISO of Windows 7 I attached to the virtual machine. It says boot failed for every possible device to boot from, then gives me a shell prompt. How would I get this thing to boot from the ISO in EFI?
Windows 7 and Vista UEFI boot still requires some changes in VBox EFI boot, atm, and we are woking on that. But the the picture you get bit different from expected (it won't boot, but bootloader should anyway ask if you'd like to boot from CD/DVD). Could you please make sure, that you selected OS type Win7/64 on VM creation (bitness here controls bitnes of firmware being loaded) and that your ISO image is a image of Win7 x64? Win7 i386 hasn't got EFI boot loader.

Currently you might play with EFI boot of FC11(i386/x86_64) and FC12(i386 with kernel command line acpi=off).
--
Kind regards
Sr. Software Engineer
Oracle Corporation
Vasily Levchenko

PS. Happy VBoxing.
Entegy
Posts: 160
Joined: 6. Sep 2008, 23:59
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Ubuntu 10.04 x64, XP SP3, Server 2008 R2, Fedora 13 x86/x64
Location: Montreal, Quebec, Canada

Re: Installing with EFI

Post by Entegy »

I was originally using a 32-bit ISO of Windows 7. I changed the VM type to Windows 7 (64-bit) and used a 64-bit ISO, but the exact same thing happens: I get "boot failed" on every device possible and then a shell prompt whether or not I press Esc to skip startup.nsh

This is the screen.

I'll try Fedora 12 for now though, thanks.
Hachiman
Posts: 94
Joined: 18. Dec 2008, 21:04
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Solaris, NetBSD

Re: Installing with EFI

Post by Hachiman »

Entegy wrote:I was originally using a 32-bit ISO of Windows 7. I changed the VM type to Windows 7 (64-bit) and used a 64-bit ISO, but the exact same thing happens: I get "boot failed" on every device possible and then a shell prompt whether or not I press Esc to skip startup.nsh

This is the screen.
Will try reproduce it here, but note we're still unable load Win(Vista/7) further "Press any key to boot from CD/DVD". That happens because WinX loader can't build right page table basing on Memory map provided by Vbox/EFI. We're in working on this and hope soon we'll able to make you happy with Windows UEFI guests.
Entegy wrote: I'll try Fedora 12 for now though, thanks.
I'd recommend Fedora 11 (x86/x86_64) liveCD. FC12 has changed their requirement to ACPI especially for x86_64, so if you'll play with FC12 don't forget add acpi=off in grub menu in kernel start parameters. The suggestions in http://forums.virtualbox.org/viewtopic.php?f=15&t=24456 is still relevant, we're working with Fedora community to clarify missed parts in EFI or X to make liveCD booting as seamless as possible.
--
Kind regards
Sr. Software Engineer
Oracle Corporation
Vasily Levchenko

PS. Happy VBoxing.
Entegy
Posts: 160
Joined: 6. Sep 2008, 23:59
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Ubuntu 10.04 x64, XP SP3, Server 2008 R2, Fedora 13 x86/x64
Location: Montreal, Quebec, Canada

Re: Installing with EFI

Post by Entegy »

Oh I should be using the LiveCD? I download the install-only one (64-bit), which just gave me a black screen in the VM. The machine didn't even reach the VirtualBox logo splash screen.
Hachiman
Posts: 94
Joined: 18. Dec 2008, 21:04
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Solaris, NetBSD

Re: Installing with EFI

Post by Hachiman »

Entegy wrote:Oh I should be using the LiveCD? I download the install-only one (64-bit), which just gave me a black screen in the VM. The machine didn't even reach the VirtualBox logo splash screen.
Right, you need liveCD or netinstall, e.g.
http://mirrors.kernel.org/fedora/releas ... os/images/
http://mirrors.kernel.org/fedora/releas ... os/images/
you need boot.iso, livecds available from fedoraproject.org links here points to fc12 release, but I recommend try FC 11 atm.
--
Kind regards
Sr. Software Engineer
Oracle Corporation
Vasily Levchenko

PS. Happy VBoxing.
Ivan Sidorin
Posts: 1
Joined: 30. Sep 2010, 10:55
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Mac OS X, Windows 7

Re: Installing with EFI

Post by Ivan Sidorin »

Hello,

Any progress with booting Windows 7 with EFI support?
kinimod
Posts: 1
Joined: 12. Apr 2011, 12:11
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows 7 x64

Re: Installing with EFI

Post by kinimod »

I'm too very interested in this. Still getting the same error in 4.0.4.

Any progress please?
slownumb
Posts: 1
Joined: 1. Jul 2011, 04:16
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Win7x64

Re: Installing with EFI

Post by slownumb »

also another one interested in this feature....
EarthQ
Posts: 11
Joined: 15. Sep 2009, 18:19
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows

Re: Installing with EFI

Post by EarthQ »

I am trying to install Windows 8 Developer Preview x64 in a VM with EFI enabled on VB 4.1.2r73507 on Windows 7 x64 host.
The EFI-enabled VM boots the ISO image properly, but "Loading Files" goes deadly slow compared to non-EFI configuration.
After finish, it goes black and nothing else seems to be going on ...

In my W8DP case, the ISO booted itself, but if go to EFI shell, you may try http://technet.microsoft.com/en-us/libr ... S.10).aspx
Post Reply