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 --
Amit Kucheria <akucheria at metricsystems.com> writes:> 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 > 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/cfI do not see the step where you put a Master Boot Record (MBR) onto the USB drive. I use SYSLINUX for my project, and I wrote up instructions for booting it from a flash drive: http://unattended.sourceforge.net/faq.html#usb-boot You can use freedos-mbr.bin from my project or mbr.bin from the SYSLINUX distribution as the MBR. You can use my Perl script (install-mbr.pl, linked above) to install it on your flash drive. - Pat
On Wed, 2004-10-06 at 13:54, Patrick J. LoPresti wrote:> Amit Kucheria <akucheria at metricsystems.com> writes: > > > 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 > > 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 > > I do not see the step where you put a Master Boot Record (MBR) onto > the USB drive. > > I use SYSLINUX for my project, and I wrote up instructions for booting > it from a flash drive: > > http://unattended.sourceforge.net/faq.html#usb-boot > > You can use freedos-mbr.bin from my project or mbr.bin from the > SYSLINUX distribution as the MBR. You can use my Perl script > (install-mbr.pl, linked above) to install it on your flash drive. > > - PatThanks Pat. I always seem to forget about the MBR =) But the freedos-mbr did not work for me. The one supplied with syslinux worked. Regards, Amit --