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.