Replacing Windows with Linux Ubuntu 12.04 LTS

123

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
    
Share:
123

Related videos on Youtube

Chris Stanley
Author by

Chris Stanley

Updated on September 18, 2022

Comments

  • Chris Stanley
    Chris Stanley over 1 year

    My site contains a LOT of script.

    I have a view at the top of the page (topnav). In the bottom half of the page is a view (main). Clicking a link there activates a view on the right side (rightnav). When I click a link in the rightnav, it changes the main view (as intended), but then rightnav disappears.

    How can I keep that up while still changing the main view?

    EDIT: updated with a Plunker - http://plnkr.co/edit/eba8t46pqGllufteLJlR

    <h2>Apparently I have to have code to add a plunker</h2>
    
  • Richard
    Richard almost 11 years
    Extending the Ubuntu partition will be impossible if he is already booted into the OS on that partition.
  • stommestack
    stommestack almost 11 years
    @searchfgold6789 Thanks for noticing. Edited now.
  • Joe
    Joe almost 11 years
    Some systems also have a hidden rescue partition that can be used to reinstall Windows. If you're really done with Windows, you'll want to delete that as well before making the Linux partition bigger.
  • Joe
    Joe almost 11 years
    Although you may not want to do it right away and wait until you know a bit more about Linux, it's really good to move /home onto its own partition and possibly create another partition just for data. That makes backups and upgrades much easier. It also helps prevent running out of disk space needed to run Linux after storing too many data files on the main (/ or root) partition. There are posts on stackexchange covering how to do this.