[syslinux] help: booting dos from syslinux/memdisk

Thomas Baumann tom at tiri.li
Wed Jul 2 07:57:56 PDT 2003


How is the syntax for the
syslinux.cfg
to boot any bootsector i want ?

e.g. i have a structure like
disk/freedos/freedos-files...
disk/pcdos7/pcdos7-files...
disk/win98/win98-files...

and I have all the bootsectors extracted with
dd if=/dev/fd0 of={freedos.bss,pcdos7.bss,win98.bss}

How can I modify my multi-DOS image to boot
the OS I want, e.g.
SAY 1 boot win98
SAY 2 boot freedos
SAY 3 boot pcdos7
SAY 4 boot linux
PROMPT 1
LABEL 1
   KERNEL win98.bss
LABEL 2
   KERNEL pcdos7.bss
LABEL 3
   KERNEL freedos.bss
LABEL 4
   KERNEL vmlinuz
   INITRD initrd.img

I know, the above config has errors, but now, I hope
you know what I want. Sorry for uncomplete the postings
before. (I did not know, that a [single dot] in a line
would cut the message (maybe a fault of our mailserver)).
I do apologize for that.

I think the approach with dosemu for my goal is not the right way.
But thanks for the idea.

Thanks for any further help in andvance.

Thomas.

Zitat von Christian Marg <christian.marg at tu-clausthal.de>:

> | Loading boot sector... booting...
> | SYSLINUX 2.04
> | welcome!
> | boot: 1
> | [single dot]         ... this seemed to be the problem for cutting my
> mail!
> | boot disk failure                                              <<<< [B]
> |       ### here it hangs.
> |
> | Question [B]:
> | It seems syslinux cannot take the correct bootsector from dos.bss
> | then it hangs and does not boot,  although I have
> | command.com and ibmbio.com etc. (see ls output).
> | How can I boot ?
> |
> Of course the process of doing that is slightly more complicated since
> it involves some DOSEMU config file hacking, but you get a Diskimage
> that'll boot with DOS...
> 

-- 
Thomas Baumann // Postfach 110115 // D-64216 Darmstadt // <tom at tiri.li>



More information about the Syslinux mailing list