operating-system: Update From 11.1 to 11.2 does not boot from correct slot

Describe the issue you are experiencing

I am running Home Assistant on a Dell Laptop. No issues; it runs well. I attempted to upgrade from 11.1 to 11.2 5 times, and it never appeared to work… then I had a thought to switch the slot manually. On a fresh boot, the machine will boot to SlotA = 11.1, so I forced it to boot to SlotB, and after full boot I see 11.2 is installed on it. It works great, with no issues. Then we lost power and the battery died… and on next boot, it defaults to SlotA again and I’m back to 11.1 The mechanism is in place to change the Slot it boots from is not working correctly.

What operating system image do you use?

generic-x86-64 (Generic UEFI capable x86-64 systems)

What version of Home Assistant Operating System is installed?

11.1

Did you upgrade the Operating System.

Yes

Steps to reproduce the issue

  1. Upgrade the OS
  2. Watch it not boot the alternate slot

Anything in the Supervisor logs that might be useful for us?

Not that I know of.

Anything in the Host logs that might be useful for us?

Not that I know of.

System information

No response

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 7 months ago
  • Comments: 15

Most upvoted comments

@FrankGiesecke You will need to connect the storage medium for your HA hardware to another machine. If it were me, I would mount the first partition and look for /EFI/BOOT/grub.cfg. Then apply the updates to the config as stated in https://community.home-assistant.io/t/install-ha-on-old-laptop-without-uefi/407443/72 where it mentions editing the grub.cfg.

Ok… I’m not sure why the manual updates did not work… but I found an answer via https://community.home-assistant.io/t/install-ha-on-old-laptop-without-uefi/407443/72

pointing the load and save env commands to the EFI/BOOT/grubenv did it. Also… FWIW my paths are /EFI/BOOT all caps, not changed by me. I would check and use the exact path as it is on your system

I’m not sure if this fix would be put in place for backwards compatibility but is a fix none-the-less