[syslinux] [PATCH] ifmemdsk.c32: Allow boot options based on presence of MEMDISK

Bernd Blaauw bblaauw at home.nl
Wed Aug 10 13:04:52 PDT 2011


Op 6-8-2011 11:43, Shao Miller schreef:
> Below, attached, and available at the 'ifmemdsk' branch at:
>
> http://git.zytor.com/?p=users/sha0/syslinux.git;a=commitdiff;h=a975c12919bbd48739fede4ebfe099d98b87192e
>
>
> Review welcome!

I'll implement your ifmemdsk module anyway, but just realised I'm kinda 
being silly for building a small shell around my (inner) ISO.
A better question therefor is:
"is it possible to use some memdisk-like module to mirror the boot 
medium itself to RAM then boot from it?".

a MEMDISK-SELF module, sort of. For anything over 100MB or so this might 
not be fun though, likely consuming too much time. But it could work for 
small 'CDs' and 'diskettes' (or anything resembling it).

floppy --> bootsector --> syslinux --> ifmemdsk.c32 --> memdisk-self -->
(ram-img) --> bs --> syslinux --> ifmemdsk --> "chain.c32 something.bss"

Seeing as the ELTORITO driver finds some kind of ISO9660 bootsector / 
magic hook, same procedure might work for Isolinux (read/copy blocks 
till done)

I admit all this stuff is way too realmode/DOS-specific, might thus not 
be worth general coding time as there's a current option that works (ISO 
+ tiny shell and for low end systems a tiny bootdisk image)




More information about the Syslinux mailing list