Installation - boot error: kernel panic
Hi, good evening everyone. This is my first post, and I really could use some help... I installed Gentoo on a toshiba laptop and it worked fine. Everything is in place and I love it. The issue is when I tried to install gentoo at work. The computers here use SATA hard drives. I followed the 2005.1 installation handbook step by step. However, after rebooting the kernel gives me a kernel panic error: unable to mount root filesystem... before that, it says that /dev/sda3 is not a valid device...first, I tried the manual kernel configuration since it was not my first time compiling the kernel. Then I tried genkernel, and still no luck. The partition layout is the same as in the handbook:
I tried switching from grub to lilo, and get to the same point. What puzzles me is, that the boot loader is able to "see" the /dev/sda1 partition and loads the kernel, however when the kernel tries to mount the root fs on the other partition it cannot. No matter if it is ext2. no matter if I change lilo.conf or menu.lst to point to /dev/sda1 to mount the root, even if there is no enough space it gives me the exact same error. The kernel is 2.6.12 r6...
/dev/sda1 32M ext2 boot
/dev/sda2 512M swap swap
/dev/sda3 3,5GB ext3 root
I looked around googling and found that some other people are having this issue, however no solution works for this case. I know that there are no bad blocks on the hard drive...
Thanks in advance for any assistance.
EDIT: just in case, Ubuntu Linux installed fine on the same hd.
MOD_EDIT: Added code tags (also adding them further down). - l_n