From 4312ce7da850add495f4e22d42b6e02b4b485915 Mon Sep 17 00:00:00 2001 From: eichehome Date: Tue, 18 Jan 2022 23:27:50 +0100 Subject: [PATCH] Modified Bootmenu to show all Entrys --- install.sh | 41 ++++++++++++++++++++++++++++++++++++----- 1 file changed, 36 insertions(+), 5 deletions(-) diff --git a/install.sh b/install.sh index 4ef1efd..ccb17be 100644 --- a/install.sh +++ b/install.sh @@ -55,14 +55,18 @@ systemctl enable bluetooth sed -i 's/MODULES=()/MODULES=(amdgpu)/' /etc/mkinitcpio.conf mkinitcpio -p linux +mkinitcpio -p linux-ltp bootctl install # Bootloaderconfig -sed -i 's/#\(timeout\)\s[0-9]/\1 5/' /boot/loader/loader.conf -sed -i 's/#\(console\)/\1/' /boot/loader/loader.conf -sed -i 's/keep/max/' /boot/loader/loader.conf -sed -i 's/\(default\s\).*/\1arch.conf/' /boot/loader/loader.conf +echo "timeout 5" > /boot/loader/loader.conf +echo "console max" >> /boot/loader/loader.conf +echo "default arch.conf" >> /boot/loader/loader.conf +#sed -i 's/#\(timeout\)\s[0-9]/\1 5/' /boot/loader/loader.conf +#sed -i 's/#\(console\)/\1/' /boot/loader/loader.conf +#sed -i 's/keep/max/' /boot/loader/loader.conf +#sed -i 's/\(default\s\).*/\1arch.conf/' /boot/loader/loader.conf # Entry Arch echo "title Arch Linux" >> /boot/loader/entries/arch.conf @@ -72,7 +76,34 @@ echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch.conf # Intel # echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch.conf echo "initrd /initramfs-linux.img" >> /boot/loader/entries/arch.conf -echo 'options root="LABEL=arch" rw' >> /boot/loader/entries/arch.conf +echo "options root=LABEL=arch rootflags=subvol=@ rw" >> /boot/loader/entries/arch.conf +# Entry Arch LTS +echo "title Arch Linux LTS" >> /boot/loader/entries/arch-lts.conf +echo "linux /vmlinuz-linux-lts" >> /boot/loader/entries/arch-lts.conf +# AMD +echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch-lts.conf +# Intel +# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch-lts.conf +echo "initrd /initramfs-linux-lts.img" >> /boot/loader/entries/arch-lts.conf +echo "options root=LABEL=arch rootflags=subvol=@ rw" >> /boot/loader/entries/arch-lts.conf +# Entry Arch Fallback +echo "title Arch Linux Fallback" > /boot/loader/entries/arch-fallback.conf +echo "linux /vmlinuz-linux" >> /boot/loader/entries/arch-fallback.conf +# AMD +echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch-fallback.conf +# Intel +# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch-fallback.conf +echo "initrd /initramfs-linux-fallback.img" >> /boot/loader/entries/arch-fallback.conf +echo "options root=LABEL=arch rootflags=subvol=@" >> /boot/loader/entries/arch-fallback.conf +# Entry Arch LTS Fallback +echo "title Arch Linux LTS Fallback" > /boot/loader/entries/arch-fallback.conf +echo "linux /vmlinuz-linux-lts" >> /boot/loader/entries/arch-lts-fallback.conf +# AMD +echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch-lts-fallback.conf +# Intel +# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch-lts-fallback.conf +echo "initrd /initramfs-linux-lts-fallback.img" >> /boot/loader/entries/arch-lts-fallback.conf +echo "options root=LABEL=arch rootflags=subvol=@" >> /boot/loader/entries/arch-lts-fallback.conf # Netzwerk # Ethernet