2048 byte offset for compatibility
This commit is contained in:
parent
32a0c3ccc2
commit
5f42c5dafe
@ -47,7 +47,7 @@ while true; do
|
|||||||
# Create partitions
|
# Create partitions
|
||||||
echo "Creating partitions ..."
|
echo "Creating partitions ..."
|
||||||
wipefs --all "$DEVICE"
|
wipefs --all "$DEVICE"
|
||||||
sgdisk -n 1::+1M -c 1:"BIOS boot partition" -t 1:ef02 "$DEVICE"
|
sgdisk -n 1:2048:+1M -c 1:"BIOS boot partition" -t 1:ef02 "$DEVICE"
|
||||||
sgdisk -n 2::+250M -c 2:"EFI System" -t 2:ef00 "$DEVICE"
|
sgdisk -n 2::+250M -c 2:"EFI System" -t 2:ef00 "$DEVICE"
|
||||||
sgdisk -n 3::-0 -c 3:"Linux filesystem" -t 3:8300 "$DEVICE"
|
sgdisk -n 3::-0 -c 3:"Linux filesystem" -t 3:8300 "$DEVICE"
|
||||||
sgdisk --hybrid=1:2:3 "$DEVICE"
|
sgdisk --hybrid=1:2:3 "$DEVICE"
|
||||||
|
Loading…
Reference in New Issue
Block a user