Ubuntu – How to get rid of Windows

windows

I think the answer must be very simple, but I still don't know it.
I have installed Ubuntu 12.10 in my Windows 7 laptop.
After installing Ubuntu and started using it I decided to restart my laptop. But when I turned it on again,it still asks me if I want to use Windows 7 or Ubuntu.
How can I get rid of Windows 7 so as to start directly from Ubuntu the next time I turn my computer on?
Thanks!

Best Answer

How to Install Ubuntu Only

  1. Back up everything you want to keep from Windows and Ubuntu on an external drive.
  2. Insert the Ubuntu Live CD into your computer.
  3. Boot your computer from the Ubuntu Live CD. You may need to look up details on how to change your computer's boot order; this will depend on the exact model of computer you have. Ensure that it's set to boot from CD first.
  4. Follow the steps of the Ubuntu installation process. The Live CD should make this easy.
  5. Copy everything you want to use from your external drive back onto your Ubuntu installation.

I recommend that you keep both systems available instead of removing Windows altogether. If you want to do that instead, here are the steps involved:

How to Install Ubuntu And Keep Windows out of the Way

  1. Back up everything you want to keep from Windows and Ubuntu on an external drive.
  2. Shrink your Windows partition using the Disk Management utility in the Control Panel. Just right click on your drive and find "Shrink Volume...".
  3. Insert the Ubuntu Live CD into your computer.
  4. Boot your computer from the Ubuntu Live CD. You may need to look up details on how to change your computer's boot order; this will depend on the exact model of computer you have. Ensure that it's set to boot from CD first.
  5. Follow the steps of the Ubuntu installation process, except tell Ubuntu to use the unallocated partition rather than the whole disk.
  6. Copy everything you want to use from your external drive back onto your Ubuntu installation.
  7. Edit the file /etc/default/grub as the root user, and change #GRUB_HIDDEN_TIMEOUT=0 to GRUB_HIDDEN_TIMEOUT=0. (see How to make grub stop appearing every time I boot?)
  8. Change the GRUB boot order, setting Ubuntu as the first option; see How do I change the GRUB boot order? but remember you want Ubuntu first, not Windows like the asker requested.
  9. Open a terminal and run the command sudo update-grub.

Additional Notes

I previously had difficulty installing Ubuntu in the above manner on drives set up with RAID 0. It may be possible to do so, but I had to remove Windows and disable RAID. If you have similar trouble, look at the following links for assistance.

Related Question