blob: 7742b67a6735e90f4eb020a40cba73157b2b8882 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# /etc/default/grub
# If you change this file, run 'grub-mkconfig -o /boot/grub/grub.cfg' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=saved
GRUB_DISTRIBUTOR=Rogentos
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=5
GRUB_DISABLE_LINUX_UUID=true
# Add your extra parameters here below
# Dear user, put your boot flags here ;-)
GRUB_CMDLINE_LINUX_DEFAULT=""
# ATTENTION ATTENTION ATTENTION
# DO NOT EDIT THIS MANUALLY NOR SET IT TO EMPTY IF IT'S ALREADY FILLED WITH
# SOMETHING (DONE BY THE INSTALLER). REALLY, DON'T !
GRUB_CMDLINE_LINUX=""
# ATTENTION ATTENTION ATTENTION
# 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=1024x768
# 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 entrys
# GRUB_DISABLE_LINUX_RECOVERY="false"
# Default wallpaper image path
GRUB_WALLPAPER="/boot/grub/default-splash.png"
# Boot menu option normal color
GRUB_COLOR_NORMAL="white/black"
# Boot menu option "highlight" color
GRUB_COLOR_HIGHLIGHT="magenta/black"
if [ -f "/etc/default/rogentos-grub" ]; then
# this file is placed by the Rogentos Installer and contains
# custom GRUB_CMDLINE_LINUX parameters created at install
# time.
source /etc/default/rogentos-grub
fi
# DO NOT REMOVE THIS IF YOUR GRUB_CMDLINE_LINUX IS EMPTY (BACKWARD COMPAT)
if [ -z "${GRUB_CMDLINE_LINUX}" ]; then
if [ ! -e "/proc/cmdline" ]; then
echo "ATTENTION ATTENTION ATTENTION" >&2
echo "GRUB_CMDLINE_LINUX is not set inside /etc/default/grub" >&2
echo " cannot generate a bootable configuration." >&2
else
echo "ATTENTION ATTENTION ATTENTION" >&2
echo "GRUB_CMDLINE_LINUX is not set inside /etc/default/grub" >&2
echo " grub is going to use your /proc/cmdline content" >&2
GRUB_CMDLINE_LINUX="`cat /proc/cmdline | sed -e 's#BOOT_IMAGE=.* ro ##g'`"
fi
fi
|