View previous topic :: View next topic |
Author |
Message |
cre8nkos n00b
Joined: 04 Jan 2006 Posts: 25 Location: Colorado, USA
|
Posted: Sat Jan 07, 2006 11:39 pm Post subject: After installation: Gentoo will not boot |
|
|
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 |
|
|
vinky Apprentice
Joined: 24 Feb 2005 Posts: 214 Location: Sweden
|
Posted: Sat Jan 07, 2006 11:46 pm Post subject: |
|
|
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 |
|
|
dgaffuri Advocate
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Sat Jan 07, 2006 11:47 pm Post subject: Re: After installation: Gentoo will not boot |
|
|
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 |
|
|
dgaffuri Advocate
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Sun Jan 08, 2006 12:12 am Post subject: |
|
|
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 |
|
|
vinky Apprentice
Joined: 24 Feb 2005 Posts: 214 Location: Sweden
|
Posted: Sun Jan 08, 2006 7:58 pm Post subject: |
|
|
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 |
|
|
|