Hi, I've spent few long hours on weekend trying to get syslinux as boot loader for my alpine linux. Long story short: Failing to load ldlinux.c32 on ext4, but after changing file system from ext4 to ext3, everything worked (all other things being the same). Details below, my setup is fairly complicated so this is might be a partial reason, ALTHOUGH final and the only change which makes thing work was reformatting ext4 to ext3. * error message: Failed to load ldlinux.c32, so MBR works, so I guess ldlinux.sys is probably loaded and then error happens * platform, intel skylake, x64 * one disk (SSD M.2) * five partitions over GPT on this disk * hybrid/protective (fake) MBR with 4 partitions defined * linux on last partition (fifth in GPT, fourth in protective MBR), formated either ext4( not working), or ext3 (working) * no separate boot partiton (everything including syslinux in one partition (the last one on the disk)) * proper MBR with mbr.bin from syslinux 6.03 * syslinux installed with extlinux --install /boot (while booted from livecd and chrooted into final linux) * upon installation, partition is correctly being recognized as /dev/sda5, so syslinux is using GPT here, and boot record of this partition is properly changed * linux starts from under virtualbox - yeah I know it is complicated story :) - in BIOS mode (not EFI), hence using MBR information * I'm using newest alpine linux on intel x64 as a guest to be booted. I'm willing to help to debug this problem further. rdslw
> Hi, > > I've spent few long hours on weekend trying to get syslinux as boot > loader for my alpine linux. > > Long story short: Failing to load ldlinux.c32 on ext4, but after > changing file system from ext4 to ext3, everything worked (all other > things being the same).Please see: http://www.syslinux.org/wiki/index.php/Filesystem#ext Regards, Ady.
On Mon, Sep 26, 2016 at 4:41 PM, Ady Ady via Syslinux <syslinux at zytor.com> wrote:>> Long story short: Failing to load ldlinux.c32 on ext4, but after >> changing file system from ext4 to ext3, everything worked (all other >> things being the same). > > Please see: > http://www.syslinux.org/wiki/index.php/Filesystem#ext >Thank you. Unfortunately I was bitten by mkfs distro differences and syslinux documentation :) Many distributions (e.g. ubuntu 1604) are using still older mkfs (17 may 2015 (sic!)) so it worked for me while Alpine is using mkfs from 17 may 2016 and 64bit flag was there enabled. If I may suggest, I'd strongly change wording on syslinux webpages/documentation because it states upfront at the beginning that ext4 is supported. I'd add either '(*)' or 'partially' or anything else which would warn and redirect user into details. Ideally extlinux shall check and warn if it's installing on not compatible filesystem. r
Maybe Matching Threads
- possible ext4 handling bug in syslinux 6.03
- chainloading syslinux from an EFI partition to an ext4
- Unable to find linux kernel on ext4, filesystem-related root cause assumed
- Syslinux/Extlinux chain : Unexpected change of Extlinux configuration folder after reboot
- Boot fails in a VMware player VM - syslinux 6.03