Commit 9fba15b
committed
M9.R.37.7: GRUB menu on serial console so headless QEMU boot succeeds
The runMinimalBootstrap GRUB config wrote set timeout=5 + a single
ReproOS menuentry but no serial terminal config. Consequence: on a
headless QEMU run (-nographic -serial mon:stdio), GRUB renders the menu
on the framebuffer ONLY, and since the framebuffer doesn't exist, the
serial console sees nothing. The 5s timeout ticks down internally but
no boot ever triggers AND no key event reaches GRUB. Stage-2 boot
hangs in GRUB indefinitely.
Fix: wire GRUB's UI to BOTH the console AND ttyS0 via
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
terminal_input console serial
terminal_output console serial
set timeout_style=hidden
set timeout=3
timeout_style=hidden skips the interactive menu entirely (no risk
of the FIFO driver's idle input typing into edit mode), and 3s is
enough for a serial console to settle.
Also bump _m9r37_boot_installed.sh's sleep from 90s to 150s so the FIFO
input lands after the installed system reaches the login prompt, not
during early kernel init.1 parent 97e15b7 commit 9fba15b
2 files changed
Lines changed: 21 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
600 | 600 | | |
601 | 601 | | |
602 | 602 | | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
603 | 612 | | |
604 | | - | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
605 | 618 | | |
606 | 619 | | |
607 | 620 | | |
| |||
0 commit comments