Page 1 of 1

Centos guest on windows 7 host stuck at EFI shell

Posted: 24. Aug 2015, 14:47
by Martin.Halvorsen
I'm trying to get a pre-made VHD with Centos up and running on a windows 7 x64 host for testing purposes. However, I only get the machine as far as to the EFI shell which I cannot get past.

The guest VM is, and I quote: "setup as Hyper-V Generation 2 and therefore uses SCSI for the virtual hard disk - and I think UEFI instead of a normal BIOS with grub bootloader."

Running VB version 5.0.2 r102096

So what I've tried is to create a new VM from Redhat 32-bit template (64-bit just gives med a black screen, googling suggested I try 32 bit)

Pretty much default system settings except that I have EFI enabled.

Storage is set up as following:
SATA controller of type AHCI with port count of 1 (I tested a SCSI controller but I could not get that work either, also gets me to the EFI shell)
VHD attached on SATA port0 (I've tested different, same result)

I've made sure I don't have to much RAM since some google results suggested that might cause some bugs, running at 3254 MB at the moment.

I have tried creating a startup.nsh and giving it following contents:
FS0:
\EFI\centos\grubx64.efi

I've also tried i with different formatting in the startup.nsh such as keeping it all on one line but that didn't help either.

Any one have any clues to what can be done?

Thankful for any help I can get.

Re: Centos guest on windows 7 host stuck at EFI shell

Posted: 24. Aug 2015, 15:02
by Perryg
and I think UEFI instead of a normal BIOS with grub bootloader
You can't think this to work. You must know for certain. If in doubt try without EFI enabled in the settings.

Re: Centos guest on windows 7 host stuck at EFI shell

Posted: 24. Aug 2015, 15:18
by Martin.Halvorsen
Tested with and without EFI enabled. The VHD was sent to me pre-made. And those are the instructions I have to go with.

Without EFI enabled it results in the following error message: "FATAL: No bootable medium found! System halted."

Any more info I can provide that would be helpful?

Re: Centos guest on windows 7 host stuck at EFI shell

Posted: 24. Aug 2015, 15:35
by Perryg
Not really. A pre-made guest is dependant on the exact information that it was created with. I would ask the provider for assistance.

Note: the VHD container is compatible with VirtualBox but the actual data may not be. VHD is a Microsoft container so ask the provider if it is convertible to VirtualBox.