0

I have windows 7 installed on C drive and Ubuntu 14.04 on another one. When I boot I got into grub rescue. Luckily I've found the solution ( somewhere on stackoverflow) to "mount" drive manually by

grub rescue > ls (hd1,msdos5) # let's assume this is the linux partition
grub rescue > set root=(hd1,msdos5)
grub rescue > set prefix=(hd1,msdos5)/boot/grub # or wherever grub is installed
grub rescue > insmod normal # if this produced an error, reset root and prefix to    something else ..
grub rescue > normal

and then I am able to boot either in Windows or Ubuntu. From my research I suspect that boot loader cannot find boot files from Ubuntu drive, but I am unsure how to fix this. I also tried grub repair but to no avail.

My question is what can I do to make computer locate correct boot files for ubuntu ?

Thanks in advance!

Gnattuha
  • 105

1 Answers1

0

So then I would like to direct your attention to this post: repair-grub

It is a very popular question (not the same problem as you, but...) where somebody answers in detail how to repair a destroyed GRUB installation. He therefore updates the config files and rewrites GRUB into the disc's bootsector. Maybe this is something you should try too, though it looks like you have to spend a nice amount of time for it and net a live-cd.

Let me know if this finally helped you, it is my last idea for the moment. Greetings and good luck!

Byte Commander
  • 110,243