LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Gentoo and Grub? (https://www.linuxquestions.org/questions/linux-newbie-8/gentoo-and-grub-174817/)

Cowma 04-26-2004 03:45 PM

Gentoo and Grub?
 
ok...i just installed Gentoo for the first time and I configured grub as there example is in the documentation where the kernel is "kernel kernel-2.4.24 root=/dev/hdax" however when it try to boot it gives be the following error "Error 1: Filename must be either an absolute pathname or blocklist" so I was wondering if I had to specify the exact directory of where the kernel is located and if so where is it located? Plz help

-Cowma

hw-tph 04-26-2004 03:52 PM

Well, you should have installed the kernel earlier. ;)
It is in /boot so you will need to mount /boot and then you can check the exact kernel image name there. If you followed the docs to the letter you should have the /boot partition as /dev/hda1 (known to grub as (hd0,0)).


Håkan

Cowma 04-26-2004 03:56 PM

Well if it matters /dev/hda1 is my windows partition...so i made my boot partition hd 2

Cowma 04-26-2004 04:00 PM

could you give me the exact syntax say if my boot partition is /dev/hda2 my swap partition is /dev/hda3 and my root partion is /dev/hda4

Demonbane 04-26-2004 04:04 PM

Grub should be setup with 'root (hd0,1)'
and you need to add a slash before the kernel image filename
eg.
kernel /kernel-2.4.24 root=/dev/hda4

Cowma 04-26-2004 04:08 PM

Thanks man your a genius..now to gentoo world :)


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