New OpenSUSE install- issues with encryption and LVM

Hi All, A few weeks backI tried to install the 32bit version of OpenSuse 13.2 on a Toshiba A100 machine. It did not go well. So tonight I have had another crack at an install and I would like to get back to a clean drive, but there are a couple of encrypted LVM partitions which I cannot delete. It only has a 120Gb HDD so I don't want to sacrifice 30Gb for these two partitions. On trying to delete a partition, I get the message "The selected partition is used by volume group "/dev/system" To keep the system in a consistent state, the volume group and its logical volumes will be deleted. Then ... Delete partition /dev.sda1 and volume group ?dev/system now? Then clicking on delete does nothing. Everything remains intact. how do I overcome this, please? Andrew Greig

Andrew Greig writes:
[Can't delete an encrypted volume because it's in use.]
The right way to solve this is probably to tell the dm-crypt layer to stop using it, then delete it. I am usually too lazy to bother with that, so I just delete the partition table, then reboot the installer. e.g. parted /dev/sda mklabel msdos yes or cat /dev/zero >/dev/sda If writing over the start of the disk isn't sufficient, fuck it, just write zeroes over the ENTIRE disk, then come back after lunch and try the install again.
participants (3)
-
Andrew Greig
-
Michele Bert
-
trentbuck@gmail.com