Commit 7f13cfde authored by Vladimír Štill's avatar Vladimír Štill

debootstrap: Set partition types in EFI

parent f646fedb
......@@ -23,11 +23,15 @@ getpart() {
if [[ "$EFI" = "efi" ]]; then
# GPT table
# new partition 1 for EFI
# set it to type EFI system
# new partition 2 spanning rest of the disk
# set it to type Linux LVM
# LVM type partition
echo -e 'g\n' \
'n\n\n+512M\n' \
't\n1\n' \
'n\n\n\n' \
't\n2\n31\n' \
'p\n' \
'w\n' \
| fdisk $DISK
......
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