[syslinux] booting MS-DOS with syslinux

Amit Kucheria akucheria at metricsystems.com
Wed Oct 6 12:13:33 PDT 2004


Hi all,

I have been trying to get syslinux to boot MS-DOS 6.22 from a compact
flash without much success.

I found the following thread in the archives but the steps outlined dont
really apply in my case:
http://www.zytor.com/pipermail/syslinux/2003-July/002256.html

Here is what I did:

1a. CF card is recognized as /dev/sdb and mounted at /mnt/cf
1b. MS-DOS boot floppy (/dev/fd0) mounted at /mnt/floppy
2. fdisk /dev/sdb

Disk /dev/sdb: 1024 MB, 1024967168 bytes
32 heads, 62 sectors/track, 1009 cylinders
Units = cylinders of 1984 * 512 = 1015808 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        1009     1000897    6  FAT16

3. mkfs.msdos /dev/sdb1
4. syslinux /dev/sdb1
5. dd if=/dev/fd0 of=/tmp/dos.bss bs=512 count=1
6. cp /tmp/dos.bss /mnt/cf
7. Copy io.sys, msdos.sys, command.com, drvspace.bin from /mnt/floppy 
to /mnt/cf
8. Copy following syslinux.cfg to /mnt/cf

default dos
prompt 1
timeout 30

label dos
  kernel dos.bss

9. Booting with this CF simply shows ";;;;;" after BIOS load.

Anybody see a problem with my approach?
BTW, I am using syslinux version 2.06 on a gentoo box.

Thanks for your time.

Regards,
Amit
-- 




More information about the Syslinux mailing list