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!

3 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.

  3. Unfortunately for Ubuntu 18.04, the reinstall option was removed. I just tried it from a USB stick one hour ago and the menu selection looks exactly the same as shown in this article except there is no reinstall option. The first option now is “erase”. annoying!

LEAVE A REPLY

Please enter your comment!
Please enter your name here

STAY CONNECTED

24,350FansLike
189FollowersFollow

LATEST ARTICLES

Create a ClamAV Antivirus Live USB drive, and how to use it

Antivirus Live CD or USB drives come in handy at times when your computer is infected with a virus and other malware. Here is how you can create a ClamAV Live USB drive to scan and remove the malware from a computer.

RECENT COMMENTS

Application Launchers for Ubuntu
Ubuntu is one of the most used Linux distributions worldwide. It is also the reason why it has the maximum number of available programs for itself. Today we are going to talk about one category of those programs, the application launchers.
Test drive linux online
Enter DistroTest.net, a website that allows Linux users to test various distros online, without downloading the ISO or installing the distro. With DistroTest.net, you can check a distro with no muss, no fuss.
Ubuntu 19.10 beta overview
It may be early, but I've been looking forward to the release of Ubuntu 19.10 for some time now. As an impatient person, and promised readers in the FOSSLinux article announcing the release of Eoan Ermine that we would provide you a review of Ubuntu 19.10 Eoan Ermine - Beta.  So, here it goes.