1

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.

3 Answers3

2

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

Steps are:

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

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

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

  4. Click the "Format disk" button.

  5. Choose Ext4 from the dropdown list.

  6. Choose a name for the partition.

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

  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.

  1. Enjoy! :)

(Thanks to John S Gruber for Step 9.)

snoop
  • 4,040
  • 9
  • 40
  • 58
0

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.

jokerdino
  • 41,320
KK Patel
  • 19,083
0

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

Once done in terminal ( What is a terminal and how do I open and use it? ) type:

sudo grub-install /dev/sda

sudo update-grub

When done reboot the machine.

Amit Rane
  • 1,310
  • 4
  • 13
  • 26
  • 1
    Just updating grub should be enough, no need to reinstall it. – mikewhatever Aug 03 '12 at 05: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 03 '12 at 06:10