mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-11-21 17:11:34 -05:00
Default to linux-hardened
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
daf2664d08
commit
c03ba949ea
@ -408,7 +408,10 @@ if [ "${use_luks}" = '1' ]; then
|
|||||||
sed -i 's/#GRUB_ENABLE_CRYPTODISK=.*/GRUB_ENABLE_CRYPTODISK=y/g' /mnt/etc/default/grub
|
sed -i 's/#GRUB_ENABLE_CRYPTODISK=.*/GRUB_ENABLE_CRYPTODISK=y/g' /mnt/etc/default/grub
|
||||||
fi
|
fi
|
||||||
echo '' >> /mnt/etc/default/grub
|
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
|
GRUB_BTRFS_OVERRIDE_BOOT_PARTITION_DETECTION=true' >> /mnt/etc/default/grub
|
||||||
|
|
||||||
## Disable root subvol pinning.
|
## Disable root subvol pinning.
|
||||||
|
Loading…
Reference in New Issue
Block a user