Habe auf lenov thinkstation linux mint 22.1 und 21.3 instalierte möchtewegen paar program das 21.3 alls erste steht und 5 sekudne in gestarten wird

4nudels

Lt. Commander
Registriert
Apr. 2020
Beiträge
1.487
Bitte um Hilfe danke DEsktop ist Xfce
 
Hallo @4nudels, du möchtest also hier eine Beratung zur GRUB-Konfiguration?
 
  • Gefällt mir
Reaktionen: netzgestaltung und redjack1000
ja bitte möchte das stat lm 22.1 xfce 21.3 xfce zuesrt steht im grub und nach 5 sekuden lm 21.3 xfce gestartet ist im bios mode instlaliert der grub
 
kommt gleich muss kurz wc und dan gerät wechseln bin grade notebook on
 
Beides geschieht in der Datei /etc/default/grub

Den Timeout kannst du auf 5 Sekunden festlegen indem du angibst:
Code:
GRUB_TIMEOUT=5

Zur Vorauswahl des zuletzt benutzten Betriebssystems ist es am angenehmsten wenn du:
Code:
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true

hinzufügst. Falls du alternativ immer das selbe Betriebssystem vorbelegt haben möchtest, unabhängig davon was du beim letzten Start ausgewählt hast:
Code:
GRUB_DEFAULT="Linux Mint 21.3 (loader) (on /dev/sda1)"

Dieser Eintrag muss exakt der Name sein der dir im Grubmenü angezeigt wird. Im Anschluss überschreibst du deine bestehende Grub-Datei mit dem Befehl:
Code:
grub-mkconfig -o /boot/grub/grub.cfg
 
Zuletzt bearbeitet:
  • Gefällt mir
Reaktionen: dms
das zustand jetzt

oder das falsche dateil ?


! /bin/sh
set -e

# Set distributor to "Ubuntu"
#
# In Mint 16:
# shim and grub come with hardcoded ubuntu strings upstream, without this EFI installation is broken
# https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1242417
#
# In Mint 17:
# Despite the bug report being marked as fixed, the situation is the same. Grub was patched by Ubuntu
# to assign the "ubuntu" distributor ID when it was given "Kubuntu". That results in Kubuntu finally
# getting EFI to work out of the box but still using "ubuntu" as far as grub-install is concerned.
# So we'll stick to "Ubuntu" for this iteration.
#
# In Mint 18:
# Some packages are still hardcoded with the "ubuntu" path.. fwupdate for instance.
# Visually, the grub boot menuentry name is set for derivatives in 10_linux,
# but underneath the EFI path remains "ubuntu" for everything to work properly.

GRUB_DISTRIBUTOR="Ubuntu"

# Re-enable OS Prober
# Since Mint 21
# https://lists.gnu.org/archive/html/grub-devel/2021-03/msg00120.html
GRUB_DISABLE_OS_PROBER=false
Ergänzung ()

finbde datei ned mus das in 22.1 machen ?
Ergänzung ()

so korrekt

# 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=5
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
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"
 
Zuletzt bearbeitet:
Zurück
Oben