GNU GRUB error on boot up
Restore home assistant from GNU GRUB
Upgrading home assistant or reboot always get stuck on GRUB screen
Stuck on GNU GRUB on boot
Hi. I updated ha os to 10.4 and now i don't have WIFI or LAN connection, so i can't revert to 9.5 If i select 'Slot A (OK=1 TRY=0)" it boots (in last known good boot?). But if machine restarts it boots in "Slot B" again. What should i do?
Running HA OS on mini pc.
First of all, credit to these two folks: (thread 1) (thread 2)
I spent too much time trying to figure out how to get this done, and in the end it takes very little to do it.
It also includes instructions at the end that can address the issue on any install that is not booting to the latest OS after an update. Anyway, I hope this is helpful!
NOTE: This was written by me, for me. So key presses or hardware may vary in your use case!
Here's the stuff from above for copying/pasting
LINK referenced early in image.
Code from above:
sudo mount /dev/sda9 /mnt sudo apt install grub2 sudo grub-install --compress=xz --root-directory=/mnt /dev/sda --force cat <<! | sudo dd of=/mnt/boot/grub/grub.cfg set root=(hd0,1) configfile /efi/boot/grub.cfg !
grub.cfg changes:
load_env --file (hd0,gpt1)/efi/boot/grubenv save_env --file (hd0,gpt1)/efi/boot/grubenv A_TRY A_OK B_TRY B_OK ORDER MACHINE_ID
After I installed home assistant (via Ethernet) and can use the browser to view it, I want to install WiFi. I can't do this from HA CLI. How do I get out of it?