Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] GRUB menu has disappeared  (Read 5290 times)

Offline debsid

  • User
  • Posts: 23
[EN] Re: GRUB menu has disappeared
« Reply #30 on: 2024/01/30, 12:06:59 »
Sections that I see as relevant for (non-)display:
[...]
Try to change entries to your advantage.

Thank you. I posted the grub.cfg that is working now in console mode. That is, the last working version I had. But I have tried incorporating those settings from the other laptop to absolutely no avail. I now have three scenarios, and none of which is actually really OK:
  • I enable console mode, then I see the blue screen grub of that mode and everything works
  • I disable console mode hoping to achieve a graphical mode, grub menu disappears, but grub itself seems to be working in hidden mode
  • This is new: after the latest round of playing with settings, I can enable the console mode that gives me the blue screen. But if I chose to see the available booting options, the screen changes to the chromatic setting with the black background, which indicates a mixed scenario.
The last version happened yesterday, after I tried a couple of settings. The strange thing is, I marked all my changes and made sure they are all  removed, and the simple console mode enabled. Still, I get this mixed state!!! Really confused with what's going on here.

Offline ro_sid

  • User
  • Posts: 227
Re: GRUB menu has disappeared
« Reply #31 on: 2024/01/30, 14:48:56 »
Thanks. May be, my concerns are irrelevant, but what I am missing in your configuration - with regard to the display - is something like what is appended here:
Code: [Select]
### BEGIN /etc/grub.d/00_header ###
[...]
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    if [ x$grub_platform = xefi ]; then
      insmod efi_gop
      insmod efi_uga
    else
      insmod ieee1275_fb
      insmod vbe
      insmod vga
      insmod video_bochs
      insmod video_cirrus
    fi
  fi
}
[...]
### END /etc/grub.d/00_header ###
i.e. loading efi driver modules.
which is afterwards called like
Code: [Select]
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=1
else
set vt_handoff=
fi
}
[...]
menuentry "Debian GNU/Linux Live ${debian12_vers} (nomodeset) [bookworm] (ISO)" --class debian --class gnu-linux --class gnu --class os {
recordfail
load_video
gfxmode $linux_gfx_mode
[...]
}
[...]
### END /etc/grub.d/10_linux ###

The colour-scheme should be something like
Code: [Select]
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###
I do hope, it helps a little.

Offline debsid

  • User
  • Posts: 23
Re: GRUB menu has disappeared
« Reply #32 on: 2024/02/01, 12:21:38 »
Thanks. May be, my concerns are irrelevant, but what I am missing in your configuration - with regard to the display - is something like what is appended here:
Code: [Select]
### BEGIN /etc/grub.d/00_header ###
[...]
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    if [ x$grub_platform = xefi ]; then
      insmod efi_gop
      insmod efi_uga
   
[...]
### END /etc/grub.d/00_header ###
[...]
Code: [Select]
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=1
else
set vt_handoff=
fi
}
[...]
menuentry "Debian GNU/Linux Live ${debian12_vers} (nomodeset) [bookworm] (ISO)" --class debian --class gnu-linux --class gnu --class os {
recordfail
load_video
gfxmode $linux_gfx_mode
[...]
}
[...]
### END /etc/grub.d/10_linux ###

The colour-scheme should be something like
Code: [Select]
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###
I do hope, it helps a little.

With a slightly different syntax, I have all that you point out. I suppose it was not shown in the diff because both laptops have it.

I'll continue to investigate.