Bug 2329760 - Grub menu is not visible over EC2 Serial Console
Summary: Grub menu is not visible over EC2 Serial Console
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: 41
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Nicolas Frayer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-01 18:45 UTC by Pavel Raiskup
Modified: 2024-12-13 01:50 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
web-ui-console screenshot (16.86 KB, image/png)
2024-12-01 18:46 UTC, Pavel Raiskup
no flags Details
console-over-ssh screenshot (6.63 KB, image/png)
2024-12-01 18:47 UTC, Pavel Raiskup
no flags Details
screenshot over web-ui is OK (85.41 KB, image/png)
2024-12-01 18:47 UTC, Pavel Raiskup
no flags Details

Description Pavel Raiskup 2024-12-01 18:45:39 UTC
Tested on c7i.xlarge, t3a.small.

From https://fedoraproject.org/wiki/Changes/HiddenGrubMenu
i did:

  sudo grub2-editenv - unset menu_auto_hide

Then:

  1. set GRUB_TIMEOUT=60 # in /etc/sysconfig/grub
  2. grub2-mkconfig > /boot/grub2/grub.cfg

Reboot... the grub menu is neither visible over "ssh console", nor
web-UI console.  See attachments.  If I ask EC2 to create screenshot,
it works (see attachments).

Reproducible: Always

Comment 1 Pavel Raiskup 2024-12-01 18:46:42 UTC
Created attachment 2060702 [details]
web-ui-console screenshot

Comment 2 Pavel Raiskup 2024-12-01 18:47:13 UTC
Created attachment 2060703 [details]
console-over-ssh screenshot

Comment 3 Pavel Raiskup 2024-12-01 18:47:49 UTC
Created attachment 2060704 [details]
screenshot over web-ui is OK

Comment 4 Marta Lewandowska 2024-12-11 21:20:59 UTC
Pavel, did this work before? In f-40 / grub2-2.06?

Comment 5 Leo Sandoval 2024-12-12 16:40:19 UTC
> Then:
> 
>   1. set GRUB_TIMEOUT=60 # in /etc/sysconfig/grub

have you tried the same setting but under /etc/default/grub?

Comment 6 Pavel Raiskup 2024-12-12 22:04:13 UTC
(In reply to Marta Lewandowska from comment #4)
> Pavel, did this work before? In f-40 / grub2-2.06?

I haven't tried (ftr, we went from F39 to F41, skipped F40).

(In reply to Leo Sandoval from comment #5)
> > Then:
> > 
> >   1. set GRUB_TIMEOUT=60 # in /etc/sysconfig/grub
> 
> have you tried the same setting but under /etc/default/grub?

These are symlinks on F41:
$ ls -alh /etc/sysconfig/grub
lrwxrwxrwx. 1 root root 15 21. lis 01.00 /etc/sysconfig/grub -> ../default/grub

Feel free to find me on Matrix/Slack, I can try to allocate some
instance for you so you can experiment.

Comment 7 Leo Sandoval 2024-12-13 01:50:58 UTC
f41 is now based on grub-2.12, so lots of changes compared to f39 (based on grub-2.06)

One idea is to turn on debugging and see if we can get something from it: boot your system and at the cmdline type 'grub2-editenv - set debug=all', attach log please.


Note You need to log in before you can comment on or make changes to this bug.