Bootloader added

This commit is contained in:
eichehome 2022-01-16 22:49:06 +01:00
parent a526e707ae
commit ea25859fa4

View file

@ -44,3 +44,21 @@ systemctl enable cups
sed -i 's/MODULES=()/MODULES=(amdgpu)/' /etc/mkinitcpio.conf
mkinitcpio -p linux
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
# Entry Arch
echo "title Arch Linux" >> /boot/loader/entries/arch.conf
echo "linux /vmlinuz-linux" >> /boot/loader/entries/arch.conf
# AMD
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