How To Repair Damaged Ubuntu OS With out Reinstalling It

Fix Broken Ubuntu OS

As we speak, 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, it’s gone clean and didn’t reply. Keyboard and mouse additionally didn’t work. All I see is only a clean display! Fortunately, It’s only a take a look at machine and there have been no vital information in it. I can merely wipe off your entire OS and set up it once more. However, I don’t need to try this. Since I’ve nothing to lose, I simply needed to restore my damaged Ubuntu system with out reinstalling it fully and it labored!!! If you happen to ever end up in a state of affairs like mine, don’t panic. This temporary tutorial describes tips on how to simply repair damaged Ubuntu OS with out dropping information and with out reinstalling it fully.

Repair Damaged Ubuntu OS

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

On the login display, press CTRL+ALT+F1 to change to tty1. You’ll be able to study 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 of login to your Ubuntu system as typical.

After I adopted these steps, all of my information in Ubuntu 18.04 take a look at system was there and every little thing is identical as I left it. This technique might not work for everybody. Nevertheless, this small tip labored for me and saved a pair minutes from reinstalling. If you already know another higher method, please let me know within the remark part. I’ll add them on this information as properly.

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

Extra good stuffs to return. Keep tuned!


Thanks for stopping by!

Assist us that will help you:

Have a Good day!!

enableHover: false,
enableTracking: true,
buttons: ,
click on: perform(api, choices)
fb: true
template: ‘

enableHover: false,
enableTracking: true,
buttons:structure: ‘box_count’,
click on: perform(api, choices)


// 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()
var scrollTop = $window.scrollTop() + topOfTemplate,
stopLocation = contentBottom – ($_shareContainer.outerHeight() + topSpacing);

$_shareContainer.css(place : ‘mounted’);

if( scrollTop > stopLocation )
$_shareContainer.css( place:’relative’ );


else if (scrollTop >= $_postEntry.offset().high – topSpacing)
$_shareContainer.css( );

else if (scrollTop 1024 )
topSpacing = distanceFromTop + $(‘.nav-wrap’).outerHeight();
topSpacing = distanceFromTop;

return topSpacing;

//setup occasion listeners
$window.scroll( _.throttle( perform() , 50 ) );
$window.resize( _.debounce( perform()
if ( $window.width() > 719 ) else
, 50 ) );


Source link

Leave a Reply