[Bug 475864] Re: Unable to kickstart with LVM partition scheme.

Mick Pollard 475864 at bugs.launchpad.net
Mon Apr 16 07:29:20 UTC 2012


I was able to get this working in Lucid amd64 with some preseed magic embedded into the kickstart file.
This is a snippet from my test kickstart file.


clearpart --all --initlabel
part /boot --fstype ext4 --size 200 --asprimary
part swap  --size 1024
part pv.01 --size 1 --grow
volgroup rootvg pv.01
logvol / --fstype ext4 --vgname=rootvg --size=1 --grow --name=rootvol
# needed to answer the 'do you want to write changes to disk"
preseed partman-lvm/confirm_nooverwrite boolean true

# needed to answer the question about not having a separate /boot
preseed partman-auto-lvm/no_boot        boolean true

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