View previous topic :: View next topic |
Author |
Message |
nunne Apprentice
Joined: 27 May 2004 Posts: 165 Location: Sweden
|
Posted: Mon Oct 31, 2005 11:48 pm Post subject: problems booting my system.. |
|
|
Installed gentoo on my one and only disk.. /dev/sda...
running fdisk -l on the livecd gets:
/dev/sda1 boot etc.. etc..
/dev/sda2 swap
/dev/sda3 reiserfs
and running fdisk -l in my chrooted env. shows exactly the same...
grub-install and manually installation av grub to hd(0,0) works like a sharm.
and it detects thats its ext2 on /boot.
I get to grub.. but then after awhile i get kernel panic..
Pease provide a real root= (it sais that /dev/sda3 doesn't exist.)
and I have tried /dev/hda3, /dev/hdc3, /dev/sdb3 etc.. and neither workds..
and yes, I have copied /proc/mounts to /etc/mtab.. and it sais /dev/sda3 is / and it's reiserfs.
my grub.conf:
default 0
timeout 5
root (hd0,0)
kernel /kernel-2.6.13-gentoo-r5 root=/dev/sda3
and yeah.. it's amd64.
thanks! _________________ >>touch /dev/null |
|
Back to top |
|
|
djpharoah Apprentice
Joined: 24 Nov 2004 Posts: 186 Location: Irvine, California USA
|
Posted: Tue Nov 01, 2005 3:13 am Post subject: |
|
|
you might have forgotten to enable scsi emulation in the kernel if you did a manual config. if you used genkernel not sure if they include the scsi emulation.
Now you must be thinking, what does scsi drivers have to do with a sata drive? well in linux , sata is emulated by scsi...(long process..kinda hard to explain) so long story short...u have to enable scsi emulation in the kernel somehow
gl |
|
Back to top |
|
|
netjunkie Tux's lil' helper
Joined: 03 May 2005 Posts: 98
|
Posted: Fri Nov 04, 2005 2:26 pm Post subject: |
|
|
Hi
I have a similar problem on Dual AMD64 with 3ware 9500 SATA raid card.
My grub conf is exactly the same as above and same kernel version.
when i boot, grub starts and I get my selection. when i choose the default i get the following error:
Quote: |
root (hdd0,0)
filesystem type is reiserfs, partition type is 0x83
kernel /kernel-2.6.13-gentoo-r5 root=/dev/sda3
Error 15: file not found
|
I have added Scsi emulation under drivers, what else is needed? _________________ Netjunkie
Gentoo - The ultimate learning tool for linux.
"Nobody trips over mountains. It is the small pebble that causes you to stumble. Pass all the pebbles in your path and you will find you have crossed the mountain."
-Traditional Proverb. |
|
Back to top |
|
|
uxbod Guru
Joined: 30 Dec 2002 Posts: 474 Location: UK
|
Posted: Sat Nov 05, 2005 3:54 pm Post subject: |
|
|
I have the same problem but only on 2.6.14 kernel. If i use 2.6.13-r5 it works fine. |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sat Nov 05, 2005 4:05 pm Post subject: |
|
|
netjunkie wrote: |
root (hdd0,0)
filesystem type is reiserfs, partition type is 0x83
kernel /kernel-2.6.13-gentoo-r5 root=/dev/sda3
Error 15: file not found
|
try root (hd0,0) instead _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sat Nov 05, 2005 4:06 pm Post subject: |
|
|
uxbod wrote: | I have the same problem but only on 2.6.14 kernel. If i use 2.6.13-r5 it works fine. |
What does your grub.conf look like? Did you add another section for your 2.6.14 kernel? _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
uxbod Guru
Joined: 30 Dec 2002 Posts: 474 Location: UK
|
Posted: Sat Nov 05, 2005 4:29 pm Post subject: |
|
|
Code: | default 0
timeout 30
title Linux
root (hd0,0)
kernel /bzImage root=/dev/sda3 |
|
|
Back to top |
|
|
netjunkie Tux's lil' helper
Joined: 03 May 2005 Posts: 98
|
Posted: Sat Nov 05, 2005 4:36 pm Post subject: |
|
|
Actually the cause for this is I did not have SCSI emulation compiled into my kernel as standard, it was as module or something. _________________ Netjunkie
Gentoo - The ultimate learning tool for linux.
"Nobody trips over mountains. It is the small pebble that causes you to stumble. Pass all the pebbles in your path and you will find you have crossed the mountain."
-Traditional Proverb. |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sat Nov 05, 2005 4:43 pm Post subject: |
|
|
uxbod wrote: | Code: | default 0
timeout 30
title Linux
root (hd0,0)
kernel /bzImage root=/dev/sda3 |
|
So, that's only one entry. That means you can boot only one kernel and it's named bzImage.
Make sure your 2.6.14 kernel image exists in /boot and is named kernel-2.6.14 and add this: Code: |
title Linux-2.6.14
root (hd0,0)
kernel /kernel-2.6.14 root=/dev/sda3 |
If your 2.6.14 kernel image has another name, you need to change kernel /kernel-2.6.14 accordingly _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
uxbod Guru
Joined: 30 Dec 2002 Posts: 474 Location: UK
|
Posted: Sat Nov 05, 2005 4:52 pm Post subject: |
|
|
correct ... i have copied the bzImage from the arch folder to /boot. It borks about the root device not being found, even though I have compiled the 3Ware driver into the kernel. |
|
Back to top |
|
|
|