From ae6f6a01e6e0f1ff201b6340a3b4b8440040d952 Mon Sep 17 00:00:00 2001 From: proledatarian Date: Wed, 6 Apr 2022 17:33:50 +0000 Subject: [PATCH] Update install-grub.sh --- install-grub.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/install-grub.sh b/install-grub.sh index 1bdb81f..4eba337 100644 --- a/install-grub.sh +++ b/install-grub.sh @@ -163,10 +163,14 @@ echo "Clearing existing partitioning table." sgdisk -Z /dev/$dev && echo +# Creating BIOS boot partition. +echo "Creating BIOS boot partition of 1 MB." +sgdisk -n 1:0:+1M /dev/$dev && +echo + # Creating boot partition. -#szmn="${array[1]%?}" echo "Creating boot partition of 256 MB." -sgdisk -n 1:0:+256M /dev/$dev && +sgdisk -n 2:0:+256M /dev/$dev && echo # Setting type for EFI. @@ -176,7 +180,7 @@ echo # Creating system partition. echo "Creating system partition of $szmn GB." -sgdisk -n 2:0:0 /dev/$dev +sgdisk -n 3:0:0 /dev/$dev echo # Print partitions.