[syslinux] simple message under BIOS/CSM/LEGACY

Pascal patatetom at gmail.com
Mon Aug 1 23:30:52 PDT 2022


yes, my live (Linux USB) system is UEFI-only, but this tiny MBR boot code
is intended to be run/executed on a pc that boots under BIOS and not under
UEFI :
*"hey, your pc boots in BIOS : if you want to play with me, boot in UEFI
;-)"*
it works well under some BIOS and not under others where it displays
nothing or just a character that looks like a smiley.

Le lun. 1 août 2022 à 23:35, Gregory Bartholomew <
gregory.lee.bartholomew at gmail.com> a écrit :

> On Mon, Aug 1, 2022 at 2:54 AM Pascal via Syslinux <syslinux at syslinux.org>
> wrote:
>
>> hi,
>>
>> I have a live system with only UEFI boot supported.
>>
>> to indicate this to users who have not yet switched to UEFI, I have below
>> this simple little piece of code (partly found on the internet) that I
>> compile with nasm and I push onto the MBR.
>>
>> it runs perfectly on some PCs and in virtual machine with Qemu, but
>> refuses
>> to run on other PCs by displaying either a kind of smiley logo or a simple
>> blinking cursor.
>>
>> does anyone have any idea or clue about this?
>>
>>
> I guess a truly UEFI-only system won't execute a MBR first-stage
> bootloader. You'd probably have to compile your program as an EFI
> executable and put it on the ESP on such systems. :)
>


More information about the Syslinux mailing list