Yes that will install Grub to the MBR. But isn't grub already installed in the MBR? Or did you add Ubuntu to the Windows Boot loader ?
Yes that will install Grub to the MBR. But isn't grub already installed in the MBR? Or did you add Ubuntu to the Windows Boot loader ?
I suppose it is. When I turn on my computer, grub comes up, not some windows program. Is there a way that I can check and be sure that is the case?
Copy and paste this into a terminal:
If it returns "Grub" you have grub installed in the MBR.Code:sudo dd if=/dev/sda bs=512 count=1 2>/dev/null | strings | grep -i grub
I do have grub in the MBR then, thanks.
As I'm trying to install the new version of grub, I get the following error though. (I already purged and apt-get installed the existing grub install, by the way).
Code:sudo grub-install /dev/sda /dev/sda does not have any corresponding BIOS drive.
Try
sudo grub-install --recheck /dev/sda
I take it back, I added a --recheck switch to the above command, and it installed. Needed to renew the device map after I purged the old one.
I'll go test it out now.
I'm happy to announce that the problem did appear to be with the grub version I was using, not my hard disk. After reinstalling, grub is able to see all my linux partitions without any issues, and I can boot into Gentoo.
Thank you all for the suggestions and help. Marking thread as solved.
You are welcome. Have fun with gentoo.Thank you all for the suggestions and help
Bookmarks