mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-11-22 17:41:33 -05:00
Compare commits
No commits in common. "2eb8b6bf5a2a0d0e94b369fa6db8d0359aae433a" and "daf2664d08282547f1bb42066a29469eb41efd76" have entirely different histories.
2eb8b6bf5a
...
daf2664d08
10
install.sh
10
install.sh
@ -407,16 +407,8 @@ fi
|
|||||||
if [ "${use_luks}" = '1' ]; then
|
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
|
||||||
|
|
||||||
## 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 '' >> /mnt/etc/default/grub
|
||||||
echo '# Default to linux-hardened
|
echo '# Booting with BTRFS subvolume
|
||||||
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