I got a strange looking warning message in Windows Vista about a potential hard disk failure. I say strange because I have never in my life seen that type of warning in Windows. It suggested that I backup everything on this disk as soon as possible.
The hard disk in question is the one I use for Ubuntu Linux. I know Windows can't read Linux file systems, not natively anyway, so it's probably some SMART reading that caused Windows to warn me about this disk drive.
Ever since this happened I can't boot into Ubuntu Linux. I see several error lines passing by, something that indeed seems to be related to a disk failure. At the end it only presents the command prompt, the desktop doesn't load.
Is there a way I can recover from this error? How do I grab the error logs from command prompt? I would like to post it here.
Here's are a few screen shots:
sudo less /var/log/messages
andsudo dmesg | less
. (q
to exit fromless
.) Use<
to jump to the top,>
to jump to the bottom, up/down arrow keys to scroll. Use paper and pencil to copy what looks relevant. (There might be an easier way, but since we don't know what state your system is in, it's best to try to play it safe.less
is pretty safe.) Note that if you normally use a non-US keyboard layout, some keys may not produce the characters you expect; in that case, try it out (and use Ctrl+C to cancel any command line) first. – user Jul 09 '13 at 20:27