Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Another grub question - Adaptec AIC-7892H
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
smkamene
n00b
n00b


Joined: 11 Oct 2004
Posts: 23
Location: Atlanta

PostPosted: Sun Oct 31, 2004 8:04 pm    Post subject: Another grub question - Adaptec AIC-7892H Reply with quote

Hello guys, I have followed the handbook word by word except that i have a scsi hdd with a Adaptec AIC-7892H scsi card. Everything went fine until after i had to reboot after installing grub. I am getting error message:

Code:
Booting command-list
root (hda0,0)
Error 23: Error while parsing number
Press any key to continue.


I am using kernel 2.6.9 that i manually build, support for my scsi card was compiled in the kernel. Here is my grub.conf

Code:
default 0
timeout 30

title=Gentoo Linux 2.6.9-r1
root (hda0,0)
kernel /kernel-2.6.9-gentoo-r1 root=/dev/sda1


Here is my partition layout:

Code:
fdisk -l /dev/sda

/dev/sda1   *   1   5   40131   83   Linux
/dev/sda2      6   68   506047+ 82   Linux swap
/dev/sda3      69   4467   3533497 83   Linux


cat device.map

(fd0) /dev/fd0
(hd0) /dev/sda

I also tried changing sda1 to sda3 with the same result. In the handbook when they describe grub installation, they have..isn't it supposed to be hda1?

root (hd0,0)
kernel /kernel-2.4.26-gentoo-r6 root=/dev/hda3

Any ideas guys?

Thanks
Back to top
View user's profile Send private message
knefas
l33t
l33t


Joined: 21 Dec 2003
Posts: 828

PostPosted: Sun Oct 31, 2004 8:08 pm    Post subject: Re: Another grub question - Adaptec AIC-7892H Reply with quote

smkamene wrote:
Everything went fine until after i had to reboot after installing grub. I am getting error message:

Code:
Booting command-list
root (hda0,0)
Error 23: Error while parsing number
Press any key to continue.


Any ideas guys?

Thanks


I think it should be root (hd0,0) instead :)
Back to top
View user's profile Send private message
knefas
l33t
l33t


Joined: 21 Dec 2003
Posts: 828

PostPosted: Sun Oct 31, 2004 8:09 pm    Post subject: Re: Another grub question - Adaptec AIC-7892H Reply with quote

sorry, double post.

Last edited by knefas on Sun Oct 31, 2004 9:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
smkamene
n00b
n00b


Joined: 11 Oct 2004
Posts: 23
Location: Atlanta

PostPosted: Sun Oct 31, 2004 8:59 pm    Post subject: Reply with quote

man...i am blind...can't copy the text correctly. this got me further but i am getting this now when its booting..:

Code:
 
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
kjournald starting. Commit interval 5 seconds
mount_devfs_fs(): unable to mount devfs, err: -2
Freeing unused kernel memory: 212k freed
Warning: unable to open an inital console.
Kernel panic - not syncing: No init found. Try passing init= option to kernel.


I have no clue what this means and how to fix it. Any ideas folks would be greatly appreciated.

Thanks
Back to top
View user's profile Send private message
knefas
l33t
l33t


Joined: 21 Dec 2003
Posts: 828

PostPosted: Sun Oct 31, 2004 9:17 pm    Post subject: Reply with quote

did you use genkernel? if so, you have to make a slighty different grub.conf
( http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap_pre3 )
passing init=/linuxrc to the kernel.
Back to top
View user's profile Send private message
smkamene
n00b
n00b


Joined: 11 Oct 2004
Posts: 23
Location: Atlanta

PostPosted: Sun Oct 31, 2004 9:56 pm    Post subject: Reply with quote

nah, i did not use genkernel. Should i try the setting anyway?
Back to top
View user's profile Send private message
smkamene
n00b
n00b


Joined: 11 Oct 2004
Posts: 23
Location: Atlanta

PostPosted: Sun Oct 31, 2004 10:03 pm    Post subject: Reply with quote

ok, i must not understand grub.conf ...i changed:

Code:
kernel /kernel-2.6.9-gentoo-r1 root=/dev/sda1


to

Code:
kernel /kernel-2.6.9-gentoo-r1 root=/dev/sda3


and it came up ok. I thought that sda1 is where my kernel is so i have to tell grub that it's on partition sda1 not sda3 ...but i guess i am wrong...can you explain please.

Thanks
Back to top
View user's profile Send private message
knefas
l33t
l33t


Joined: 21 Dec 2003
Posts: 828

PostPosted: Mon Nov 01, 2004 6:52 am    Post subject: Reply with quote

with root= you are telling the kernel in what partition / is.
In this partition it will look for init etc. :)
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