Have you enabled EFI boot?
I have it set up for linux but should it be windows? or something else
My pointing device is “usb tablet” does that make a difference? I wouldn’t think so, but I really don’t know what I am doing.
In virtual box. Not your main system board.
Wile in virtual box, Right click your Hass vm install an click settings. on the left panel as seen from your pic.
I don’t think it would.
Hi,
Has anyone found a permanent solution to this? I am having the same issue on a Windows host. Does not happen with Ubuntu.
Every time I reboot the Windows host, Virtualbox is unable to start my HA VM and goes to the EFI shell. There is nothing in the FS0:\EFI folder. I have to restore my Virtualbox snapshot for it to be able to start the HA VM.
Thanks for any help.
Had this issue as well, basically my VirtualBox VM stopped working after the latest upgrade. After a bit of investigation I figured out that the issue was in corrupted data inside the hassos-boot.img partition, i.e. the FS0:\EFI folder had zero size and the BOOTx64.EFI file wasn’t there.
The simplest solution that I’ve found so far is to mount an additional hassos-boot.img inside my VirtualBox VM:
- Download the latest HassOS VDI hassos_ova-5.10.vdi.xz from here;
- Upack the archive using 7-Zip;
- Unpack the hassos_ova-5.10.vdi VDI image using 7-Zip;
- Convert the hassos-boot.img file to VDI format:
VBoxManage convertfromraw --format VDI hassos-boot.img hassos-boot.vdi
- Go to your VirtualBox VM settings and under Storage add the hassos-boot.vdi file as a new hard disk next to your existing HassOS OVA VDI image.
Hopefully it starts and boots as expected, otherwise the new VDI should be mounted as a new drive and you can work with it inside the Shell>
.
Thank you for providing this information!
I had to type exit and find the Boot Order option in the menu but after putting the correct one on top I could finally use my image again. I think the partitions on it ran out of storage.
This worked for me. For others, the option to change Boot Order is in the Mgmt option in the menu. Change the boot order so the disk on the top.
This did not work for me, However anyone in need of an ugly fix let me know as I was able to get back up and runniing
Hi guys,
sorry for my English :D. I was able to come up with some workaround.
once you land in the Shell>
1.fs0:
2.edit startup.nsh
3. now in the editor enter the location of the BOOTx64.EFI “\EFI\BOOT\BOOTx64.efi”
4.still in editor left ctrl+s = save and hit Enter to save
5. left crtl+q = quit
you can now reboot the machine, it still lands in the shell but after a 1s it starts loading.
Hope this helps for now.
Peter
Please bear with a novice taking his first steps into Home Assistant land, but I’m having the same issue as this thread ending up at the Shell> Please can you explain how to do the workaround, in simple terms.
1.fs0:
2.edit startup.nsh
3. now in the editor enter the location of the BOOTx64.EFI “\EFI\BOOT\BOOTx64.efi”
4.still in editor left ctrl+s = save and hit Enter to save
5. left crtl+q = quit
I don’t know how to change to fs0
I just had a power failure and when I restarted vm I get “Autoboot” in the VM cmd window but nothing happens…
Same here, have you found a solution?
I had a backup, so reinstalling was the only solution.
Newb here trying to help other newbs.
I ran into this problem after “releasing” my vdi which was associated with the VBox VM I was using for HA. After reattaching it the boot order got messed up within the VM which booted from shell and had me confused for half a day.
To fix this I typed “exit” in the shell which brought up what I presume to be the bios for the machine. In here I was able to manually boot from the right source and eventually change the boot order.
Hope this helps somebody
Just a note. I had the same thing happen after a reboot on my Linux Mint 20.2 system. I ended up shutting down and rebooting. While waiting, I started looking for any help on this… and found this thread. I am so glad to see that there are ways around it. Finally, I checked and it had rebooted correctly. Now… the reminder… backup up my Virtual system.
If you end up in the EFI Shell it means that the boot options have changed, what to do is if you’re on the EFI shell hit the right control + r to force VBox to restart and then immediatly tap F2 rapidly, you should end up in the bios, if you end up on the shell repeat until you get to the bios
Change the boot order and move the shell to the end and the PXE option to second last then save and reboot and it should start booting the OS normally again.
Had the same thing happen when I cloned a VM in VirtualBox. I tried the edit with fs0, then saved the edit and just typed exit, because I thought that would get me out. It took me to the BIOS interface, and when I picked the HA disk in the boot order, it immediately booted right up. So it looks like just fixing the boot order solves the problem.