Too hard to just reinstall and partition any way I please

Bug #1087230 reported by Soren Hansen
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
partman-lvm (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

(Seen on Precise)

I'm using a preseed to install a system. I 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 want 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

Changed in partman-lvm (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Soren Hansen (soren)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.