sleep seems needed at least for ata

This commit is contained in:
Christoph Cullmann 2025-04-22 19:03:27 +02:00
parent c8bb60dffd
commit f378d0ffe3
No known key found for this signature in database
3 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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

View file

@ -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