[syslinux] extlinux - Failed to load ldlinux.c32
Pierre-Philipp Braun
pbraun at nethence.com
Fri Jul 24 01:12:43 PDT 2020
> If the official binaries fail, I would then suggest testing with the
> binaries from Debian Sid.
I finally tried building syslinux with the patches I got from Debian and it worked.
https://sources.debian.org/patches/syslinux/
--> and chose those against 6.03 so I don't need to play with GIT tags.
https://sources.debian.org/patches/syslinux/3:6.03+dfsg-14.1+deb9u1/
For the record
- 6.03 build --> coulnt build on slackware-current
- 6.03 binaries --> Failed to load ldlinux.c32
- 6.03 debian patched build --> works!
- 6.04-pre1 binaries --> Failed to load ldlinux.c32
- 6.04 git build --> Failed to load ldlinux.c32
Didier, when it works, SYSLINUX is in fact easier than GRUB. What a nice syntax we have there! And the bootcode install process is not particularly hard either.
Oh and for my originating question on `/` vs `/boot/booting` on a single root partition, it's also solved. I now host the second stage bootcode in `/boot/syslinux` without an issue.
dd if=./bios/mbr/mbr.bin of=/dev/sda
./bios/extlinux/extlinux --install /boot/syslinux/
cp -f ./bios/com32/lib/libcom32.c32 /boot/sysliunx/
cp -f ./bios/com32/mboot/mboot.c32 /boot/syslinux/
and if one also wants the menu to show up, `libutil.c32` and `menu.c32`.
vi /boot/syslinux/syslinux.cfg
default XEN
prompt 1
timeout 50
label Linux
linux /boot/vmlinuz
append root=/dev/sda1 ro vt.default_utf8=0 mitigations=off vga=791
#initrd=/boot/initrd.img
label XEN
kernel mboot.c32
append /boot/xen.gz dom0=pvh dom0_mem=1024M,max:8192M loglvl=info noreboot=true --- /boot/vmlinuz console=tty0 root=/dev/sda1 ro vt.default_utf8=0 mitigations=off vga=791
#pv-linear-pt=true
#--- /boot/initrd.img
Thank you both for your support
--
Pierre-Philipp
More information about the Syslinux
mailing list