ubuntuusers.de

Boot Menu verschwunden

Status: Gelöst | Ubuntu-Version: Kubuntu 26.04 (Resolute Raccoon)
Antworten |

len16

Anmeldungsdatum:
11. März 2024

Beiträge: 169

Hallo Forum,

mit dem Upgrade von Kubuntu 24.04 auf Kubuntu 26.04 ist mein Bootmenü leider nicht mehr sichbar.

https://wiki.ubuntuusers.de/GRUB_2/Konfiguration/

/etc/default/grub

#GRUB_DEFAULT=0
#GRUB_TIMEOUT_STYLE=hidden
#GRUB_TIMEOUT=2
#GRUB_DISTRIBUTOR=`( . /etc/os-release && echo ${NAME} )`
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
#GRUB_CMDLINE_LINUX=""

#GRUB_DEFAULT=saved
#GRUB_SAVEDEFAULT=true
#GRUB_DEFAULT=0
#GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=2
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX="locale=en"
GRUB_TIMEOUT_STYLE=menu
GRUB_DISABLE_OS_PROBER=false
GRUB_GFXMODE=1400x1050
GRUB_GFXPAYLOAD_Linux=keep

Es handelt sich um ein Multibootsystem.

Was muss ich ändern, damit das Menü wieder sichtar wird?

VG Len16

trollsportverein

Avatar von trollsportverein

Anmeldungsdatum:
21. Oktober 2010

Beiträge: 6449

"GRUB_DISABLE_OS_PROBER=false" ist zweimal drin, eines davon sollte raus. Danach die GRUB Konfiguration updaten:

sudo update-grub

Der os-prober muss natürlich auch installiert sein. Sollte der os-prober fehlen, dann zuvor noch:

sudo apt-get install os-prober

len16

(Themenstarter)

Anmeldungsdatum:
11. März 2024

Beiträge: 169

Die doppelte Zeile habe ich entfernt.

sudo apt-get install os-prober
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
os-prober ist schon die neueste Version (1.84ubuntu1).
Auflösen von Abhängigkeiten… Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

os-prober war bei K 24.04 und ist bei K 26.04 installiert.

sudo update-grub
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-7.0.0-14-generic
Found initrd image: /boot/initrd.img-7.0.0-14-generic
Found linux image: /boot/vmlinuz-6.8.0-110-generic
Found initrd image: /boot/initrd.img-6.8.0-110-generic
Found memtest86+ 64bit EFI image: /boot/mt86+x64
Found memtest86+ 32bit EFI image: /boot/mt86+ia32
Found memtest86+ 64bit image: /boot/mt86+x64
Found memtest86+ 32bit image: /boot/mt86+ia32
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Found Arch Linux on /dev/sda8
Adding boot menu entry for UEFI Firmware Settings ...
done

Das Menu wird leider nicht angezeigt.

#GRUB_DEFAULT=saved
#GRUB_SAVEDEFAULT=true
#GRUB_DEFAULT=0
#GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=2
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX="locale=en"
GRUB_TIMEOUT_STYLE=menu
GRUB_DISABLE_OS_PROBER=false
GRUB_GFXMODE=1400x1050
GRUB_GFXPAYLOAD_Linux=keep

Was muss ich ändern?

https://gitlab.com/scripts94/kubuntu-26.04-lts-important-things-to-do-after-an-installation

4.b) Change GRUB to show the boot menu with all installed systems for 5 seconds in multi-boot setups
(= Kubuntu and another Linux or/and Windows are installed - and make sure to definitely disable Windows fast startup if you intend to access the "C:" drive from Linux).


sudo cp /etc/default/grub /etc/default/grub.orig
(this makes a backup of your /etc/default/grub​ file first)
sudo sed -i 's/GRUB_TIMEOUT_STYLE=hidden/GRUB_TIMEOUT_STYLE=menu/' /etc/default/grub
(this makes GRUB show the boot menu)
sudo sed -i 's/GRUB_TIMEOUT=0/GRUB_TIMEOUT=5/' /etc/default/grub
(this writes the timeout value to your system)
sudo sed -i 's/#GRUB_DISABLE_OS_PROBER=false/GRUB_DISABLE_OS_PROBER=false/' /etc/default/grub
(this makes other systems visible in the boot menu)
sudo update-grub
(this updates your GRUB boot loader with the new values)


The change will be visible during the reboot after step 6. (7.)

von.wert

Anmeldungsdatum:
23. Dezember 2020

Beiträge: 14705

Wichtig ist ja eigentlich nur, daß Arch bootet. 😈

Werden denn überhaupt irgendwelche Änderungen berücksichtigt? Mit anderen Worten, ist das der einzige Grub?

len16

(Themenstarter)

Anmeldungsdatum:
11. März 2024

Beiträge: 169

