Strona 1 z 1

Konfiguracja uruchamania systemu.

: 27 kwie 2024, 19:29
autor: Kxliner
Przy starcie systemu mam czarny ekran z opcjami rozruchu z 30 sekundowym opóźnieniem.
/etc/default/grub wygląda u nie tak.

Kod: Zaznacz cały

# 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='Kubuntu'
GRUB_CMDLINE_LINUX_DEFAULT='quiet splash'
GRUB_CMDLINE_LINUX=""

# If your computer has multiple operating systems installed, then you
# probably want to run os-prober. However, if your computer is a host
# for guest OSes installed via LVM or raw disk devices, running
# os-prober can cause damage to those guest OSes as it mounts
# filesystems to look for things.
#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_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"
Gdzie można coś ustawić krótszy czas rozruchu. Nie spotkałem się dotychczas z czymś takim. Proszę o jakąś podpowiedź.

Re: Konfiguracja uruchamania systemu.

: 27 kwie 2024, 20:23
autor: kobrawerde
Ja mam tak (7s) z tym że menu grub pamięta ostatni wybór systemu i pozostaje na nim dla mnie to lepszy wybór bo czasami chcemy automatycznego restartu do konkretnej dystrybucji :-)

Kod: Zaznacz cały

GRUB_DEFAULT=saved
GRUB_TIMEOUT=7
GRUB_DISTRIBUTOR="$(unset PRETTY_NAME; (. /etc/lsb-release; echo ${PRETTY_NAME:?}) 2>/dev/null || echo Debian)"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
czyli jaki widać wystarczą te dwie pierwsze linie wpisu

Re: Konfiguracja uruchamania systemu.

: 28 kwie 2024, 15:45
autor: Kxliner
Dzięki za odpowiedź, ale nic mi to nie dało. Ekran przypomina ten, który pojawia się na początku instalacji i nadal jest 30 sekund opóźnienia.

Re: Konfiguracja uruchamania systemu.

: 28 kwie 2024, 17:29
autor: kobrawerde
A zrobiłeś po zmianie danych w pliku grub jeszcze w terminalu ... sądziłem że to oczywiste i znane do aktualizacji grub-a :razz:

Kod: Zaznacz cały

sudo update-grub
Tak jak edycja pliku grub trzeba dokonywać z uprawnieniami root-a

Kod: Zaznacz cały

sudo nano /etc/default/grub
zapis nano ... ctrl-x ...t ...enter
Polecam poczytać o grub -ie a zwłaszcza jego upiększeniu / skinach /
viewtopic.php?t=184118&hilit=grub+theme
https://k1ng.dev/distro-grub-themes/preview

Re: Konfiguracja uruchamania systemu.

: 28 kwie 2024, 18:53
autor: Kxliner
Bardzo dziękuję Ci za odpowiedź, ale mam trochę pojęcia o edycji plików konfiguracyjnych, gdyż już ponad 20 lat siedzę w Linuksie. Gruba również konfigurowałem wiele razy. To jest pierwszy przypadek tego typu i dlatego zapytałem.
Teraz mój grub tak wygląda:

Kod: Zaznacz cały

# 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_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR='Kubuntu'
GRUB_CMDLINE_LINUX_DEFAULT='quiet splash'
GRUB_CMDLINE_LINUX=""

# If your computer has multiple operating systems installed, then you
# probably want to run os-prober. However, if your computer is a host
# for guest OSes installed via LVM or raw disk devices, running
# os-prober can cause damage to those guest OSes as it mounts
# filesystems to look for things.
#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_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"