Ubuntu – How to reinstall Ubuntu

re-installationwindows

I have Ubuntu 10.04 on my computer, with Windows 7 next to it. Instead of upgrading to 10.10, I feel like doing a clean install. However, I don't want to erase my Windows, even though I barely ever use it. My question is: how would I remove Ubuntu 10.04 from my drive and install Ubuntu 10.10 in place, without losing any space or anything, or losing Windows 7?

Best Answer

First, make a back up of Windows to an external device such as a DVD or USB hard drive, if you have not already done so. You'll be installing an operating system, which has inherent risks, and I'd hate for you to lose important data.

Start up the Ubuntu 10.10 desktop CD installer, and click through all of the steps until you get to partitioning. Select advanced partitioning and continue to the next page.

Now, select the partition that was created for Ubuntu 10.04. It will be an ext4 filesystem, and, if you don't have a recovery partition for Windows, it is likely to be /dev/sda2. Hit edit, then select / for the mountpoint and make sure the format button is not checked. Dismiss the dialog and press next.

You should see a warning that continuing will remove the contents of system directories, but will preserve the contents of /home. Press continue and complete the rest of the installation.

Related Question