Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #187621

Debian Stretch preseed and disk partitionning

From Andre Rodier <andre@rodier.me>
Newsgroups linux.debian.user
Subject Debian Stretch preseed and disk partitionning
Date 2017-10-06 15:10 +0200
Message-ID <uxAy5-1WT-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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:

https://snag.gy/qz9BiI.jpg

And here my directives:

--8<------------------------------------------------------------------
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
--8<------------------------------------------------------------------

Thanks for your help and advices,

André

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Debian Stretch preseed and disk partitionning Andre Rodier <andre@rodier.me> - 2017-10-06 15:10 +0200
  Re: Debian Stretch preseed and disk partitionning Andre Rodier <andre@rodier.me> - 2017-10-09 16:00 +0200

csiph-web