mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-11-21 17:11:34 -05:00
Do not preload part_msdos
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
c03ba949ea
commit
2eb8b6bf5a
@ -407,6 +407,11 @@ 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 '# Default to linux-hardened
|
||||||
GRUB_DEFAULT="1>2"
|
GRUB_DEFAULT="1>2"
|
||||||
|
Loading…
Reference in New Issue
Block a user