volumio / Build

Buildscripts for Volumio System
GNU General Public License v2.0
113 stars 103 forks source link

Fix boot error due to ldlinux.sys relocation #521

Closed gkkpch closed 2 years ago

gkkpch commented 2 years ago

ldlinux.sys is part of the syslinux bootloader and gets installed at a fixed sector location in the boot partition. It must not be moved. When the archive file kernel_current.tar is unpacked with a ldlinux.sys present, ldlinux.sys will be rewritten and its sector location will change. This results in the loader not being able to locate ldlinux.sys and subsequently fails with Boot error. Therefore it must be excluding from the archive file.