Commit e5ea7825 authored by Vladimír Štill's avatar Vladimír Štill

debootstrap: Attempt to fix fdisk setup

parent 7f13cfde
......@@ -29,12 +29,12 @@ if [[ "$EFI" = "efi" ]]; then
# LVM type partition
echo -e 'g\n' \
'n\n\n+512M\n' \
't\n1\n' \
'n\n\n\n' \
't\n2\n31\n' \
't\n1\n' \
'n\n\n\n' \
't\n2\n31\n' \
'p\n' \
'w\n' \
| fdisk $DISK
| sed 's/ //g' | fdisk $DISK
PARTN=2
mkfs.fat -F32 $(getpart $DISK 1)
else
......@@ -46,7 +46,7 @@ echo -e 'o\n' \
't\n8e\n' \
'p\n' \
'w\n' \
| fdisk $DISK
| sed 's/ //g' | fdisk $DISK
PARTN=1
fi
PART=$(getpart $DISK $PARTN)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment