How resolve initramfs error in Ubuntu or Mint
If the computer does not boot up properly, it will stuck at initramfs command line prompt instead of going straight to the login screen.
This article explains the steps to resolve this problem.
Step1: Run exit command.
#exit
Note down the filesystem path dispayed after entering the exit command as it required in the upcoming steps.
Step2: Run filesystem check.
#fsck filesystem-path -y
Here we need to replace the real filesystem path that we have noted earlier step.
Step3: Reboot the machine.
#reboot
That's all….