Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(Solved) Kernel Panic - not syncing
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
brkamikaze
n00b
n00b


Joined: 04 May 2005
Posts: 9
Location: Brazil

PostPosted: Sun May 08, 2005 2:32 pm    Post subject: (Solved) Kernel Panic - not syncing Reply with quote

I installed Gentoo Linux following the forum's instructions and the gentoo handbook on a computer with Windows on NTFS.

But after boot, i get this message from the kernel (It may not be the exact message):
Code:
Kernel Panic - Not syncing: Could not mount root fs on unknown-'something'(3,1)

This 'something' is the word I can't remember...

I tried genkernel, but I get an error during compilation on some sound driver. I am using the current gentoo-sources.


Last edited by brkamikaze on Mon May 09, 2005 9:24 pm; edited 2 times in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Sun May 08, 2005 3:24 pm    Post subject: Reply with quote

brkamikaze,

Your root filesystem is missing from your kernel.
Remake your kernel with whatever filesysten you chose for root built in.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
brkamikaze
n00b
n00b


Joined: 04 May 2005
Posts: 9
Location: Brazil

PostPosted: Mon May 09, 2005 4:45 pm    Post subject: Filesystem Reply with quote

I use ReiserFS on all filesystems except for /dev/hda3 (Swap), /dev/hda1 (Windows) and /dev/hda5 (VFAT). It is builtin on the Kernel.

I am now trying to build one with vanilla-sources, to see if it works...

My fstab file look like this:
Code:

/dev/hda7 / reiserfs noatime 0 1
/dev/hda2 /boot reiserfs defaults,noatime,notail 1 2
/dev/hda6 /home reiserfs noatime 0 1
/dev/hda3 none  swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,user 0 0

none /proc proc defaults 0 0

none /dev/shm tmpfs nodev,nosuid,noexec 0 0


The '/dev/cdrom' is a symlink to '/dev/hdb', my cdrom.
Back to top
View user's profile Send private message
brkamikaze
n00b
n00b


Joined: 04 May 2005
Posts: 9
Location: Brazil

PostPosted: Mon May 09, 2005 5:30 pm    Post subject: Now what??? Reply with quote

The problem with root fs is solved. Now the problem is:

Code:

Kernel panic - not syncing: Could not init! Try passing the init= flag to the kernel.


I believe it wants an initrd, wich I don't have, because I compiled it manually and installed using 'make install'

It also outputs the following before the error:

Code:

Could not open initial terminal
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Mon May 09, 2005 5:35 pm    Post subject: Reply with quote

What does your grub.conf look like?
_________________
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
View user's profile Send private message
brkamikaze
n00b
n00b


Joined: 04 May 2005
Posts: 9
Location: Brazil

PostPosted: Mon May 09, 2005 5:45 pm    Post subject: grub.conf Reply with quote

It looks like this (note: it is based on 'grub.conf.sample'):
Code:

timeout 2

default 1

fallback 1

title Gentoo Linux
root (hd0,1)
kernel /vmlinuz root=/dev/hda2

title Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1


I set XP to default because I am the only one that uses gentoo, everybody else here uses XP :(...

Is the 'root' parameter the boot partition or the real root ('/') partition?
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Mon May 09, 2005 5:50 pm    Post subject: Re: grub.conf Reply with quote

Code:

/dev/hda7 / reiserfs noatime 0 1
/dev/hda2 /boot reiserfs defaults,noatime,notail 1 2

Since your fstab says your root partition is hda7, your grub.conf is wrong. Change the kernel line to this:
Code:
kernel /vmlinuz root=/dev/hda7

_________________
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
View user's profile Send private message
brkamikaze
n00b
n00b


Joined: 04 May 2005
Posts: 9
Location: Brazil

PostPosted: Mon May 09, 2005 6:47 pm    Post subject: It worked! Reply with quote

Switching '/dev/hda2' to '/dev/hda7' worked!

But now I have 2 questions:

How do I enable a cool framebuffer screen like the livecd one?

And how do I enable DMA on my HDs?
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Mon May 09, 2005 6:51 pm    Post subject: Re: It worked! Reply with quote

brkamikaze wrote:
How do I enable a cool framebuffer screen like the livecd one?

Search the forums. Tip look for the bootsplash howto
Quote:
And how do I enable DMA on my HDs?
Search the forums. You have to enable dma in your kernel and use hdparm to change dma settings.
_________________
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
View user's profile Send private message
brkamikaze
n00b
n00b


Joined: 04 May 2005
Posts: 9
Location: Brazil

PostPosted: Mon May 09, 2005 7:01 pm    Post subject: How do I put 'solved'? Reply with quote

How do I change the topic's title???
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Mon May 09, 2005 7:02 pm    Post subject: Re: How do I put 'solved'? Reply with quote

brkamikaze wrote:
How do I change the topic's title???
Change the subject field of the first post :wink:
_________________
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
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