Possible to create GPT partition during preseeded install?
Hello,
I would like to set a gpt label instead of msdos during a preseeded install.
I've searched for such a recipe and tried to disect partman, but still
end up with a msdos label.
What I have now:
### Partitioning
d-i partman-basicfilesystems/choose_label string gpt
d-i partman-auto/disk string /dev/vda
d-i partman-partitioning/choose_label string gpt
d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select btrfs
#1 1 1 free
# $gptonly{ }
# $primary{ }
# $bios_boot{ }
# you can put an entire recipe into the preconfiguration file in one
# (logical) line.
d-i partman-auto/expert_recipe string \
btrfs :: \
1 1 1 free \
$gptonly{ } \
$primary{ } \
$bios_boot{ } \
method{ biosgrub } \
. \
16000 1000 16000 linux-swap \
$gptonly{ } \
$primary{ } \
method{ swap } format{ } \
. \
500 1000 -1 btrfs \
$gptonly{ } \
$primary{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ btrfs } \
mountpoint{ / } \
options/ssd{ ssd } options/compress{ compress } \
.
# This makes partman automatically partition without confirmation, provided
# that you told it what to do using one of the methods above.
d-i partman/confirm_nochanges boolean true
d-i partman-partitioning/confirm_resize boolean true
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman-partitioning/confirm_new_label boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman-partitioning partman-partitioning/confirm_copy true
Is it possible to set gpt at all with preseed?
With kind regards, Sander
--
Humilis IT Services and Solutions
http://www.humilis.net
Reply to: