How to reinstall Ubuntu, and keep your data safe in event of system failure!

Ubuntu lets you keep your personal data safe and reset system files.

In an event of a complete system failure where your Ubuntu refuses to boot in spite of running grub repair tool,  you don’t have many choices other than to reinstall Ubuntu. Don’t worry, when I say reinstall Ubuntu, I don’t want to scare the hell out of you! Your personal data in the directories are still safe – you are only resetting Ubuntu system files.

Note that this guide is only for software related issues due to which your Ubuntu won’t boot. If you have a major system failure because of hardware related issues, like for instance hard disk failure, this guide is useless.

Reinstall Ubuntu, but keep personal data

Step 1) First step is to create an Ubuntu Live DVD or USB drive, which will be used to reinstall Ubuntu. Head over to our detailed guide and return back with an Ubuntu Live  DVD/USB drive.

Step 2) Boot your computer into the Ubuntu Live disk.

Step 3) Select “Install Ubuntu”.

Installing Ubuntu
Installing Ubuntu

Step 4) Optionally, you can select to download updates and third-party software while installing Ubuntu itself, provided your PC is connected to the internet now. Click ‘Continue’.

Optionally download updates and codec while installing Ubuntu
Optionally download updates and third-party software while installing Ubuntu

Step 5) The next dialog box is the most important one. The installer will show you several options on what you can do from here and the options may differ for you based on your system configuration. If you only had Ubuntu on your PC, the options should be same as what I have shown below. Select “Reinstall Ubuntu 17.10”. This option will keep your documents, music and other personal files intact. The installer will try to keep your installed software too where possible. However, any personalized system settings like auto-startup applications, keyboard shortcuts, etc. will be deleted.  Your version number may be different. Click ‘Install Now’.

Reinstall Ubuntu
Reinstall Ubuntu

Step 6) Continue to follow on-screen instructions. You will pass through location, keyboard layout, and finally user account details. Click ‘Continue’.

User Account Details
User Account Details

You can notice during installation, Ubuntu will try to restore as many applications as possible.

It’s typical to see an error that says problem while restoring installed applications. There is nothing much you can do for this error other than reinstalling those applications manually after reset is complete.

Restoring Applications Error
Restoring Applications Error

That’s it!

Kiran Kumar
Hi there! I'm Kiran Kumar, founder of FOSSLinux.com. I'm an avid Linux lover and enjoy hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. Hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more, and spread Linux love!. If you find a time, drop me an email or feedback from the 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!

2 COMMENTS

  1. Dear Kiran Kumar,

    When I start the live USB I do not get a graphical choice between try Ubuntu or Install Ubuntu as described in your article.
    Much rather, I only have that option in a grub-like menue. Unfortunately, if I choose INSTALL Ubuntu, the live USB gets stuck in the process with black screen. On the other side, the system boots up when I choose try Ubuntu.
    However, if I choose Install from the menue of the live system, I do not get the option to reinstall ubuntu.
    Is there any way to still reinstall Bionic while preserving the data?

    I have dual boot with win10 and the hardware is a
    Ryzen 3 2200G, motherboard GA AB350M-DS3H, RAM 8 GB Ripjaw.

    Thank you so much for your suggestions!
    Kind regards,
    Hans

  2. Hello Kiran,

    I’m running lubuntu 18.04 LTS for quite some time. After a regular automatic update followed by a reboot, my system got stuck showing the following message:
    “A start job is running for Hold until boot process finishes up (28 s / unlimited)”
    I then tried to reinstall ubuntu-desktop and got the following error:
    “Invalid operation reinstall” followed by other error messages:
    “/usr/lib/apt/methds/http: relocation error: ….”
    “E: Method http has died unexpectedly!”
    “E: Sub-process http returned an error code (127)”
    “E:Method /usr/lib/apt/methds/http did not start correctly”.

    Is there any ways to fix these issues?

    Thanks a lot.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

STAY CONNECTED

24,534FansLike
172FollowersFollow

LATEST ARTICLES

best music players for linux
For sure, there will be Linux users out there who cannot live without music. If you're one of those people, you would know how important it is to have a good music player installed on your computer system. In this article, we present to you the 5 Best Music Players for Linux, which will hopefully be able to satisfy each of our readers' needs.
PDF EDITORS LINUX
In this article, we will take a look at 10 of the best PDF editors and tools out there in 2019 that are available for Linux platforms. The editors are going to be judged on the basis of their functionalities, portability, ease of installation, price, and convenience.
Uninstall Programs in Ubuntu
Uninstallation of programs can be done by graphical way using the Ubuntu Software Center, and the Synaptic Package manager. Command-line way of doing it is also possible using apt-get and aptitude commands. We shall discuss each one of them in detail.
screen capturing apps for linux
Do you want to make a video tutorial for YouTube or show-off your epic victory royale to your friends? Look no further — as we have compiled the 10 Best Screen Capturing Software for Linux. Whether you need to record your desktop screen or take a simple screenshot, FOSSLinux has got your back.
Free up hard disk space ubuntu
Hard disk space can easily get filled up with cached package files, old kernels, and other obsolete files that occupy unwanted hard disk space. Here are top five best and safer ways to clean and free up hard disk space in Ubuntu. We show you Terminal and GUI way of cleaning up system.