Michael Zhu
2002-Sep-13 20:47 UTC
[syslinux] Any errors in the process for creating bootable DOS image
Hi all,
I want to create a bootable DOS 6.22 image for
pxelinux + memdisk. The following is my steps, anyone
who knows what wrong with them?
1. Create image from a bootable floppy
dd if=/dev/fd0 of=dosboot.img
dd if=/dev/fd0 of=dos.bss bs=512 count=1
mount -o loop -t msdos dosboot.img /mnt/image
cp dos.bss /mnt/image
umount /mnt/image
2. config file in pxelinux.cfg folder
LABEL dos
KERNEL memdisk
APPEND initrd=dosboot.img
The error message are:
......
Disk is floppy, 1440 K, C/H/S = 80/2/18
......
Booting ...
Non-System disk or disk error
Replace and press any key when ready
Any help is appreciated.
Michael Zhu
__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com
H. Peter Anvin
2002-Sep-13 22:20 UTC
[syslinux] Any errors in the process for creating bootable DOS image
Michael Zhu wrote:> Hi all, > > I want to create a bootable DOS 6.22 image for > pxelinux + memdisk. The following is my steps, anyone > who knows what wrong with them? > > 1. Create image from a bootable floppy > dd if=/dev/fd0 of=dosboot.img > dd if=/dev/fd0 of=dos.bss bs=512 count=1 > mount -o loop -t msdos dosboot.img /mnt/image > cp dos.bss /mnt/image > umount /mnt/image > 2. config file in pxelinux.cfg folder > LABEL dos > KERNEL memdisk > APPEND initrd=dosboot.img > > The error message are: > ...... > Disk is floppy, 1440 K, C/H/S = 80/2/18 > ...... > Booting ... > > Non-System disk or disk error > Replace and press any key when ready >Step 1 is for a completely different procedure (constructing a hybrid SYSLINUX disk.) -hpa