Other relevant data:
I basically want to find out if there is a way to create a partition template from a server that is already built, OR if there is a flat partition table template that installs on an nvm* drive
Hello, if you installed Red Hat compatible system, find the partition bits in /root/anaconda-ks.ks if I remember correctly. Can’t miss it, it is the only non-hidden file in the root home.
ok i have 2 NVME drives in the server. /dev/nvme0 and nvme1
I only want to use 0 for now to test these
# Skip question about not having swap partition
d-i partman-basicfilesystems/no_swap boolean false
<% if @host.params['install-disk'] -%>
d-i partman-auto/disk string <%= @host.params['install-disk'] %>
<% else -%>
d-i partman-auto/disk string /dev/nvme0 /dev/nvme0n1
<% end -%>
d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select root
d-i partman-auto/expert_recipe string root :: 19000 50 20000 ext4 \
$primary{ } $bootable{ } method{ format } \
format{ } use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
. \
100 100 10000000000 ext4 \
$primary{ } method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /opt } \
.
##### This makes partman automatically partition without confirmation, provided
##### that you told it what to do using one of the methods above.
d-i partman-md/confirm boolean true
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
Would that work? I just want to use the entire disk for / no swap. I tried adding the above and still prompts me to use entire disk, then choose disk etc.
I am not familiar with Debian/Ubuntu preseed, however I’ve changed the title to “Multiple partitions in Debian preseed”. I hope someone with experience stops by to tell.