ubuntuusers.de

Grub2 - /etc/default/grub

Status: Gelöst | Ubuntu-Version: Kubuntu 22.04 (Jammy Jellyfish)
Antworten |

undine

Anmeldungsdatum:
25. Januar 2007

Beiträge: 3400

Hallo Users,

wo finde ich die default Konfiguration von /etc/default/grub in den Sourcen?

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_STYLE=menu
GRUB_TIMEOUT=2
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# 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"

So sieht es bei meinem EFI System zur Zeit aus.

Es handelt sich um ein Multibootsystem.

Greetz

undine

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

kB Team-Icon

Supporter, Wikiteam
Avatar von kB

Anmeldungsdatum:
4. Oktober 2007

Beiträge: 9743

Wohnort: Münster

undine schrieb:

[…] wo finde ich die default Konfiguration von /etc/default/grub in den Sourcen?

Was meinst Du damit?

Falls Du das Paket suchst, welches diese Datei ursprünglich installiert hatte, hilft Dir dieser Befehl:

dpkg-query --search /etc/default/grub 

von.wert

Anmeldungsdatum:
23. Dezember 2020

Beiträge: 12036

undine schrieb:

wo finde ich die default Konfiguration von /etc/default/grub in den Sourcen?

https://packages.ubuntu.com/jammy/amd64/grub2-common/filelist → /usr/share/grub/default/grub

Das ist die Antwort auf Deine Frage. Was Du damit willst, sagst Du nicht.

undine

(Themenstarter)

Anmeldungsdatum:
25. Januar 2007

Beiträge: 3400

Meine /etc/default/grub ist von mir konfiguriert, ich möchte diese mit der "default /etc/default/grub" vergleichen.

Wo, wie komme ich zur Datei "default"-grub von Kubuntu 22.04?

Lidux

Anmeldungsdatum:
18. April 2007

Beiträge: 16762

Hallo undine,

Oder meinst du die angelegte Backupdatei von "grub" ......

Gruss Lidux

undine

(Themenstarter)

Anmeldungsdatum:
25. Januar 2007

Beiträge: 3400

Mein System ist uralt, da ist nichts mehr mit Backup.

Wunsch, siehe Nachricht zuvor.

von.wert

Anmeldungsdatum:
23. Dezember 2020

Beiträge: 12036

undine schrieb:

Wo, wie komme ich zur Datei "default"-grub von Kubuntu 22.04?

Das habe ich Dir verlinkt. Du brauchst nur eine Ebene höher gehen und kannst das. deb-File ziehen.

undine

(Themenstarter)

Anmeldungsdatum:
25. Januar 2007

Beiträge: 3400

Die Datei liegt:

/usr/share/grub/default/grub

 cat /usr/share/grub/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=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# 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

# 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"

Thank's

undine

Lidux

Anmeldungsdatum:
18. April 2007

Beiträge: 16762

Hallo undine,

Uralt .... Bei Kubuntu auch nicht, wenn du dir in etc/default/ .... die versteckten Dateien anzeigen lässt bzw. die mit ~ ?

PS: Wenn Dateien geändert werden, solltest du dier angewöhnen die Originaldatei z.b. als grub.org abzuspeichern.

Gruss Lidux

undine

(Themenstarter)

Anmeldungsdatum:
25. Januar 2007

Beiträge: 3400

black_tencate

Avatar von black_tencate

Anmeldungsdatum:
27. März 2007

Beiträge: 11314

kann ich auch → post/9327021

undine

(Themenstarter)

Anmeldungsdatum:
25. Januar 2007

Beiträge: 3400

Hallo Users,

mit dem Pointrelease 22.5.1 ISO scheint das Problem behoben, bzw. nicht mehr vorhanden.

https://askubuntu.com/questions/1410s-isnt-showing

Once the file is open, add GRUB_DISABLE_OS_PROBER=false to the file, press Ctrl+S to save, and Ctrl+X to exit. Finally, run sudo grub-mkconfig -o /boot/grub/grub.cfg to regenerate your GRUB configuration and boot menu, then type exit to leave the root shell. You can now close the terminal, and you should be done!

Diese Option scheint nicht mehr erforderlich zu sein.

Wie kann ich herausfinden, was geändert wurde?

Wo, wie finde ich den richtigen Changelog?

Greetz

undine

Lautet die Frage dort.

Dieser Thread ist für mich ausreichend gelöst.

Antworten |