Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
Why you added the 13.04 tag? This is an non supported Ubuntu version! – Lucio Mar 15 '13 at 2:07
+Lucio. Raring ringtail not supported by Ubuntu? – sayth Mar 15 '13 at 2:36
You don't know it yet? Questions about an alpha/beta Ubuntu version (under development) are off-topic. – Lucio Mar 15 '13 at 2:44
Oh, sorry. It is my fault, I expressed myself badly. I was referring that we (Ask Ubuntu) don't create content about those versions. Because there are under development. Once again, sorry for the misunderstanding.. – Lucio Mar 15 '13 at 3:05
+Lucio. Ok thanks I have removed the tag. – sayth Mar 15 '13 at 7:12

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 using

fdisk -l

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.