I am trying to install Ubuntu. However I have an lvm on the drive I want to install Ubuntu on.
Gparted cannot remove the lvm which is /dev/sda6.
How can I remove the lvm to instal lvm over it?
I am trying to install Ubuntu. However I have an lvm on the drive I want to install Ubuntu on.
Gparted cannot remove the lvm which is /dev/sda6.
How can I remove the lvm to instal lvm over it?
1) If you have data on the drive that you need to keep, back it up.
2) Fill the drive with zeros which will blow away the MBR, Partition table LVM and all data by:
sudo dd if=/dev/zero of=/dev/sdX
or if you want a progress report as you wipe the drive use
sudo dc3dd wipe=/dev/sdX
in both cases sdX should be changed to sda, sdb, or whatever drive you are wiping. You can identify the drives usingfdisk -l