Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I just want to delete EVERYTHING except maybe /home folder and reinstall everything, because system became a little bit slow and I want to do that when 14.04 comes out. What's the best way to do that? At the moment I have 12.04 and have some other systems (cinamon, lubuntu etc.) that I want gone.

share|improve this question

2 Answers 2

up vote 2 down vote accepted

How you re-install Ubuntu over an existing older version depends on if you have /home in a separate partition or as a folder within / partition, the default.

In either case you start the installation process from a live DVD/USB. Proceed until you come to the Installation Type page.

enter image description here

If you have /home in its default location within / partition:

Choose the option: Upgrade Ubuntu 12.04 LTS to 14.04 LTS. This will keep your /home folder. Even though it says "installed software will be kept where possible," in my experience it cleared most of them. YMMV.

If you have /home in its own separate partition:

You can either go with the above choice.

Or you can choose Something else. If you choose "Something else," make sure you check the format box for the / partition and uncheck the format box for /home partition. See below for an example.

enter image description here

Note, in this picture above both the / and /home partitions are to be formatted. Make sure that the format box for /home is unchecked before you proceed. Otherwise you will lose all your data!

This method will format the / partition and all the extra programs you had installed in the older version will be gone. However, the settings saved in the /home will remain. If you decide to re-install some of them, say Chrome, your personal configuration, if any, should be there for the new installation to use.

Removing Cinamon and Lubuntu

It depends on how you installed Cinamon Lubuntu etc.

If you had installed just the cinamon desktop environments (DE) and the LXDE (the DE for Lubuntu) on top of Ubuntu via Ubuntu Software Center, or the apt-get command, then yes. Either method will delete them.

If you installed these from their own LiveDVD/CD/USB in separate partitions, then no. In that case you will have to remove those partitions first. You can remove these partitions either from the LiveDVD/USB, by choosing the option Try before installing and then using gparted. Make sure you don't delete the wrong partitions. At this stage you can move the other partitions around if needed and reallocate the empty space to the version of Ubuntu you want to keep.

Hope this helps

share|improve this answer
    
When using Something Else partions are not set be formatted by default. You need to click Change, choose the to use/mount a partition, and then check or not check format. –  chaskes Apr 10 at 20:30
    
Thanks. I have edited my answer. –  user68186 Apr 10 at 20:35
    
@user68186 will it delete cinamon, lubuntu etc.? also, will system become faster you think? thanks –  mrSuperEvening Apr 11 at 12:52
    
@mrSuperEvening It depends on how you installed cinamon lubuntu etc. If you had installed just the cinamon desktop environments (DE) and the LXDE on top of Ubuntu via Ubuntu Software Center, or the apt-get command, then yes. Either method will delete them. If you installed these from their own LiveDVD/CD/USB in separate partitions, then no. In that case you will have to remove those partitions first and reallocate the empty space to Ubuntu during the Something else stage of reinstall. –  user68186 Apr 11 at 15:24
    
@user68186: and do you think system will become faster? thanks. –  mrSuperEvening Apr 11 at 17:42

Just reinstall it over itself.

Ubuntu will not touch your data in /home and you'll start off with a clean slate. Just ensure that "Format" is not selected in your partition screen.

You can reinstall it in the same fashion as you installed:

Let me reiterate to ensure that you do not reformat your partition! And as with all system upgrades and reinstalls, having a fresh backup is always a good precaution to take.

You might have some things in your home directory that could be leading to performance degradation. In the past I've had config files in my home directory in directories like .gconf and .gnome that ended to get large and unweildy. These days things like that aren't as much of an issue.

share|improve this answer
    
how? Just with usb? Thanks. –  mrSuperEvening Apr 10 at 18:45
    
yep, just how you did it when you installed ubuntu the first time –  Jorge Castro Apr 10 at 18:46
    
@user68186 Feel free to just add that information into the answer! –  Jorge Castro Apr 10 at 18:53
    
Thanks @JorgeCastro, I decided to post my own answer, elaborating on the comments above (now removed). –  user68186 Apr 10 at 19:12
    
@JorgeCastro will it delete cinamon, lubuntu etc.? also, will system become faster you think? thanks –  mrSuperEvening Apr 10 at 20:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.