Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.