Skip to content
Snippets Groups Projects
Commit a7af464a authored by Jonathan Carter's avatar Jonathan Carter
Browse files

Update grub config after grub is installed

parent c82e002e
No related branches found
No related tags found
No related merge requests found
......@@ -12,9 +12,6 @@ fi
echo "Running bootloader-config..."
# Enable os-prober:
sed -i "s/#GRUB_DISABLE_OS_PROBER=false/# OS_PROBER re-enabled by Debian Calamares installation:\nGRUB_DISABLE_OS_PROBER=false/g" /etc/default/grub
if [ -d /sys/firmware/efi/efivars ]; then
echo " * Installing grub-efi (uefi)..."
DEBIAN_FRONTEND=noninteractive chroot $CHROOT apt-get -y install grub-efi-amd64 cryptsetup keyutils
......@@ -22,3 +19,7 @@ else
echo " * install grub... (bios)"
DEBIAN_FRONTEND=noninteractive chroot $CHROOT apt-get -y install grub-pc cryptsetup keyutils
fi
# Re-enable os-prober:
sed -i "s/#GRUB_DISABLE_OS_PROBER=false/# OS_PROBER re-enabled by Debian Calamares installation:\nGRUB_DISABLE_OS_PROBER=false/g" /etc/default/grub
/usr/sbin/update-grub
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment