[syslinux] relationship between syslinux and loadlin

Justin Florentine justin at brivo.com
Thu Oct 16 07:31:58 PDT 2003

Hash: SHA1

Could someone possibly clarify the relationship between these 2
programs?  I am in a situation where I am developing for an embedded
system, and I need to rewrite my CMOS before I actually boot into linux.
~ The only tools for manipulating my cmos happen to be DOS utilities, and
I was hoping that I could script their use in autoexec.bat or somewhere
similar.  I noticed that neither autoexec or linux.bat are executed.  It
seems that the syslinux bootloader bypasses any use of loadlin, is this

My other option would be not to use syslinux, but to boot into DOS and
script a call to loadlin.  The problem is that I haven't been able to
create (and more importantly automate) the creation of a partition that
will boot into DOS.  I'm using a compact flash card as my media, but
that shouldn't be any different than any other IDE device.

I use sfdisk to create 2 partitions, the first one DOS and bootable, the
second one Linux.  I mkdosfs and mke2fs the respective partitions, and
copy over command.com, dos.sys, autoexec.bat, blah blah blah, but I
still get missing OS messages.

Any ideas?
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the Syslinux mailing list