Hi there! I have a bit problem with syslinux, I want to boot from a binary file, I don't want to have any OS(any kernel), so how can I do that? Should I make a special binary file? what should I specify in syslinux.cfg? ------------------------------- Hamid Reza Hasani thanks a lot! Ya Ali
Hamid Reza Hasani wrote:> Hi there! > I have a bit problem with syslinux, > I want to boot from a binary file, I don't want to have any OS(any > kernel), so how can I do that? > Should I make a special binary file? what should I specify in syslinux.cfg?What kind of binary file do you have? You can boot an ELF image with elf.c32, or a raw binary image with pmload.c32. Perhaps the easiest thing, however, would be to do a .com (16 bit) or .c32 (32 bit) file, both of which are plain binary files linked to a specific address (0x100 and 0x101000, respectively.) See the file doc/comboot.txt for more details. -hpa
Hallo, Hamid, Du (hr.hasani) meintest am 04.09.08:> I want to boot from a binary file, I don't want to have any OS(any > kernel), so how can I do that? > Should I make a special binary file? what should I specify in > syslinux.cfg?Think of a boot disk. Make an image of the boot disk, p.e. with "dd". syslinux.cfg # -------------- label bootdisk kernel memdisk append bootdisk.img # -------------- The file "memdisk" is part of the "syslinux package. Viele Gruesse! Helmut