Bhyve UEFI drops into EFI shell, Linux wont boot Easy Workaround

Published Date: 2023/09/01 by: DaVieS

Bhyve UEFI drops into EFI shell, Linux wont boot Easy Workaround
Bhyve UEFI drops into EFI shell, Linux wont boot Easy Workaround

 

EFI works that way that the installer places a file into a FAT32 partition in a regular directory as called "BOOT".

The usual full path of EFI loader is /boot/efi/EFI/BOOT/bootx64.efi

 

However, some moderrn operating system will rename the BOOT into a custom name such as debian. This is happening to allow computer having more operating systems installed.

 

But the last way is not supported yet in Bhyve. Thats why you might encounter an issue after installing Debian linux on FreeBSD Bhyve hypervisor.

 

The solution is that you have to rename back the folder into BOOT.
To achieve this you should boot up the Operating System.

 

1. Get into UEFI Menu

If you are using our BVCP product on the start screen will be delayed for 10 seconds so you have time to press F2 to enter UEFI Menu just as like the images show.

If you dropped into UEFI shell already, just type exit to bring up UEFI Menu.

Bhyve UEFI drops into EFI shell, Linux wont boot Easy Workaround


2. Enter Boot Maintenance Manager / Boot From File

Select & go through directories until you find something like grubx64.efi.
On debian system this should be: EFI/debian/grubx64.efi

Then select the .efi file to load EFI loader.
The Operating System should have booted without problem after this step.



Bhyve UEFI drops into EFI shell, Linux wont boot Easy Workaround
Bhyve UEFI drops into EFI shell, Linux wont boot Easy Workaround
Bhyve UEFI drops into EFI shell, Linux wont boot Easy Workaround


3. Permanent Solution

Log in to the operating system, then create a folder on EFI path, which is usually /boot/efi.
The following example make debian system to boot properly on Bhyve.

mkdir /boot/efi/EFI/BOOT
cp /boot/efi/EFI/debian/grubx64.efi /boot/efi/EFI/BOOT/bootx64.efi

After the reboot the system should be boot perfectly.





If you like the article then don't forget to share!


BVCP 2.0.x Released

Our one of the most popular FREE-TO-USE Software BVCP reached the next milestone.Big thanks to the active community, a ton of feedbacks received..


Welcome 2024

We have been busy at 2023. Im personally very happy to see a lot of new technologies especially EV related researches.We continued to support our..


FreeBSD 14 fresh install breaks mc (Midnight Commander) subshell support

We are very happy to announce that - if you did not know already - one of the best Operating System released a new version. FreeBSD 14. This..


ZFS Replication Software

  While we are working on BVCP 2.0 just another software made to handle ZFS Replications over multiple nodes. The software yet not released..


Nexus Datalogger 2023

We're proudly present that we released out our next version of datalogger software as commerical product. Our first version of Datalogger..


Big Concern: Facebook hack, Google Chrome V8 Hack, Meta Support

Many users experiences that their account leaked through Facebook Advertisement platform.The BOT change their names to Kevin Konkrete Davis and..


Maintenance

We are doing some regular maintenance at 22:00 - 02:00 UTC. Some services might be distrupted at this time. ..


FreeBSD Bhyve Webadmin | BVCP 1.9.8 Just Released

BVCP 1.9.8 features  New protocol to transmit VNC/RFB data as encrypted and compressed.Better, faster and more responsive UI.Colored..


Trackit-PortGuard just released

When implemented well, this software can be considered as two-factor pre-authentication.Therefore this is one of the most secure method to..

All rights reserved nPulse.net 2009 - 2024
Powered by: MVCP 2.0-RC / BVCP / ASPF-MILTER / PHP 7.4 / NGINX / FreeBSD