1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-12-21 22:51:32 -05:00

Do not preload part_msdos

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-06-02 10:44:34 -07:00
parent c03ba949ea
commit 2eb8b6bf5a
Signed by: Tomster
GPG Key ID: 555C902A34EC968F

View File

@ -407,6 +407,11 @@ 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 '# Default to linux-hardened
GRUB_DEFAULT="1>2"