From Adélie Linux
syslinux is the primary bootloader for x86 and x86_64 computers running Adélie Linux.
This assumes that you have followed the HOWTO for manual installs, have mounted your /boot directory to /target/boot (or will be booting off /target), have installed the syslinux package using
# apk --root /target add syslinux
and have chrooted into /target.
Note: If your /boot is using the ext4 file system, you will need to ensure it does not have the 64-bit flag enabled. EXTLINUX has, in some cases, been known to have boot issues or output "Failed to load ldlinux.c32" errors on ext4 file systems that have the 64-bit flag enabled.
Copy necessary files
# mkdir /boot/syslinux # cp /usr/share/syslinux/*.c32 /boot/syslinux/
Write a configuration file
Install MBR boot code
# extlinux --install /boot/syslinux # dd if=/usr/share/syslinux/mbr.bin of=/dev/sda bs=440 count=1 conv=notrunc