Score:0

Preseed multiple disk no lvm

us flag

I try to preseed the partitioning on my virtual machines, I want to place swap on a separate disk (/dev/sdb). Everything else should be on first disk (/dev/sda). Somehow it will still put everything on the first disk. Does anyone know why this is? I know there is a way to solve this by running a late command, but somehow it should work in partman or am I wrong? I have no clue where I do the mistake.

### Partitioning
d-i partman-auto/method string regular
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-auto/disk string /dev/sda /dev/sdb
d-i partman-auto/expert_recipe string                         \
      boot-root ::                                            \
              40 4096 -1 ext4                                 \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ ext4 }    \
                      mountpoint{ / }                         \
                      device{ /dev/sda }                     \
              .                                               \
              1 1 -1 linux-swap                           \
                      method{ swap } format{ }                \
                      device{ /dev/sdb }                     \
              .
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
d-i partman-md/confirm boolean true

Kind regards & thx for any help

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.