Linux Tips

How To Repair Damaged Ubuntu OS With out Reinstalling It

SEOClerks

Fix Broken Ubuntu OS

At this time, I used to be upgrading my Ubuntu 18.04 LTS system. Sadly, the facility has gone in mid-way and the system powered off whereas updating Ubuntu OS. When the facility is again, I boot the system once more. Proper after coming into the password on the login display screen, it’s gone clean and didn’t reply. Keyboard and mouse additionally didn’t work. All I see is only a clean display screen! Fortunately, It’s only a check machine and there have been no necessary information in it. I can merely wipe off your complete OS and set up it once more. However, I don’t need to try this. Since I’ve nothing to lose, I simply wished to restore my damaged Ubuntu system with out reinstalling it fully and it labored!!! In case you ever end up in a scenario like mine, don’t panic. This transient tutorial describes the best way to simply repair damaged Ubuntu OS with out shedding information and with out reinstalling it fully.

Repair Damaged Ubuntu OS

Initially, attempt to login with dwell cd and backup your information in an exterior drive. Simply in case, if this methodology didn’t work, you’ll be able to nonetheless have your information and reinstall every thing!

On the login display screen, press CTRL+ALT+F1 to modify to tty1. You possibly can be taught extra about switching between TTYs right here.

Now, kind the next instructions one after the other to repair the damaged Ubuntu Linux.

$ sudo rm /var/lib/apt/lists/lock
$ sudo rm /var/lib/dpkg/lock
$ sudo rm /var/lib/dpkg/lock-frontend
$ sudo dpkg –configure -a
$ sudo apt clear
$ sudo apt replace –fix-missing
$ sudo apt set up -f
$ sudo dpkg –configure -a
$ sudo apt improve
$ sudo apt dist-upgrade

Lastly, reboot the system utilizing command:

$ sudo reboot

Now you can be capable to login to your Ubuntu system as normal.

After I adopted these steps, all of my information in Ubuntu 18.04 check system was there and every thing is similar as I left it. This methodology could not work for everybody. Nevertheless, this small tip labored for me and saved a pair minutes from reinstalling. If you understand another higher manner, please let me know within the remark part. I’ll add them on this information as effectively.

And, that’s all for now. Hope this was helpful.

Extra good stuffs to return. Keep tuned!

Cheers!

Thanks for stopping by!

Assist us that can assist you:

Have a Good day!!

‘,
enableHover: false,
enableTracking: true,
buttons: ,
click on: perform(api, choices)
});
$(‘#fb’).sharrre();
$(‘#googleplus’).sharrre();
$(‘#linkedin’).sharrre();

// Scrollable sharrre bar, contributed by Erik Frye. Superior!
var $_shareContainer = $(“.sharrre-container”),
$_header = $(‘#header’),
$_postEntry = $(‘.entry’),
$window = $(window),
startSharePosition = $_shareContainer.offset(),//object
contentBottom = $_postEntry.offset().high + $_postEntry.outerHeight(),
topOfTemplate = $_header.offset().high,
topSpacing = _setTopSpacing();

//triggered on scroll
shareScroll = perform()

//setup occasion listeners
$window.scroll( _.throttle( perform() , 50 ) );
$window.resize( _.debounce( perform() , 50 ) );

});

Source link

Related Articles

Leave a Reply

Back to top button