Update install-grub.sh
This commit is contained in:
parent
127c05cdf5
commit
ae6f6a01e6
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue