How to Reinstall Ubuntu (Linux) without Repartitioning

Here’s how to reinstall Ubuntu or another Linux distro without having to lost your app settings and data. It’s useful for some cases, for instance you won’t lost your Firefox bookmarks and login session, as well as browsing history and installed add-ons. Although you can regain them all easily by the new sync feature, it can help you to save bandwidth and time.

The key to accomplish this approach is at the partitioning section when you install from USB or DVD installer. If you have /home directory in a distinct partition, then it will be easier to do. Otherwise, you may have to delete some system dirs first, instead of formatting / (root).

Delete some dirs
Delete some dirs

Once you have deleted directories other than /home, select Manual when it comes to the partition section at the installation process.

Edit mount point
Edit mount point

Select the / (root) partition and use it as Ext4 or the previous format. But don’t check the Format this partition.

Confirm not to format
Confirm not to format
Summary to format swap
Summary to format swap

Another thing to note is that you have to take the same username as the previous installation. Since the installer will attempt to create /home/username folder as your home dir. Then if the directory exists, it will not be overwritten though.

Advertisements

Published by

Badwi

A Muslim, sober, a Javanese

2 thoughts on “How to Reinstall Ubuntu (Linux) without Repartitioning”

Share your idea here (markdown enabled)

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s