I'm facing a problem of not being able to boot into Linux. I get the "grub-rescue" crash (as the one mentioned here. But my problem is really very different. I don't have to /boot
directory on my hard-drive! I don't know how that happened.
My laptop was being slow. I had a VM running (using VMWare Workstation) and lot of browser tabs opened. The VM displayed a message that it wasn't getting enough memory and that it had to suspend the VM. So I clicked "ok" and waited for a minute or two. I have a 256Gb SSD and I thought that it should have suspended the VM. So I try to use my computer but everything appears to be frozen. So I restart. And then I get the "grub rescue" prompt. :-(
So I booted into a live USB disk and I see only the following directories on my hard-drive : dev
, proc
, run
, sys
, usr
. So the OS is not able to see other directories, I guess. I guess the data is still there because the total size of the above directories is 119Gb and I have a free space of 70.2 Gb. Moreover, Ubuntu (the live USB one) is displaying "some contents unreadable" when I see the properties of my hard-drive.
I want to know is there any way I can repair my GRUB, get my other directories and get to work Ubuntu as it was before without installing a clean, new copy of Ubuntu. Is there any way to repair GRUB and/or hard-drive?
P.S.: I have tried using boot-repair
through the Live USB but it doesn't help. I have used the 'Recommended Repair' option without success. In "advanced options" of boot repair utility the "GRUB location", "GRUB options" and "MBR options" is disabled. The only thing I can do is "Restore MBR" (which doesn't help). Any help would be appreciated. Thanks!
/boot
were on a separate partition, you would still see an empty directory in/
. Try runningsudo fsck /dev/sda1
(change thesda1
to the correct/
partition in your case). – terdon Jul 09 '14 at 13:05/dev
– TheRookierLearner Jul 10 '14 at 04:56fsck
should be run from a live CD, not your damaged session. – terdon Jul 10 '14 at 12:20