#Writing image directly to laptop SSD

1 messages · Page 1 of 1 (latest)

pure bloom
#

I booted off of a Ubuntu Live USB disk, downloaded the HA image image, and wrote it to the laptop SSD drive via the following command:

sudo dd if=./haos_generic-x86-64-15.2.img of=/dev/sda bs=1M status=progress && sync

but, when I try and boot my laptop, it reports that there isn't a bootable option.

Any ideas?

Richard

late chasm
#

My guess would be, that you still need an EFI boot entry.

#

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'

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
pure bloom
#

Ah, yes, that's interesting, because I've booted into the bios and I can see some historic entries, but not HA, so I need to run the first command?

late chasm
#

Or define it directly in the EFI, if it provides that option.

pure bloom
#

Ah, so the file EFI\BOOT\bootx64.efi is HAOS?

late chasm
#

Yes.

#

It needs a leading \ though.

pure bloom
#

That's worked, thank you. Can I now browse to it from a different laptop?