Once while I was using Ubuntu everything locked up. I was no longer able to boot vmlinuz-3.8.0-31-generic
. When I would try, it would not get past the boot phase.
Fortunately, I am still able to boot vmlinuz-3.8.0-30-generic
and work normally.
Is there any way I can restore vmlinuz-3.8.0-31-generic
to work again? Any ideas on what caused the problem or how to recover from it in the future?
You have to re-configure the packages/drivers installed for latest kernel
It will do nothing but set-up/configure the packages which was meant for your oldest kernel.
Here is the possible solution
Follow these steps precisely:
During boot select the
Recovery Mode
of your latest kernel and start your system in Recovery ModeOnce your system starts in recovery mode chose grub option listed in the menu. It will prompt you to mount your system in read/write mode. Chose yes. After updating grub it will exit and will come back to the menu.
This time chose root and execute following commands to re-configure your packages:
dpkg-reconfigure -a
would take some time depends upon packages installed in your system. so please wait for it to complete. If it doesn't give any messages means it executes successfully. If it gives any message just note it and post in commentpress Tab to highlight
Ok
and then Enter to exit.Once your system restarts chose again your latest kernel normal mode and see what happens.. You should not get black-locked screen this time.
Reply if something goes wrong, or you get any error message in any particular command. Mention the command with the error message.