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.

Possible Duplicate:
How to I remove windows but keep Ubuntu?

I have successfully installed Linux Ubuntu 12.04 of my computer with the USB boot method. When I installed Ubuntu, I selected the option where it lets you keep windows on the computer in a separate partition so that you can have both Linux and windows as operating systems in the computer. Well, I decided I no longer need Windows, and I very much want to remove it so Linux has more space. Can I remove windows at this point and allocate more space for Linux, and if so, how can this be done? Thank you.

share|improve this question

marked as duplicate by mikewhatever, Eliah Kagan, Jorge Castro, jokerdino, RolandiXor Aug 15 '12 at 3:58

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

3 Answers 3

I just thought i would write a clearer, and more noob friendly version of the others answers. :)

Step 1: Open Disk Utility (Go to menu and search for it).

Step 2: Identify your Windows partition. It should be a NTFS filesystem.

Step 3: If mounted, click the "Unmount disk" button.

Step 4: Click the "Format disk" button.

Step 5: Choose Ext4 from the dropdown list.

Step 6: Choose a name for the partition.

Step 7: Make sure that, the "Take ownership of filesystem" checkbox is ticked, and that the "Encrypt underlying device" checkbox is not.

Step 8: Click format.

Edit: Step 9: Open a terminal, by either searching for it in the menu or pressing CTRL + ALT + T, and type update-grub and press enter.

Step 10: Enjoy! :)

(Thanks to John S Gruber for Step 9.)

share|improve this answer
    
Should you end by running update-grub so that the grub menu item for Windows is removed? –  John S Gruber Aug 8 '12 at 17:44
    
That would be a good idea. :) I will add that straight away. :) –  HackerFinn Nov 11 '12 at 21:29

Just Go to Disk Utility. Identify windows partition properly format it as Linux partition.

Once done in terminal ( What is the terminal? ) type:

sudo grub-install /dev/sda

sudo update-grub

When done reboot the machine.

share|improve this answer
1  
Just updating grub should be enough, no need to reinstall it. –  mikewhatever Aug 3 '12 at 5:48
    
If you had install UBUNTU on separate dedicated partition of hard disk, then no need of reinstall of UBUNTU again. Just your windows will be formatted to LINUX partition if u format using Disk utility like GPART app in Ubuntu. And above command will make a GRUB to know which OS on your machine –  Amit Rane Aug 3 '12 at 6:10

Just go to Disk Utility. Identify Windows partition properly and delete it. You can format it as Linux partition.

Once done, in terminal type the following:

sudo grub-install /dev/sda
sudo update-grub

When done, reboot the machine.

share|improve this answer

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