LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-26-2004, 03:45 PM   #1
Cowma
LQ Newbie
 
Registered: Aug 2003
Location: Vermont
Distribution: Redhat Linux 9
Posts: 6

Rep: Reputation: 0
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
 
Old 04-26-2004, 03:52 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
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
 
Old 04-26-2004, 03:56 PM   #3
Cowma
LQ Newbie
 
Registered: Aug 2003
Location: Vermont
Distribution: Redhat Linux 9
Posts: 6

Original Poster
Rep: Reputation: 0
Well if it matters /dev/hda1 is my windows partition...so i made my boot partition hd 2
 
Old 04-26-2004, 04:00 PM   #4
Cowma
LQ Newbie
 
Registered: Aug 2003
Location: Vermont
Distribution: Redhat Linux 9
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 04-26-2004, 04:04 PM   #5
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
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
 
Old 04-26-2004, 04:08 PM   #6
Cowma
LQ Newbie
 
Registered: Aug 2003
Location: Vermont
Distribution: Redhat Linux 9
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks man your a genius..now to gentoo world
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo... grub problems... "/boot/grub/stage1" exists... no halo14 Gentoo 5 02-06-2011 04:50 PM
gentoo : grub: The file /boot/boot/grub/stage1 not read correctly Boudewijn Linux - Software 3 05-21-2008 03:13 AM
grub on gentoo need help chiatello Linux - General 1 07-27-2003 02:30 PM
Grub and Gentoo CheeseManD Linux - Newbie 2 04-27-2003 12:48 PM
Gentoo and Grub Arleta Linux - Newbie 1 01-06-2003 03:11 PM


All times are GMT -5. The time now is 04:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration