Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel panic
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
nocph
n00b
n00b


Joined: 14 Jul 2007
Posts: 17

PostPosted: Fri Mar 28, 2008 3:42 am    Post subject: kernel panic Reply with quote

Hi All,

I'm installing gentoo and I my guide is quick install. The thing is after installing and reboot the system. I have this error

Quote:
No filesystem could mount root, tried:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)


I'm not sure what I did but I tried it for 4 times still I got the same error... I double check everything on my typo and path /dev/sda still not successful...

Kernel version is kernel-2.6.24-gentoo-r3 emerge from gentoo-source.

Any ideas :?:
Back to top
View user's profile Send private message
SiberianSniper
Guru
Guru


Joined: 06 Apr 2006
Posts: 378
Location: Dayton, OH, USA

PostPosted: Fri Mar 28, 2008 3:55 am    Post subject: Reply with quote

two possibilities come to mind...

a) Could you post the root and kernel lines in grub.conf?

b) Does your kernel have sata support, as well as support for the filesystem you picked for /dev/sda# ?
Back to top
View user's profile Send private message
nocph
n00b
n00b


Joined: 14 Jul 2007
Posts: 17

PostPosted: Fri Mar 28, 2008 5:33 am    Post subject: Reply with quote

Quote:
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux 2.6.19-r5
root (hd0,0)
kernel /boot/kernel-2.6.24-gentoo-r3 root=/dev/sda3

title=Gentoo Linux 2.6.19-r5 (rescue)
root (hd0,0)
kernel /boot/kernel-2.6.24-gentoo-r3 root=/dev/sda3 init=/bin/bb


Yes, It has a SATA support. I manually select it while compiling the kernel. My 2nd install I used genkernel-all, Have the s ame result.

My previous installation using kernel 2.6.19-r5, was successful and I didn't have any problem using the quick install guide... This kernel version don't have loadable module by default you have to select manually before compiling, then you can make module_install.

I'm kind a confuse on this new version? Any ideas where did I go wrong?

Thanks...
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Fri Mar 28, 2008 11:14 am    Post subject: Reply with quote

Try enabling ext2
Code:
<*> Second extended fs support

I had the same problem, and I tried many different solutions. Sata is good if you have sata drives, otherwise it will actually slow your system..
I use JFS and so didn't need ext2, but it seems that the kernel insists. :wink:
Back to top
View user's profile Send private message
prague14
n00b
n00b


Joined: 09 Nov 2007
Posts: 40
Location: USA

PostPosted: Fri Mar 28, 2008 8:50 pm    Post subject: Reply with quote

Make sure you add *everything* you need in your kernel. This includes ensuring PCI (and PCIe if you need it) and the block layer are enabled, as well as all the file systems you need (ext2 and 3 as mentioned earlier, plus any others you want to try/use).

You may need to take the time to go through each category/option one by one and read what each one does. You can do this by typing ? (shift+/) on the highlighted option - some options will say things like, 'if you're unsure, select Y' in their description. It's a good practice to get into, you'll be compiling quite a bit on your first dozen systems or so, unless you use genkernel. And if it still doesn't boot - go back and try again, you'll get it eventually... :)

If you haven't done so already, if your using the live cd to install, run the lspci command and jot down the vendor info you get in the output. This will help eliminate some of the guess work.

Hope this helps! :D
_________________
For a wounded man shall say to his assailant,
"If I live, I will kill you. If I die, you are forgiven."
Such is the rule of honor.


Last edited by prague14 on Fri Mar 28, 2008 8:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
prague14
n00b
n00b


Joined: 09 Nov 2007
Posts: 40
Location: USA

PostPosted: Fri Mar 28, 2008 8:54 pm    Post subject: Reply with quote

Also, I used to mess up and forget to mount /boot before compiling my kernel. Once your system is at least booting from the sata drive, remember to mount /boot before the 'make install' step if you need to recompile after the initial install.
_________________
For a wounded man shall say to his assailant,
"If I live, I will kill you. If I die, you are forgiven."
Such is the rule of honor.
Back to top
View user's profile Send private message
nocph
n00b
n00b


Joined: 14 Jul 2007
Posts: 17

PostPosted: Sat Mar 29, 2008 1:25 am    Post subject: Reply with quote

Hi Guys,

What I did now is genkernel-all this is like from the liveCD, I don't think the genkernel miss something... That's what the document said... :D

Same error... again...

How can I emerge the old kernel... I have no problem installing old kernel-2.6.20...
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sat Mar 29, 2008 1:37 am    Post subject: Reply with quote

Can you post this command plz :

Code:

# fdisk -l
Back to top
View user's profile Send private message
nocph
n00b
n00b


Joined: 14 Jul 2007
Posts: 17

PostPosted: Mon Mar 31, 2008 2:18 am    Post subject: Reply with quote

Here's my FDISK output

Quote:
livecd ~ # fdisk -l

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 13 104391 83 Linux
/dev/sda2 14 4014 32138032+ 82 Linux swap / Solaris
/dev/sda3 4015 30401 211953577+ 83 Linux
livecd ~ #
Back to top
View user's profile Send private message
nocph
n00b
n00b


Joined: 14 Jul 2007
Posts: 17

PostPosted: Mon Mar 31, 2008 4:17 am    Post subject: Reply with quote

Hi Guys,

Successfully installed using vserver sources kernel. I haven't tried the ext 2 fs.

Looks like the new kernel are for advance linux users.
Back to top
View user's profile Send private message
nocph
n00b
n00b


Joined: 14 Jul 2007
Posts: 17

PostPosted: Mon Mar 31, 2008 4:28 am    Post subject: Reply with quote

d2_racing wrote:
Can you post this command plz :

Code:

# fdisk -l



livecd ~ # fdisk -l

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 13 104391 83 Linux
/dev/sda2 14 4014 32138032+ 82 Linux swap / Solaris
/dev/sda3 4015 30401 211953577+ 83 Linux
livecd ~ #
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