2

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?

4
  • Why you added the 13.04 tag? This is an non supported Ubuntu version!
    – Lucio
    Mar 15, 2013 at 2:07
  • +Lucio. Raring ringtail not supported by Ubuntu?
    – sayth
    Mar 15, 2013 at 2:36
  • You don't know it yet? Questions about an alpha/beta Ubuntu version (under development) are off-topic.
    – Lucio
    Mar 15, 2013 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, 2013 at 3:05

1 Answer 1

0

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .