Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(RESOLVED) Grub error when booting
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
zonian1903
n00b
n00b


Joined: 07 Dec 2004
Posts: 22
Location: Orlando, FL

PostPosted: Sat Jun 18, 2005 3:29 am    Post subject: (RESOLVED) Grub error when booting Reply with quote

Hello everyone,
I'm installing gentoo on a Tyan GX28 with a broadcom SATA 8XXX RAID Controller
and I'm getting the following error after Grub passes the boot selection screen:
-------------------------------------------
Booting 'Gentoo Linux'

root (sd0,0)

Error 23: Error while parsing number

Press any key to continue...
-------------------------------------------
After that it just returns me to the boot selection screen.

According to the grub manual this is a syntax error in my grub.conf file where
grub expects to find a number but finds somethng else. Thing is my grub.conf file
is extremely short and just don't see where grub is expecting a number and isn't
getting it. Maybe someone can point out my ignorance here? I'd really apprecate it. :)

Here is the contents of my grub.conf file:
########################################
default 0

timeout 30

title=Gentoo Linux 2.6.11-r11

root (sd0,0)

kernel /kernel-2.6.11-gentoo-r11 root=/dev/sda3
########################################
Any deas?

Frank


Last edited by zonian1903 on Sat Jun 18, 2005 4:20 am; edited 1 time in total
Back to top
View user's profile Send private message
Tester
Retired Dev
Retired Dev


Joined: 10 Jun 2002
Posts: 37
Location: Montreal, Canada

PostPosted: Sat Jun 18, 2005 4:15 am    Post subject: Reply with quote

Grub calls all hds "hd", regardless of what linux says (because it access them using the BIOS). So it would probably be (hd0,0)... by the way, the linux numbers dont always match the linux numbers (so if it does not work, you may want to try (hd1,0))
_________________
Tester
tester@gentoo.org
Back to top
View user's profile Send private message
whig
l33t
l33t


Joined: 27 Nov 2004
Posts: 970
Location: New Zealand

PostPosted: Sat Jun 18, 2005 4:19 am    Post subject: Reply with quote

Check if grub can see and load your kernel. Press c for a command line and type

kernel (sd0,0)/ker

and press tab - grub has command completion. You may have to insert a "/boot/" in there. Add

root=/dev/sda3

and run it:

boot

Use the above to locate your kernel file.
Back to top
View user's profile Send private message
zonian1903
n00b
n00b


Joined: 07 Dec 2004
Posts: 22
Location: Orlando, FL

PostPosted: Sat Jun 18, 2005 4:19 am    Post subject: Reply with quote

Thanks! I just changed it to (hd0,0) and it worked right away!

Proud to show my ignorance :)
Frank
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Karlsruhe, Germany

PostPosted: Sat Jun 18, 2005 9:15 am    Post subject: Reply with quote

Moved from Gentoo on AMD64 to Duplicate Threads. Please don't crosspost.
:arrow: https://forums.gentoo.org/viewtopic-t-350466-highlight-.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum