Replacing Windows with Linux Ubuntu 12.04 LTS

I am working on the best way to eliminate Windows XP from my older desktop and replace it with Linux Ubuntu 12.04 LTS as my sole operating system. I've done a dual boot alongside Windows to get used to Ubuntu like many people have done. Now, I would like to totally have Ubuntu as the OS.

Any suggestions? I've read that if you've had problems with a CD, disc, install that some have gone to a network boot option and had to upgrade their BIOS if their older desktop doesn't match. Am I thinking correctly?


Solution 1:

Before you begin, you want to make sure that all of the data from your Windows installation is safely backed up, or moved to your Ubuntu partition. Also read these instructions briefly to ensure that they make sense.

  1. Boot from the Ubuntu live CD.
  2. Open the GParted program. Your hard disk is split up into 'partitions'. You will have three (3) partitions: One for Windows, one for Ubuntu, and one (the smallest) swap partition.
  3. Once GParted opens, identify the Windows partition. The partition type is NTFS and will be outlined in greenish blue. The Swap area will be red and the Ubuntu partition will be navy blue, but you want to keep these.
  4. Right click the greenish blue Windows partition and click "Delete partition".
  5. Now, right click the navy blue ext4 Ubuntu partition and click "Resize/Move Partition". A dialog box will open - drag the right or left edges of the navy blue box so it fills up the maximum amount of space possible.
  6. Click OK to close that dialog box.
  7. Click "Apply" in the main GParted window to apply these operations. Confirm that you want to, if you are 100% sure that you do not need Windows any more. The operation will begin, and it might take a long time - but be patient while it finishes.
  8. One finished, reboot into your Ubuntu installation.
  9. Open the Terminal with ctrl+alt+T and type sudo update-grub, then Enter. Type in your password, which will not appear, and press Enter again. This will remove Windows from the Grub menu.

Then, you are finished.

But seriously, make sure you don't need anything (internet history, etc.) from your Windows installation! I find Firefox Sync, Microsoft Skydrive, and Google Drive very handy for ensuring a smooth migration to a new OS.

Solution 2:

  1. Start from a Live CD
  2. Open the GParted progam
  3. Select the Windows partition (the one with NTFS as "Filesystem"), and delete it.
  4. Then extend Ubuntu's partition (probably the largest one) by dragging it's edge to fill the whole drive and click the checkmark.
  5. Wait for the operation to finish.
  6. After rebooting, start the terminal and type:

    sudo update-grub