mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-11-21 17:11:34 -05:00
Compare commits
2 Commits
daf2664d08
...
2eb8b6bf5a
Author | SHA1 | Date | |
---|---|---|---|
2eb8b6bf5a | |||
c03ba949ea |
10
install.sh
10
install.sh
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user