Score:0

Ubuntu 20.04 preseed - Allow interactive drive configuration

in flag

I am trying to modify and existing preseed file that a predecessor created to allow the drive configuration utility to be used to create a raid volume for the root directory. Either that or i need to modify the preseed to create a software raid 6 across 8 drives (/dev/nvme0n1 - /dev nvme7n1)

This is for Ubuntu 20.04 server

Here is the current partman entries in the preseed file

d-i partman-basicfilesystems/no_swap boolean false
#
# Keep that one set to true so we end up with a UEFI enabled
# system. If set to false, /var/lib/partman/uefi_ignore will be touched
d-i partman-efi/non_efi_system boolean true
#
d-i partman/choose_label string gpt
d-i partman/default_label string gpt
d-i partman-partitioning/choose_label string gpt
d-i partman-partitioning/default_label string gpt
#
# Added for uefi partitioning
#d-i partman-auto/choose_recipe select atomic
d-i partman-auto/choose_recipe select boot-root-all
d-i partman-auto/expert_recipe string                           \
        boot-root-all ::                                        \
                512 512 512 free                                \
                        $iflabel{ gpt }                         \
                        $reusemethod{ }                         \
                        method{ efi }                           \
                        format{ }                               \
                .                                               \
                512 512 512 ext4                                \
                        $defaultignore{ }                       \
                        method{ format } format{ }              \
                        use_filesystem{ } filesystem{ ext4 }    \
                        mountpoint{ /boot }                     \
                .                                               \
                1024 4096 10000000 ext4                         \
                        $lvmok{ }                               \
                        method{ format } format{ }              \
                        use_filesystem{ } filesystem{ ext4 }    \
                        mountpoint{ / }                         \
                .
#d-i partman/default_filesystem string ext4
d-i partman/confirm_nooverwrite boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman/confirm_write_new_label boolean true
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
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.