System not booting after HA update - drive not bootable

Hi folks. My HA system is not booting after an update I did yesterday. It’s running on Thinkpad X230. I made sure BIOS is UEFI only, etc. It shows the drive, I hit enter but it goes back to the previous screen showing the drive meaning it doesn’t like to boot from it. The system has been working for more than a year so far. I have backups but not for the whole disk so I guess restoring those backup has to be done after HA plus third party integrations are installed? BTW, if I hook up the drive to another machine I can see all the partitions etc meaning the drive doesn’t seem to be crashed. Wonder if there is a way to repair just the boot env.
Edit: I see 8 partitions on the disk that doesn’t boot, is this normal?

Thanks

anybody knows if the boot partition can be repaired?

Eight partitions seems correct. What bothers me is only the last 2 partitions (hassos-data and hassos-overlay) are recognised as type ext. The others should not be ‘unformatted’

thanks for your reply, francisp.
This is what macrium reflect sees…
But the first one is the boot partition and I was thinking if this one is ok then HA should attempt to boot and give out some error if the problem is with the other partitions, no?

From Generic x86-64 - Home Assistant :

If the machine complains about not being able to find a bootable medium, you might need to specify the EFI entry in your BIOS. This can be accomplished either by using a live operating system (e.g. Ubuntu) and running the following command (replace <drivename> with the appropriate drive name assigned by Linux, typically this will be sda or nvme0n1 on NVMe SSDs):

efibootmgr --create --disk /dev/<drivename> --part 1 --label "HAOS" \
   --loader '\EFI\BOOT\bootx64.efi'

Text

The efibootmgr command will only work if you booted the live operating system in UEFI mode, so be sure to boot from your USB flash drive in this mode. Depending on your privileges on the prompt, you may need to run efibootmgr using sudo.

Or else, the BIOS might provide you with a tool to add boot options, there you can specify the path to the EFI file:

\EFI\BOOT\bootx64.efi
1 Like

Thanks very much for this suggestion, francisp!
I will give it a try and see if it makes any difference.
But it might take a few days to do that, will let you know.
Regards

btw, here is how another HA disk looks in macrium reflect… all these partitions show unformated but the drive is bootable…