LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Gentoo: GRUB doesn't load any kernels (https://www.linuxquestions.org/questions/linux-newbie-8/gentoo-grub-doesnt-load-any-kernels-904747/)

firefiber 09-24-2011 02:45 AM

Gentoo: GRUB doesn't load any kernels
 
I don't know if this should go in the Linux Newbie or Gentoo specific sub-section: I am pretty new though.

Anyway, here's the problem.
I've compiled Gentoo, it's all good. And I emerge GRUB. I edit the grub.conf file and specify the root, kernel locations. Then I run grub-install, and install it in the MBR. It ran fine, and the locations were all correct.

Now the thing is, when I reboot the computer, GRUB loads into the console. From there, I have to manually set root(hd0,0), the kernel location, and then issue boot again. It's annoying. I've checked for any typos or anything in grub.conf, and there's nothing. I've even manually setup GRUB. Still the same result. At boot, it loads the console, and I have to specify the root and kernel locations, every time.

Any suggestions?

corp769 09-24-2011 02:47 AM

Hello,

Could you post the contents of your grub.conf for us? Thanks!

Cheers,

Josh

firefiber 09-24-2011 02:54 AM

Sure:

Code:

default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo Linux 2.6.39-r3
root (hd0,0)
kernel /boot/kernel-2.6.39-gentoo-r3 root=/dev/sda1

title Gentoo Linux 2.6.39-r3 (rescue)
root (hd0,0)
kernel /boot/kernel-2.6.39-gentoo-r3 root=/dev/sda1 init=/bin/bb


syg00 09-24-2011 04:20 AM

Quote:

Originally Posted by firefiber (Post 4480802)
I edit the grub.conf file and specify the root, kernel locations. Then I run grub-install, and install it in the MBR. It ran fine, and the locations were all correct.

Hmmm - so you've done everything right, therefor grub must be at fault.
In this two horse race, guess who I'm backing.

Go get bootinfoscript, do as it says, and post the RESULTS.txt
That way we'll have some real data to work with.


All times are GMT -5. The time now is 01:55 AM.