Bug#775138: debian-installer: Preseed partition scheme fails with No root filesystem is defined.
Package: debian-installer
Severity: normal
Tags: d-i
Dear Maintainer,
* What led up to the situation?
Preseeding the debian install
* What exactly did you do (or not do) that was effective (or
ineffective)?
Partition scheme was ineffective
* What was the outcome of this action?
Preseeding failed.
* What outcome did you expect instead?
Preseed success.
#########################
#
# This information is from the host machine of the VM that is being preseeded.
#
#########################
-- System Information:
Debian Release: 8.0
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
#########################
#
# End of host info
#
#########################
Preseed fails with the following partition scheme defined:
d-i partman-auto/disk string vda
d-i partman-auto/choose_recipe select monkey
d-i partman-auto/method string regular
d-i partman-auto/purge_lvm_from_device boolean true
d-i partman/choose_partition select finish
d-i partman/confirm_nooverwrite boolean true
d-i partman/confirm boolean true
d-i partman-md/device_remove_md boolean true
#d-i partman-md/confirm boolean true
d-i partman-partitioning/confirm_write_new_label boolean true
#d-i partman/mount_style select uuid
d-i partman-auto/expert_recipe string \
monkey :: \
100 5120 30720 ext4 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
. \
80 1024 10240 swap \
method{ swap } format{ } \
.
This is a netinstall for wheezy using the updated images from Jan 5th 2015
and also the jessie images from Jan 7th 2015
A more complex setup also fails with the same error:
d-i partman-auto/disk string vda
d-i partman-auto/choose_recipe select monkey
d-i partman-auto/method string lvm
d-i partman-auto/purge_lvm_from_device boolean true
d-i partman-auto-lvm/guided_size string 100%
d-i partman-auto-lvm/no_boot boolean true
d-i partman/choose_partition select finish
d-i partman/confirm_nooverwrite boolean true
d-i partman/confirm boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/device_remove_lvm_span boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-md/confirm boolean true
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/mount_style select uuid
d-i partman-auto/expert_recipe string \
monkey :: \
100 1000 1000000000 ext3 \
$defaultignore{ } \
$primary{ } \
method{ lvm } \
device{ vda } \
vg_name{ systemlv } \
. \
100 5120 30720 ext4 \
$lvmok \
in_vg{ systemlv } \
lv_name{ root } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
. \
100 5120 15360 ext4 \
$lvmok \
in_vg{ systemlv } \
lv_name{ var } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /var } \
. \
80 1024 10240 swap \
$lvmok \
in_vg{ systemlv } \
lv_name{ swap } \
method{ swap } format{ } \
.
Reply to: