I‘m running a htpc with two hard drives. Both hard drives have libreelec tv installed. I switch boot order via bios.
The production system is on 7.90.010 on /dev/sda. newer version have issues with artefacts on TV.
Now I tried to install a blank new 8.2 on /dev/sdb. Everything installed properly, but when it boots up it fails and tells me the boot file is broken. Bullshit - i have not touched it.
After some searching I found the root cause. extlinux.conf references partions by label. Stupid - i have two „system“ and two „storage“ volumes! The extlinux should use UUID like other distributions e.g. Debian 9 to make the disk reference unique.
Original extlinux.conf:
DEFAULT linux
PROMPT 0
LABEL linux
KERNEL /KERNEL
APPEND boot=LABEL=System disk=LABEL=Storage quiet
This fixes the issue (replace append line):
The guids can be found at /dev/disk/by-uuid