Drücke ich die ESC Taste beim Booten, dann komme ich in das Grub Menu.

Ich möchte das Grub Auswahl Menu, wie zuvor bei K 24.04 immer sehen.

Kubuntu 26.04 ist "Mastersystem" mit Grub.

Wie kann ich Grub UEFI kommplett sauber entfernen und dann neu installieren?

 dpkg -l grub* | grep ii
ii  grub-common             2.14-2ubuntu2       amd64        GRand Unified Bootloader, version 2 (dummy package)
ii  grub-efi-amd64          2.14-2ubuntu1       amd64        GRand Unified Bootloader, version 2 (EFI-AMD64 version)
ii  grub-efi-amd64-bin      2.14-2ubuntu1       amd64        GRand Unified Bootloader, version 2 (EFI-AMD64 modules)
ii  grub-efi-amd64-signed   1.215+2.14-2ubuntu1 amd64        GRand Unified Bootloader, version 2 (EFI-AMD64 version, signed)
ii  grub-efi-amd64-unsigned 2.14-2ubuntu1       amd64        GRand Unified Bootloader, version 2 (EFI-AMD64 images)
ii  grub-pc-bin             2.14-2ubuntu2       amd64        GRand Unified Bootloader, version 2 (PC/BIOS modules)
ii  grub-theme-breeze       6.6.4-0ubuntu1      amd64        Breeze theme for GRUB 2
ii  grub2-common            2.14-2ubuntu2       amd64        GRand Unified Bootloader (common files for version 2)

trollsportverein

Avatar von trollsportverein

Anmeldungsdatum:
21. Oktober 2010

Beiträge: 6449

Das da: "GRUB_TIMEOUT_STYLE=menu", sollte das Menü anzeigen. Das da: "GRUB_TIMEOUT=2", sollte die Zeitdauer einstellen, wie lange das Menü angezeigt wird, bevor es den default Eintrag bootet. 2 Sekunden sind ziemlich kurz.

"hidden" heißt übersetzt in 🇩🇪 "versteckt". Wenn das Grub Menü versteckkt ist, dann sieht man es nicht.

Mylin

Avatar von Mylin

Anmeldungsdatum:
23. Juli 2024

Beiträge: 561

von.wert schrieb:

... Mit anderen Worten, ist das der einzige Grub?

Es kann nur keinen geben. 😈

von.wert

Anmeldungsdatum:
23. Dezember 2020

Beiträge: 14705

trollsportverein schrieb:

bevor es den default Eintrag bootet

...der auskommentiert ist.

Wenn ich da so sehe, daß da nach angeblichen "important things to do after an installation" /etc/default/grub zurechtgestutzt wird, gehe ich davon aus, daß wir hier nicht sämtliche Informationen zur Sache haben.


Mylin, was immer Du damit sagen willst.

Mylin

Avatar von Mylin

Anmeldungsdatum:
23. Juli 2024

Beiträge: 561

von.wert

Das der einzige Grub nur kein Grub sein kann.

len16

(Themenstarter)

Anmeldungsdatum:
11. März 2024

Beiträge: 169

Bei Kubuntu 24.04 :

cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
#GRUB_DEFAULT=0
#GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=2
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
#GRUB_ENABLE_CRYPTODISK=y
#GRUB_DISABLE_OS_PROBER=false

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

Das Menu wird angezeigt.

Wie übertrage das auf Kubuntu 26.04, damit das Grub Menu angzeigt wird?

NurNochDebianUser

Anmeldungsdatum:
18. Februar 2026

Beiträge: 540

Schmeiß doch mal den

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

raus und ersetze ihn durch

GRUB_CMDLINE_LINUX_DEFAULT=""

Dann solltest du keinen graphischen Splash Screen mehr angezeigt bekommen während dein Kubuntu bootet und damit kann das auch kein nur 2 Sek. sichtbares Grub-Menu verbergen, denn du siehst dann stattdessen die Text-basierten Kernel-Logs.

Nachtrag:

und wenn das funktioniert, also du die Kernel-Logs siehst, weißt du auch sicher, dass du die richtige Datei editiert hast.

Dass nach jeder Änderung ein

sudo update-grub

erforderlich ist, sollte hoffentlich klar sein ...

len16

(Themenstarter)

Anmeldungsdatum:
11. März 2024

Beiträge: 169

Jetzt habe ich nicht die "neuen" Paketversionen des Betreuers genutzt.

cat /etc/default/grub
vergrößern: Befehl nicht gefunden.
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
#GRUB_DEFAULT=0
#GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=2
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
#GRUB_ENABLE_CRYPTODISK=y
#GRUB_DISABLE_OS_PROBER=false

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

Mit der Konfiguration ist das Boot Menu bei Kubuntu 26.04 wieder.

Danke

INFO https://i.imgur.com/1jwUEFR.jpeg

Anhang

Antworten |