Ihar Hancharenka 7f761ffa8b m
2024-04-09 11:14:43 +03:00

42 строки
1.2 KiB
Plaintext

https://www.gnu.org/software/grub/manual/grub/html_node/Simple-configuration.html
https://wiki.archlinux.org/title/GRUB
# For full documentation of the options in this file, see:
info -f grub -n 'Simple configuration'
???
etc/default/grub.d
cat /etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
/etc/default/grub
GRUB_THEME="/usr/share/grub/themes/starfield/theme.txt"
ubuntu:
sudo update-grub
other:
grub-mkconfig -o /boot/grub/grub.cfg
generated (do not edit):
/boot/grub/grub.cfg
cat /usr/sbin/grub-mkconfig
https://microsin.net/adminstuff/xnix/nomodeset-quiet-splash-kernel-parameters.html
https://microsin.net/adminstuff/xnix/linux-kernel-parameters.html
https://microsin.net/adminstuff/xnix/ubuntu-nomodeset-boot-mode.html
GRUB_CMDLINE_LINUX_DEFAULT="nomodeset"
# - quiet splash
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="nomodeset"
GRUB_CMDLINE_LINUX=""