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!
sudo update-grub
after signing into Ubuntu? – mchid Jan 13 '15 at 03:17Found linux image: /boot/vmlinuz-3.13.0-43-generic
Found initrd image: /boot/initrd.img-3.13.0-43-generic
Found linux image: /boot/vmlinuz-3.13.0-32-generic
Found initrd image: /boot/initrd.img-3.13.0-32-generic
Found Windows 7 (loader) on /dev/sda2
Found Windows 7 (loader) on /dev/sda3
done – Gnattuha Jan 13 '15 at 04:02
sudo update-grub
can't update it)? – T0xicCode Jan 13 '15 at 05:54