[Bug 1087230] Re: Too hard to just reinstall and partition any way I please
Soren Hansen
soren at linux2go.dk
Thu Dec 6 13:36:42 UTC 2012
** Description changed:
(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
+ 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
- wnat to install on a single disk.
+ 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
+ pvs --separator=: --noheadings | cut -f1 -d: | while read pv ; do pvremove -ff -y $pv ; done
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to partman-lvm in Ubuntu.
https://bugs.launchpad.net/bugs/1087230
Title:
Too hard to just reinstall and partition any way I please
Status in “partman-lvm” package in Ubuntu:
Confirmed
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-lvm/+bug/1087230/+subscriptions
More information about the foundations-bugs
mailing list