Ubuntu – Can’t format / delete locked partition from gparted


I can't format my hard disk for Ubuntu installation. It has Fedora installed in it. I wonder how to unlock the locked partition to delete and format it, since I am stuck at installing Ubuntu. I am now using a livecd to do the task. No options are available for me to use.

enter image description here

Best Answer

If it's an LVM partition, you will need to deactivate it using the command lvremove which will remove the lock.
Only then can you delete the partition using gparted.

Use lvscan to view the volume.

Use lvremove to remove it.

Check man pages man lvscan and man lvremove for details.