Installing Home Assitant on Lenovo M92p

Hello,
My name is Hans Peter Durand. I live in Switzerland and I am professionally involved in IT projects in the environmental field.

My first try with Home Assistant was as a virtual machine under Microsoft Hyper-V. Since Home Assistant convinced me. I bought a Lenovo Think Centre M92p cheap. (On this device was a running Windows 10 installed).

For the installation I chose the variant “Generic x86-64 Install Home Assistant Operating System”.

I proceeded as follows

  • On a USB stick I created a bootable system with Ubuntu 22.04.1 LTS.

  • After I could boot Ubuntu successfully from the USB stick, I tried to write Home Assistant to the harddisk of the Lenovo M92p with Balena Etcher. As you know there is a problem, which can be solved with the following commands
    “sudo add-apt-repository universe”
    “sudo apt-get install libfuse2”

  • After I was able to run Balena Etcher from the shell of the Ubuntu Live System, I used “Flash from URL” to write the image of Home Assistant to the SSD disk of the Lenovo M92p. According to Balena Etcher, this process was successful. Using Ubuntu’s Disk Utility, I could see that several partitions had been created on the disk.

  • After stopping the live system of Ubuntu, I tried to boot Home Assistant from the disc of the Lenovo M92P (I enabled secure boot. Booting was done in UEFI mode). Unfortunately without success.

  • It looks like no bootable system is found when booting the Lenovo (according to the order of bootable media, PXE boot is used among others).

The installation guide mentions that the following command may help

efibootmgr --create --disk /dev/sda --part 1 --label “HAOS” \ --loader ‘\EFI\BOOT\bootx64.efi’

When I run this command I get the message that I have no rights to write to this drive.
The question for me is why no bootable system is found. I know the BIOS of the Lenovo M92p only superficially. Knowledge of the Linux shell is also rudimentary (I used to know Ultrix 32, DEC/OSF; so it’s been a while :blush:).

Question has anyone had the same or similar experience?

Thanks for your tips

Translated with DeepL Translate: The world's most accurate translator (free version)

2 Likes

Was there ever a solution to this?
I have just hit the same issue with my M92p.

I am not sure about M92P but I am running on Lenovo M70q Gen 3 Tiny with NVMe. I am using the Home Assistant Installation done on the above hardware directly without any virtualization setup. I am running home assistant without any issue. Have you tried to disable SecureBoot and run home assistant?

Yeah, flashed the bios, secure boot off, uefi enabled; all the good things I can think of.
For now, I have re-installed a windows drive and just running virtualbox and the haos through it.
Have kept the drive with haos installed directly onto it, in case someone can think of something to try.
The pc only has 8GB or ram and not a great cpu, so bare metal would remove the windows and virtualbox overhead and make HA sing.

Just connect the drive to another windows pc via USB to sata cable or external cabinet and run Balena Etcher, download latest Hassos and burn from file…when finished just put the harddrive into the pc to run homeassistant.
Generic x86-64 - Home Assistant so use method 2…not method 1