summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlackNoxis <stevencristian@hotmail.com>2012-07-27 00:22:58 +0300
committerBlackNoxis <stevencristian@hotmail.com>2012-07-27 00:22:58 +0300
commitabd6733bf28ca8a011ba18c49e3f5356d3f5ca78 (patch)
treef6cd806d9010f259465e641fea05943d686d2b8e
parent8daf857c01cb38ef463ed37fb31f97405647ca14 (diff)
commit 1
-rw-r--r--skel/.default/grub63
1 files changed, 63 insertions, 0 deletions
diff --git a/skel/.default/grub b/skel/.default/grub
new file mode 100644
index 0000000..7742b67
--- /dev/null
+++ b/skel/.default/grub
@@ -0,0 +1,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