[syslinux] Can't get initrdfile= or initrd+= to work

Andrew Stuart andrew.stuart at supercoders.com.au
Mon Dec 25 19:01:30 PST 2017


Hi folks

My ultimate goal is to be able to add an initramfs to the end my syslinux.cfg resulting in an additional initramfs being loaded when the system boots.  So I need to work out how to get initrd+= to work.

I’ve been trying for days now everything I possibly can to get initrd+= to work but nothing I do works.  I've also been trying to get initrdfile= to work but no success with that either.

Now totally out of ideas I’d like to ask if anyone can suggest what I might be doing wrong.

I’m using syslinux 6 I believe.

Here is an example of one of the many many syslinux.cfg variations I have tried.

SERIAL 0
TIMEOUT 1
PROMPT 1
DEFAULT tinycore
LABEL tinycore
   com32 linux.c32 vmlinuz64 tce=/opt/tce noswap modules=ext4 console=tty0 console=ttyS0 initrdfile=foo.txt@/
   INITRD corepure64.gz,rootfs_overlay_initramfs.gz,bootrino_initramfs.gz
   append initrdfile=foo.txt@/

Any ideas valued thanks.

Or any complete examples of a syslinux.cfg that implements initrd+= would be great - the relevant wiki section does not show a complete example, only the fragment that relates to initrd+=

thanks!

Andrew


More information about the Syslinux mailing list