Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

Screenshot: enter image description here

share|improve this question
have you considered deleting the partition from Fedora ? – Srinivas Gowda Nov 15 '12 at 13:03
I am trying to delete it, but it is locked. – owl Nov 15 '12 at 13:29
Force unmount the partition. Look into my answer below. – Srinivas Gowda Nov 15 '12 at 13:34

3 Answers

up vote 1 down vote accepted

Open a Terminal on Ubuntu (live cd) and force unmount the partition.

sudo umount -f /dev/sda2
share|improve this answer
unmount doesn't exist, you want umount. – Mike Turley Apr 11 at 2:45

If it's LVM Partition, you will need to delete it using the command lvremove then it will remove the lock only then you can delete the partition.

use lvscan to view the volume.

use lvremove to remove it

check man page for details

share|improve this answer
This was the solution for me! – Mike Turley Apr 11 at 2:45

Open the Ubuntu Installer and click "Install Ubuntu", then continue untill you see "Erase disk and install Ubuntu". It will erase the entire disk and use all of it for installation. Ubuntu will automatically partition your disk and proceed with installation. For more information about installing Ubuntu, you can visit this page. You don't need to format the hard disk before you install Ubuntu, the installer does it automaticaly.

share|improve this answer

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.