[Bug 475864] Re: Unable to kickstart with LVM partition scheme.
Jim Campbell
jcampbell at gnome.org
Wed Nov 1 17:47:13 UTC 2017
I'm still seeing this on 16.04.3. The 'expert_recipe' partitioning string is being skipped / ignored. i.e., anything that looks like this:
---
preseed partman-auto/expert_recipe string \
boot-root :: \
500 500 500 ext4 \
$primary{ } \
$bootable{ } \
method{ format } \
format{ } \
use_filesystem{ } \
filesystem{ ext4 } \
mountpoint{ /boot } \
. \
---
Doesn't seem to work. I was very careful, and tried a wide range of
options - working on it for several hours with repeated attempts - and
it always got skipped. As a result (for me), the automated partitioning
stopped at the point where it would clear partitions (as seen in
/var/syslog).
I used an approach similar to that provided by Mick Pollard (see above),
and it worked as desired.
As an additional note, I used this line to automatically skip a warning
about having no swap partition:
preseed --owner partman-basicfilesystems partman-
basicfilesystems/no_swap boolean false
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to kickseed in Ubuntu.
https://bugs.launchpad.net/bugs/475864
Title:
Unable to kickstart with LVM partition scheme.
Status in kickseed package in Ubuntu:
Confirmed
Bug description:
Attempting to prepare Karmic for deployment into our environment and
running into a road block. With jaunty's introduction of LVM we
migrated our partitioning scheme to be fully LVM based except for
/boot. This has worked very well for us. Using the same partitioning
scheme in Karmic fails. Informing me that I have not declared a
separate partition for /boot then halts with the 'No physical volume
defined in volume group' error about the automatic partitioning scheme
and sends me back to the partition scheme selection menu. Of which I
never saw in jaunty. At this point the only thing that works is the
selection of 'Use entire disk' and this sets things up as normal
partitions. Selection of either LVM options gives me the same error
as I initially get when kickstart first attempts the partitioning.
Leading me to believe that kickseed is in fact not even reading my
custom partitioning scheme. I can't even select Manual at the
selection screen. This does nothing and just drops me back at the
selection screen. Syslog logs no obvious errors.
# Partition clearing information
clearpart --drives vda --initlabel
# Disk partitioning information
part /boot --fstype=ext4 --size=600 --ondisk=vda
part pv.01 --size=1 --grow --ondisk=vda
volgroup vg00 pv.01
logvol / --name=rootvol --vgname=vg00 --size=20480 --fstype=ext4
logvol swap --name=swapvol --vgname=vg00 --size=4096
logvol /var --name=varvol --vgname=vg00 --size=6144 --fstype=ext4
logvol /tmp --name=tmpvol --vgname=vg00 --size=3072 --fstype=ext4
logvol /disk/trump --name=trumpvol --vgname=vg00 --size=1 --grow --fstype=ext4
Description: Ubuntu 9.10
Release: 9.10
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kickseed/+bug/475864/+subscriptions
More information about the foundations-bugs
mailing list