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!