1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-11-21 17:11:34 -05:00

Compare commits

...

2 Commits

Author SHA1 Message Date
2eb8b6bf5a
Do not preload part_msdos
Signed-off-by: Tommy <contact@tommytran.io>
2024-06-02 10:44:34 -07:00
c03ba949ea
Default to linux-hardened
Signed-off-by: Tommy <contact@tommytran.io>
2024-06-02 10:38:49 -07:00

View File

@ -407,8 +407,16 @@ fi
if [ "${use_luks}" = '1' ]; then
sed -i 's/#GRUB_ENABLE_CRYPTODISK=.*/GRUB_ENABLE_CRYPTODISK=y/g' /mnt/etc/default/grub
fi
## Do not preload part_msdos
sed -i 's/ part_msdos//g' /mnt/etc/default/grub
## Ensure correct GRUB settings
echo '' >> /mnt/etc/default/grub
echo '# Booting with BTRFS subvolume
echo '# Default to linux-hardened
GRUB_DEFAULT="1>2"
Booting with BTRFS subvolume
GRUB_BTRFS_OVERRIDE_BOOT_PARTITION_DETECTION=true' >> /mnt/etc/default/grub
## Disable root subvol pinning.