Ubuntu Server 20.04 not loading

PierreF

New Member
Joined
Jun 22, 2021
Messages
4
Reaction score
0
Credits
40
Hi All,

I havea Ubuntu Server 20.04 installed onto a hyper v - last saturday we had a power issue and server was turned off due to the power cut - now ubuntu not loading. When i switch on the virtual machine i only get a blinking cursor. Obviously files got corrupted.

question - will i be able to sort out the Grub using the shell which is accessible from the new installation menu

1624361604266.png


if yes any guidence on how to. tried various including these

$ 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 clean
$ sudo apt update --fix-missing
$ sudo apt install -f
$ sudo dpkg --configure -a
$ sudo apt upgrade
$ sudo apt dist-upgrade

taken details from this website https://ostechnix.com/how-to-fix-broken-ubuntu-os-without-reinstalling-it/


but no luck

any help appriciated
 


How are you trying those commands? Where are you entering them? Is it recovery mode?
 
Hi, Thanks for your reply,

no commands were being inputted via shell menu, never managed to access recovery or rescue modes both never managed to load up. Speaking in the past since I did a fresh installation


regards and thanks
 
Ah, okay. The solution was likely fsck. However, I can relate to reinstalling. For some reason, folks seem to think that's taboo. Nah, sometimes it's faster to just reinstall.
 


Latest posts

Top