Skip to content

Commit c6dcc95

Browse files
mastacontrolaclaude
andcommitted
Stop legacy BIOS clients trying to sanboot the floppy on exit
`sanboot --drive 0` is a UEFI idea: it means "the first disk carrying \EFI\Boot\bootx64.efi". Under BIOS, iPXE hands the number straight to int13, where 0x00 is the first FLOPPY and hard disks start at 0x80 -- so since 5583681 (2024-07) every legacy client has spent its first exit attempt trying to boot a floppy that is not there: Booting from SAN device 0x00 Boot from SAN device 0x00 failed: Input/output error Booting from SAN device 0x80 That commit prepended the EFI probe to a string that had been `--drive 0x80 || 0x81 || 0x82`, and applied it to both platforms. The `|| 0x80` behind it means the machine usually still boots, which is why it went unnoticed for two years -- but the failed int13 attempt is not free on every firmware, and the error it prints sends people hunting a disk fault that does not exist (forum topic 18237, a Wyse 5060 in legacy mode). Gate on platform, not arch, and only where ${platform} is positively known NOT to be efi -- it is absent from some older chain URLs, and EFI is the safe assumption when missing: an EFI client handed the BIOS string loses the \EFI\Boot probe, while a BIOS client handed the EFI string is the bug being fixed. Same shape as the Secure Boot menu gate already in _filterMenus(). The golden file is the gate: reverting the source line turns 19 BIOS lines red. `exit-sanboot-efi` is new, so both platforms are pinned and a future edit cannot collapse them back to one string. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011yRrcKNuEfUsrgYys9vosD
1 parent b87df74 commit c6dcc95

13 files changed

Lines changed: 123 additions & 31 deletions

File tree

packages/web/management/languages/de_DE.UTF-8/LC_MESSAGES/messages.po

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10410,7 +10410,6 @@ msgstr ""
1041010410
msgid "The term goes in q. limit caps results PER CLASS, not overall, and this route is not paged -- there is no nextUrl to follow. Within a class, names that start with the term sort first. Both fields may also be sent as POST body fields. Also reachable as /search."
1041110411
msgstr ""
1041210412

10413-
#, php-format
1041410413
msgid "The term. Because it is a path segment, a term containing / ? # or % cannot travel this way; use /unisearch?q= instead."
1041510414
msgstr ""
1041610415

packages/web/management/languages/en_US.UTF-8/LC_MESSAGES/messages.po

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10419,7 +10419,6 @@ msgstr ""
1041910419
msgid "The term goes in q. limit caps results PER CLASS, not overall, and this route is not paged -- there is no nextUrl to follow. Within a class, names that start with the term sort first. Both fields may also be sent as POST body fields. Also reachable as /search."
1042010420
msgstr ""
1042110421

10422-
#, php-format
1042310422
msgid "The term. Because it is a path segment, a term containing / ? # or % cannot travel this way; use /unisearch?q= instead."
1042410423
msgstr ""
1042510424

packages/web/management/languages/es_ES.UTF-8/LC_MESSAGES/messages.po

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10576,7 +10576,6 @@ msgstr ""
1057610576
msgid "The term goes in q. limit caps results PER CLASS, not overall, and this route is not paged -- there is no nextUrl to follow. Within a class, names that start with the term sort first. Both fields may also be sent as POST body fields. Also reachable as /search."
1057710577
msgstr ""
1057810578

10579-
#, php-format
1058010579
msgid "The term. Because it is a path segment, a term containing / ? # or % cannot travel this way; use /unisearch?q= instead."
1058110580
msgstr ""
1058210581

packages/web/management/languages/eu_ES.UTF-8/LC_MESSAGES/messages.po

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10411,7 +10411,6 @@ msgstr ""
1041110411
msgid "The term goes in q. limit caps results PER CLASS, not overall, and this route is not paged -- there is no nextUrl to follow. Within a class, names that start with the term sort first. Both fields may also be sent as POST body fields. Also reachable as /search."
1041210412
msgstr ""
1041310413

