|
@@ -49,7 +49,7 @@ pacman-key --init
|
|
|
pacman-key --populate archlinux
|
|
pacman-key --populate archlinux
|
|
|
|
|
|
|
|
# Core tools
|
|
# Core tools
|
|
|
-export PACKAGES="linux linux-headers linux-firmware base-devel mkinitcpio sudo bash-completion man-db tmux gvim dkms dmidecode at bc cronie lm_sensors lshw stress"
|
|
|
|
|
|
|
+export PACKAGES="linux linux-headers linux-firmware base-devel mkinitcpio sudo bash-completion man-db tmux gvim dkms dmidecode at bc cronie lm_sensors lshw stress memtest86+ memtest86+-efi"
|
|
|
|
|
|
|
|
# install core packages so dependencies exist
|
|
# install core packages so dependencies exist
|
|
|
pacman -Syu --noconfirm $PACKAGES
|
|
pacman -Syu --noconfirm $PACKAGES
|
|
@@ -264,6 +264,8 @@ bootctl install
|
|
|
# create boot loader entry
|
|
# create boot loader entry
|
|
|
echo "title arch" > /boot/loader/entries/arch.conf
|
|
echo "title arch" > /boot/loader/entries/arch.conf
|
|
|
echo "linux vmlinuz-linux" >> /boot/loader/entries/arch.conf
|
|
echo "linux vmlinuz-linux" >> /boot/loader/entries/arch.conf
|
|
|
|
|
+echo "title memtest" > /boot/loader/entries/memtest.conf
|
|
|
|
|
+echo "efi /memtest86+/memtest.efi" >> /boot/loader/entries/memtest.conf
|
|
|
[ -f /boot/intel-ucode.img ] && echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch.conf
|
|
[ -f /boot/intel-ucode.img ] && echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch.conf
|
|
|
[ -f /boot/amd-ucode.img ] && echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch.conf
|
|
[ -f /boot/amd-ucode.img ] && echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch.conf
|
|
|
echo "initrd /initramfs-linux.img" >> /boot/loader/entries/arch.conf
|
|
echo "initrd /initramfs-linux.img" >> /boot/loader/entries/arch.conf
|