[syslinux] [PATCH] gfxboot.c: gfx_media_type setting implementedfor isolinux
Sebastian Herbszt
herbszt at gmx.de
Sun May 30 12:42:36 PDT 2010
Anton V. Boyarshinov wrote:
> On Sat, 29 May 2010 21:06:51 +0200 Sebastian Herbszt wrote:
>
>> > Here is a small patch, implementing gfx_media_type calculation when
>> > isolinux is used.
>>
>> What about SYSLINUX and EXTLINUX?
> I think that in most cases SYSLINUX and EXTLINUX booted from HD
> (default zero) or, sometimes, from floppy. But i don't know well how to
> detect floppy. And i think that a part is better then nothing.
I will try the following:
if (drive_number < 0x80 ) then floppy else disk;
if (filesystem == SYSLINUX_FS_ISOLINUX) then check cd_mode;
Not sure what to do with PXELINUX because gfxboot doesn't have a media type
for it. Currently we set boot_drive to 0 so maybe set the media type to floppy too.
> And really it was a fix for real life problem with automatic selection
> of installation source while boot from HYBRID ISO.
>
> Anton
Sebastian
More information about the Syslinux
mailing list