Public bug reported:

(Seen on Precise)

I'm using a preseed to install a system. I'm don't care at all what was
on the system before, I just want to apply my new partition layout and
install. However, due to a previous installation, I end up getting the
partman-lvm/device_remove_lvm_span prompt.

Glancing at the code, it seems I'd need to make sure all disks were
listed in partman-auto/disk, but for this new install, I really just
wnat to install on a single disk.

I resorted to passing this in my preseed, but I feel that shouldn't be 
necessary:
d-i partman/early_command string vgs --separator=: --noheadings | cut -f1 -d: | 
while read vg ; do vgchange -an $vg ; done ;\
                                 pvs --separator=: --noheadings | cut -f1 -d: | 
while read pv ; do pvremove -ff -y $pv ; done

** Affects: partman-lvm (Ubuntu)
     Importance: Medium
         Status: Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1087230

Title:
  Too hard to just reinstall and partition any way I please

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-lvm/+bug/1087230/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to