From 205fb67e25156143163cba18618abf36af2e2fc9 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Mon, 4 Jan 2021 17:24:00 +0100 Subject: [PATCH] Grub stuff doesn't work properly yet. --- arch-config/etc/default/grub | 55 ------------------------- arch-config/scripts/arcolinux-config.sh | 16 +++---- 2 files changed, 8 insertions(+), 63 deletions(-) delete mode 100644 arch-config/etc/default/grub diff --git a/arch-config/etc/default/grub b/arch-config/etc/default/grub deleted file mode 100644 index 6f1a0966..00000000 --- a/arch-config/etc/default/grub +++ /dev/null @@ -1,55 +0,0 @@ -# GRUB boot loader configuration - -#GRUB_DEFAULT=0 -GRUB_DEFAULT="Advanced options for ArcoLinux Linux>ArcoLinux Linux, with Linux linux-zen" -GRUB_TIMEOUT=5 -GRUB_DISTRIBUTOR="ArcoLinux" -GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=3 audit=0" -GRUB_CMDLINE_LINUX="" - -# Preload both GPT and MBR modules so that they are not missed -GRUB_PRELOAD_MODULES="part_gpt part_msdos" - -# Uncomment to enable booting from LUKS encrypted devices -#GRUB_ENABLE_CRYPTODISK=y - -# Set to 'countdown' or 'hidden' to change timeout behavior, -# press ESC key to display menu. -GRUB_TIMEOUT_STYLE=menu - -# Uncomment to use basic console -GRUB_TERMINAL_INPUT=console - -# Uncomment to disable graphical terminal -#GRUB_TERMINAL_OUTPUT=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=auto - -# Uncomment to allow the kernel use the same resolution used by grub -GRUB_GFXPAYLOAD_LINUX=keep - -# Uncomment if you want GRUB to pass to the Linux kernel the old parameter -# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx" -#GRUB_DISABLE_LINUX_UUID=true - -# Uncomment to disable generation of recovery mode menu entries -GRUB_DISABLE_RECOVERY=true - -# Uncomment and set to the desired menu colors. Used by normal and wallpaper -# modes only. Entries specified as foreground/background. -#GRUB_COLOR_NORMAL="light-blue/black" -#GRUB_COLOR_HIGHLIGHT="light-cyan/blue" - -# Uncomment one of them for the gfx desired, a image background or a gfxtheme -#GRUB_BACKGROUND="/path/to/wallpaper" - -# Uncomment to get a beep at GRUB start -#GRUB_INIT_TUNE="480 440 1" - -# Uncomment to make GRUB remember the last selection. This requires -# setting 'GRUB_DEFAULT=saved' above. -#GRUB_SAVEDEFAULT="true" -GRUB_THEME="/usr/share/grub/themes/Xenlism-Arch/theme.txt" diff --git a/arch-config/scripts/arcolinux-config.sh b/arch-config/scripts/arcolinux-config.sh index 9d304cd5..273dff4e 100644 --- a/arch-config/scripts/arcolinux-config.sh +++ b/arch-config/scripts/arcolinux-config.sh @@ -92,17 +92,17 @@ cp -r ~/config/scripts/ ~/ cp -r ~/config/.cache ~/ #copy stuff to /etc -#sudo cp -r ~/config/etc / -sudo rsync --exclude=default/grub ~/config/etc /etc/ +sudo cp -r ~/config/etc / +#sudo rsync --exclude=default/grub ~/config/etc /etc/ -read -r -p "Do you want to overwrite the grub config? [y/N] " response -if [[ "$response" =~ ^([yY][eE][sS][jJ]|[yY])$ ]] -then +#read -r -p "Do you want to overwrite the grub config? [y/N] " response +#if [[ "$response" =~ ^([yY][eE][sS][jJ]|[yY])$ ]] +#then # copy config - sudo cp ~/config/etc/default/grub /etc/default/ +# sudo cp ~/config/etc/default/grub /etc/default/ # update grub - sudo grub-mkconfig -o /boot/grub/grub.cfg -fi +# sudo grub-mkconfig -o /boot/grub/grub.cfg +#fi # NOTE Distro specific stuff distro=$(cat /etc/*-release | grep "^ID=")