10414-
#, php-format
1041510414
msgid "The term. Because it is a path segment, a term containing / ? # or % cannot travel this way; use /unisearch?q= instead."
1041610415
msgstr ""
1041710416

packages/web/management/languages/fr_FR.UTF-8/LC_MESSAGES/messages.po

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10403,7 +10403,6 @@ msgstr ""
1040310403
msgid "The term goes in q. limit caps results PER CLASS, not overall, and this route is not paged -- there is no nextUrl to follow. Within a class, names that start with the term sort first. Both fields may also be sent as POST body fields. Also reachable as /search."
1040410404
msgstr ""
1040510405

10406-
#, php-format
1040710406
msgid "The term. Because it is a path segment, a term containing / ? # or % cannot travel this way; use /unisearch?q= instead."
1040810407
msgstr ""
1040910408

packages/web/management/languages/it_IT.UTF-8/LC_MESSAGES/messages.po

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10126,7 +10126,6 @@ msgstr ""
1012610126
msgid "The term goes in q. limit caps results PER CLASS, not overall, and this route is not paged -- there is no nextUrl to follow. Within a class, names that start with the term sort first. Both fields may also be sent as POST body fields. Also reachable as /search."
1012710127
msgstr ""
1012810128

10129-
#, php-format
1013010129
msgid "The term. Because it is a path segment, a term containing / ? # or % cannot travel this way; use /unisearch?q= instead."
1013110130
msgstr ""
1013210131

packages/web/management/languages/ja_JP.UTF-8/LC_MESSAGES/messages.po

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10083,7 +10083,6 @@ msgstr ""
1008310083
msgid "The term goes in q. limit caps results PER CLASS, not overall, and this route is not paged -- there is no nextUrl to follow. Within a class, names that start with the term sort first. Both fields may also be sent as POST body fields. Also reachable as /search."
1008410084
msgstr ""
1008510085

10086-
#, php-format
1008710086
msgid "The term. Because it is a path segment, a term containing / ? # or % cannot travel this way; use /unisearch?q= instead."
1008810087
msgstr ""
1008910088

packages/web/management/languages/messages.pot

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8923,7 +8923,6 @@ msgstr ""
89238923
msgid "The term goes in q. limit caps results PER CLASS, not overall, and this route is not paged -- there is no nextUrl to follow. Within a class, names that start with the term sort first. Both fields may also be sent as POST body fields. Also reachable as /search."
89248924
msgstr ""
89258925

8926-
#, php-format
89278926
msgid "The term. Because it is a path segment, a term containing / ? # or % cannot travel this way; use /unisearch?q= instead."
89288927
msgstr ""
89298928

packages/web/management/languages/pt_BR.UTF-8/LC_MESSAGES/messages.po

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10406,7 +10406,6 @@ msgstr ""
1040610406
msgid "The term goes in q. limit caps results PER CLASS, not overall, and this route is not paged -- there is no nextUrl to follow. Within a class, names that start with the term sort first. Both fields may also be sent as POST body fields. Also reachable as /search."
1040710407
msgstr ""
1040810408

10409-
#, php-format
1041010409
msgid "The term. Because it is a path segment, a term containing / ? # or % cannot travel this way; use /unisearch?q= instead."
1041110410
msgstr ""
1041210411

packages/web/management/languages/zh_CN.UTF-8/LC_MESSAGES/messages.po

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10406,7 +10406,6 @@ msgstr ""
1040610406
msgid "The term goes in q. limit caps results PER CLASS, not overall, and this route is not paged -- there is no nextUrl to follow. Within a class, names that start with the term sort first. Both fields may also be sent as POST body fields. Also reachable as /search."
1040710407
msgstr ""
1040810408

10409-
#, php-format
1041010409
msgid "The term. Because it is a path segment, a term containing / ? # or % cannot travel this way; use /unisearch?q= instead."
1041110410
msgstr ""
1041210411

0 commit comments

Comments
 (0)