sleep seems needed at least for ata
This commit is contained in:
parent
c8bb60dffd
commit
f378d0ffe3
3 changed files with 6 additions and 2 deletions
|
@ -53,11 +53,12 @@ for D in $DISK $DISK2; do
|
||||||
sgdisk -n 2:0:0 -c 2:"Linux" -t 2:8e00 $D
|
sgdisk -n 2:0:0 -c 2:"Linux" -t 2:8e00 $D
|
||||||
parted $D -- set 1 boot on
|
parted $D -- set 1 boot on
|
||||||
|
|
||||||
|
sleep 5
|
||||||
|
|
||||||
# boot partition
|
# boot partition
|
||||||
mkfs.fat -F 32 -n EFIBOOT $D-part1
|
mkfs.fat -F 32 -n EFIBOOT $D-part1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
# take a look at the partitions
|
# take a look at the partitions
|
||||||
lsblk
|
lsblk
|
||||||
|
|
||||||
|
|
|
@ -48,11 +48,12 @@ for D in $DISK $DISK2; do
|
||||||
sgdisk -n 2:0:0 -c 2:"Linux" -t 2:8e00 $D
|
sgdisk -n 2:0:0 -c 2:"Linux" -t 2:8e00 $D
|
||||||
parted $D -- set 1 boot on
|
parted $D -- set 1 boot on
|
||||||
|
|
||||||
|
sleep 5
|
||||||
|
|
||||||
# boot partition
|
# boot partition
|
||||||
mkfs.fat -F 32 -n EFIBOOT $D-part1
|
mkfs.fat -F 32 -n EFIBOOT $D-part1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
# take a look at the partitions
|
# take a look at the partitions
|
||||||
lsblk
|
lsblk
|
||||||
|
|
||||||
|
|
|
@ -49,6 +49,8 @@ for D in $DISK $DISK2 $DISK3; do
|
||||||
sgdisk -n 2:0:0 -c 2:"Linux" -t 2:8e00 $D
|
sgdisk -n 2:0:0 -c 2:"Linux" -t 2:8e00 $D
|
||||||
parted $D -- set 1 boot on
|
parted $D -- set 1 boot on
|
||||||
|
|
||||||
|
sleep 5
|
||||||
|
|
||||||
# boot partition
|
# boot partition
|
||||||
mkfs.fat -F 32 -n EFIBOOT $D-part1
|
mkfs.fat -F 32 -n EFIBOOT $D-part1
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue