[syslinux] Boot DOS through Pxelinux

Joel C traderjoes12 at gmail.com
Wed Oct 5 11:19:29 PDT 2005


Thanks for your help. I decided to try a different approach by installing
another HDD, created a 3MB partition and installed DOS from a 2-floppy
set. Then I created a DOS image by:
 dd if=/dev/hdb2 of=dos.img
 When the system boots through PXE, however, I'm getting an error:
 ======================================
Loading boot sector... Booting...
 DISK I/O error
 Replace the disk, then press any key
 ======================================
The pxelinux.cfg/default looks like:
 Label foo
kernel memdisk c=1 h=22 s=37
append initrd=dos.img
 =====================================
 I'd appreciate any suggestions/help.
 THanks,
 Joel


 On 10/5/05, Samuel Clements <sclements at linkline.com> wrote:
>
> Joel C wrote:
> > Hello list,
> > My set up is almost complete in booting DOS through PXELinux, but I need
> to
> > create a DOS boot image from (2 )DOS floppies. I've search the archives
> and
> > google
> > but didn't find any relavant info...
> > My current set up now works with the standard setup (with one DOS
> floppy):
> > kernel: memdisk
> > append: initrd=floppy.img ramdisk=10000
> > My goal to is create a floppy.img from 2 DOS floppies with the dd
> command
> > or anything
> > that works. I've tried pretty much everything that I can think of, but
> still
> > not success.
> > Here's a list that I tried:
> > mkdiskimage floppy.img
> > mkdossfs floppy.img
> > mcopy a: /mnt/img
> > syslinux dos.img
>
>
> I'm thinking you want to use mtools to create a 2.88M image - then copy
> the boot files to it, then copy the contents of your two floppies to it,
> to create one large 2.88M boot image - then just use memdisk to load
> that like:
>
> label TP2104 BIOS
> kernel memdisk
> append initrd=TP2104.img
>
> Check here for mtools info: http://mtools.linux.lu/mtools.html
> -Sam
>



More information about the Syslinux mailing list