[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Debian Stretch preseed and disk partitionning

Hello everyone,

I am working on Debian preseed, and I am happy so far.

However, there is one preseed I cannot answer automatically

Is the order of the d-i directives are important?

Here the question I cannot pass:


And here my directives:

d-i partman/confirm_nochanges boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman-md/confirm boolean true
di- partman-md/confirm_nochanges boolean true

# If one of the disks that are going to be automatically partitioned
# contains an old LVM configuration, the user will normally receive a
# warning. This can be preseeded away...
d-i partman-lvm/device_remove_lvm boolean true

# The same applies to pre-existing software RAID array:
d-i partman-md/device_remove_md boolean true

# And the same goes for the confirmation to write the lvm partitions.
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true

# Or provide a recipe of your own...
# If you have a way to get a recipe file into the d-i environment, you can
# just point at it.
# d-i partman-auto/expert_recipe_file string /cdrom/simple-cdd/partman.conf

# Alternatively, you may specify a disk to partition. If the system has only
d-i partman-auto/method string raid

d-i partman-auto/method string raid

# Use the first two disks
d-i partman-auto/disk string /dev/vdb /dev/vdc

## Partitioning using RAID
d-i partman-auto-raid/recipe string     \
        1 2 0 ext3 /boot                \
                /dev/vdb1#/dev/vdc1     \
        .                               \
        1 2 0 lvm -                     \
                /dev/vdb2#/dev/vdc2     \

# This makes partman automatically partition without confirmation, provided
# that you told it what to do using one of the methods above.
d-i partman-partitioning/confirm_write_new_label boolean true

d-i partman/confirm_write_new_label boolean true
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman/choose_partition select finish

# This makes partman automatically partition without confirmation.
d-i partman-md/confirm boolean true

Thanks for your help and advices,


Reply to: