Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
After installation: Gentoo will not boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
cre8nkos
n00b
n00b


Joined: 04 Jan 2006
Posts: 25
Location: Colorado, USA

PostPosted: Sat Jan 07, 2006 11:39 pm    Post subject: After installation: Gentoo will not boot Reply with quote

After installation and I boot my system I get the following error:

Error 23: Error while parsing number

My hard drive set up is set up like:

##########################################
/dev/sda1 - Windows XP
/dev/sda2 - /boot (Set to bootable currently)
/dev/sda3 - linux swap
/dev/sda4 - linux /root

##########################################

My grub file looks like this:

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

title=Gentoo Linux 2.6.12-gentoo-r6
root (sd1,2)
kernel /boot/2.6.12-gentoo-r6 root=/dev/sda4

title=Windows XP
rootnoverify (sd1,5)
makeactive
chainloader +5
#######################################



Thanks.
Back to top
View user's profile Send private message
vinky
Apprentice
Apprentice


Joined: 24 Feb 2005
Posts: 214
Location: Sweden

PostPosted: Sat Jan 07, 2006 11:46 pm    Post subject: Reply with quote

Quote:
title=Gentoo Linux 2.6.12-gentoo-r6
root (sd1,2)
kernel /boot/2.6.12-gentoo-r6 root=/dev/sda4

root (sd1,2) should be: root (sd0,1)

hd and sd numbers starts on 0 but sda and hda starts on 1
sda1 means the same as sd0,0
Back to top
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Sat Jan 07, 2006 11:47 pm    Post subject: Re: After installation: Gentoo will not boot Reply with quote

I think it should be
Code:
default 0
timeout 30
splashimage=(hd0,1)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.12-gentoo-r6
root (hd0,1)
kernel /2.6.12-gentoo-r6 root=/dev/sda4

title=Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1

unless you have other disks besides /dev/sda.
_________________
Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject
Back to top
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Sun Jan 08, 2006 12:12 am    Post subject: Reply with quote

vinky wrote:
Quote:
title=Gentoo Linux 2.6.12-gentoo-r6
root (sd1,2)
kernel /boot/2.6.12-gentoo-r6 root=/dev/sda4

root (sd1,2) should be: root (sd0,1)

hd and sd numbers starts on 0 but sda and hda starts on 1
sda1 means the same as sd0,0

GRUB doesn't distinguish IDE from SCSI, so you have to use (hdx,y) and not (sdx,y).
_________________
Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject
Back to top
View user's profile Send private message
vinky
Apprentice
Apprentice


Joined: 24 Feb 2005
Posts: 214
Location: Sweden

PostPosted: Sun Jan 08, 2006 7:58 pm    Post subject: Reply with quote

Ye, you are right
But yesteerday(after posting) when I looked in the installation handbook it doesnt stand anything about how it is with sata-harddrives if it should be hdx,y or sdx,y
Maybe I should email the one who maintains it and get them to add that
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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