FreeNAS-11.0-RC3: VM doesn't boot

weactivist

Cadet
Joined
Apr 13, 2017
Messages
3
So I've got a problem where installed VMs doesn't boot. What I have done are these steps:

1. Create VM with devices: NIC, VNC, DISK and CD-ROM.
2. The CD-ROM points to an Ubuntu Server 16.04.2 LTS image.
3. The DISK is in AHCI mode pointing to a zvol 64GiB volume.
4. I've installed the VM, no problem.
5. It all ran, I was able to SSH to the VM and had no problems with it.
6. I had to reboot FreeNAS.
7. And now the GUI says the VM is running but it doesn't boot Ubuntu.

When trying to remote access the machine (VNC) a shell appears and all it says is:

Code:
UEFI Interactive Shell v2.1
EDK II
UEFI v2.40 (BHYVE, 0x00010000)
Mapping table
BLK0: Alias(s):BLK1:;BLK2:;BLK3:
PciRoot (0x0)/Pci(0x4,0x0)/Sata....
Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
Shell>


Any ideas?
 

weactivist

Cadet
Joined
Apr 13, 2017
Messages
3
Found the issue. These steps has to be taken:
  1. When on UEFI Interactive Shell; type: exit
  2. In the EFI menu system navigate to "Boot Maintenance Manager"
  3. Select "Boot from file"
  4. Locate and select your grubx64.efi file
  5. When in terminal:
  6. $ sudo mkdir /boot/efi/EFI/BOOT
  7. $ sudo cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/BOOT/bootx64.efi
  8. $ reboot
 

comenoplz

Cadet
Joined
Aug 24, 2017
Messages
1
I've looked all over... Is there anyway to find the "grubx64.efi" file? I can't seem to find it in the Boot maintance manager.
 

John Regan

Cadet
Joined
Sep 7, 2013
Messages
8
Thanks weactivist installed a VM and had this problem and was getting a bit :mad: but you saved the day - awesome! Still an issue in 11.1 U-2 it seems.
 

TurboRon

Cadet
Joined
Apr 23, 2018
Messages
1
So I've got a problem where installed VMs doesn't boot. What I have done are these steps:

1. Create VM with devices: NIC, VNC, DISK and CD-ROM.
2. The CD-ROM points to an Ubuntu Server 16.04.2 LTS image.
3. The DISK is in AHCI mode pointing to a zvol 64GiB volume.
4. I've installed the VM, no problem.
5. It all ran, I was able to SSH to the VM and had no problems with it.
6. I had to reboot FreeNAS.
7. And now the GUI says the VM is running but it doesn't boot Ubuntu.

When trying to remote access the machine (VNC) a shell appears and all it says is:

Code:
UEFI Interactive Shell v2.1
EDK II
UEFI v2.40 (BHYVE, 0x00010000)
Mapping table
BLK0: Alias(s):BLK1:;BLK2:;BLK3:
PciRoot (0x0)/Pci(0x4,0x0)/Sata....
Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
Shell>


Any ideas?

Thank you so much for this! I've been trying to figure this out and this worked! It's still a bug in 11.1-U4
 

Srikanth K Kota

Dabbler
Joined
Jul 20, 2017
Messages
28
Found the issue. These steps has to be taken:
  1. When on UEFI Interactive Shell; type: exit
  2. In the EFI menu system navigate to "Boot Maintenance Manager"
  3. Select "Boot from file"
  4. Locate and select your grubx64.efi file
  5. When in terminal:
  6. $ sudo mkdir /boot/efi/EFI/BOOT
  7. $ sudo cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/BOOT/bootx64.efi
  8. $ reboot
You saved my life... The concept is same for CentOS 7 also...
 

countach1

Cadet
Joined
Oct 23, 2017
Messages
5
Thanks! This worked for me as well.
 

billgreenwood

Dabbler
Joined
Apr 11, 2014
Messages
42
Super - thanks :) lifesaver!
 

a_rych

Cadet
Joined
Dec 17, 2018
Messages
1
Found the issue. These steps has to be taken:
  1. When on UEFI Interactive Shell; type: exit
  2. In the EFI menu system navigate to "Boot Maintenance Manager"
  3. Select "Boot from file"
  4. Locate and select your grubx64.efi file
  5. When in terminal:
  6. $ sudo mkdir /boot/efi/EFI/BOOT
  7. $ sudo cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/BOOT/bootx64.efi
  8. $ reboot

I have no options for step 4 in the "Boot From File" File Explorer
 
Top