View previous topic :: View next topic |
Author |
Message |
smkamene n00b
Joined: 11 Oct 2004 Posts: 23 Location: Atlanta
|
Posted: Sun Oct 31, 2004 8:04 pm Post subject: Another grub question - Adaptec AIC-7892H |
|
|
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 |
|
|
knefas l33t
Joined: 21 Dec 2003 Posts: 828
|
Posted: Sun Oct 31, 2004 8:08 pm Post subject: Re: Another grub question - Adaptec AIC-7892H |
|
|
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 |
|
|
knefas l33t
Joined: 21 Dec 2003 Posts: 828
|
Posted: Sun Oct 31, 2004 8:09 pm Post subject: Re: Another grub question - Adaptec AIC-7892H |
|
|
sorry, double post.
Last edited by knefas on Sun Oct 31, 2004 9:14 pm; edited 1 time in total |
|
Back to top |
|
|
smkamene n00b
Joined: 11 Oct 2004 Posts: 23 Location: Atlanta
|
Posted: Sun Oct 31, 2004 8:59 pm Post subject: |
|
|
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 |
|
|
knefas l33t
Joined: 21 Dec 2003 Posts: 828
|
|
Back to top |
|
|
smkamene n00b
Joined: 11 Oct 2004 Posts: 23 Location: Atlanta
|
Posted: Sun Oct 31, 2004 9:56 pm Post subject: |
|
|
nah, i did not use genkernel. Should i try the setting anyway? |
|
Back to top |
|
|
smkamene n00b
Joined: 11 Oct 2004 Posts: 23 Location: Atlanta
|
Posted: Sun Oct 31, 2004 10:03 pm Post subject: |
|
|
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 |
|
|
knefas l33t
Joined: 21 Dec 2003 Posts: 828
|
Posted: Mon Nov 01, 2004 6:52 am Post subject: |
|
|
with root= you are telling the kernel in what partition / is.
In this partition it will look for init etc. |
|
Back to top |
|
|
|