View previous topic :: View next topic |
Author |
Message |
brkamikaze n00b
Joined: 04 May 2005 Posts: 9 Location: Brazil
|
Posted: Sun May 08, 2005 2:32 pm Post subject: (Solved) Kernel Panic - not syncing |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sun May 08, 2005 3:24 pm Post subject: |
|
|
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 |
|
|
brkamikaze n00b
Joined: 04 May 2005 Posts: 9 Location: Brazil
|
Posted: Mon May 09, 2005 4:45 pm Post subject: Filesystem |
|
|
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 |
|
|
brkamikaze n00b
Joined: 04 May 2005 Posts: 9 Location: Brazil
|
Posted: Mon May 09, 2005 5:30 pm Post subject: Now what??? |
|
|
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 |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Mon May 09, 2005 5:35 pm Post subject: |
|
|
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 |
|
|
brkamikaze n00b
Joined: 04 May 2005 Posts: 9 Location: Brazil
|
Posted: Mon May 09, 2005 5:45 pm Post subject: grub.conf |
|
|
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 |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Mon May 09, 2005 5:50 pm Post subject: Re: grub.conf |
|
|
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 |
|
|
brkamikaze n00b
Joined: 04 May 2005 Posts: 9 Location: Brazil
|
Posted: Mon May 09, 2005 6:47 pm Post subject: It worked! |
|
|
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 |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Mon May 09, 2005 6:51 pm Post subject: Re: It worked! |
|
|
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 |
|
|
brkamikaze n00b
Joined: 04 May 2005 Posts: 9 Location: Brazil
|
Posted: Mon May 09, 2005 7:01 pm Post subject: How do I put 'solved'? |
|
|
How do I change the topic's title??? |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Mon May 09, 2005 7:02 pm Post subject: Re: How do I put 'solved'? |
|
|
brkamikaze wrote: | How do I change the topic's title??? | Change the subject field of the first post _________________ 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 |
|
|
|