Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel Panic: no init found.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Neotux
Apprentice
Apprentice


Joined: 14 Feb 2003
Posts: 162

PostPosted: Mon Feb 17, 2003 1:35 pm    Post subject: Kernel Panic: no init found. Reply with quote

Hi!
Beim Booten meines Frisch installieren Systems bekomm ich die errormsg:
Quote:
Warning: unable o open an initial console
Kernel Panic: No init found. Try passing init= option to Kernel


Ich hab schon soviel rausgefunden, das es warscheinlich daran liegt, das er die root Partition nicht findet(stimmt doch, oder?).

Aber eigentlich wird die korrekt gemountet:
Quote:

#nano fstab
/dev/hda1 /boot ext3 noauto,noatime
1 1
/dev/hda5 / ext2 noatime
0 0
/dev/hda2 none swap sw 0 0
# /dev/cdromdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
proc /proc proc defaults 0 0


und die Partitionstabelle(alles was hdb ist wird dann so gestöpselt, das es hda ist):
Quote:

#mount | column -t
...
/dev/hdb5 on /mnt/gentoo type ext2 (rw)
/dev/hda1 on /mnt/gentoo/boot type ext3 (rw)
...

lilo.conf
Quote:

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
#message=/boot/message
lba32
default=2.4.20
image=/boot/newkern
label=2.4.20
# initrd=boot/initrd-2.4.20.img
root=/dev/hda5
append="noinitrd"

Also von daher müsste doch alles klar sein, oder? und worann liegt es dann?[/quote]
Back to top
View user's profile Send private message
dalu
Guru
Guru


Joined: 20 Jan 2003
Posts: 530

PostPosted: Mon Feb 17, 2003 2:19 pm    Post subject: Reply with quote

vielleicht hilft dir ja meine lilo.conf, ist im prinzip die selbe lilo.conf , die man beim mergen von lilo mitsaugt.

Code:

menu-scheme=Wb
boot = /dev/hda
prompt
map = /boot/System.map
lba32
timeout=50
delay = 50
vga = normal    # Normal VGA console                               
# End LILO global section
# Linux bootable partition config begins
        image = /boot/bzImage
        root = /dev/hdb3
        label = Linux
        read-only # read-only for checking
# Linux bootable partition config ends
# DOS bootable partition config begins
        other = /dev/hda1
        label = WindowsXP
        table = /dev/hda
# DOS bootable partition config ends


hdb3 ist root bei mir, und init.d ist bei /mnt/.init.d zu finden
Back to top
View user's profile Send private message
Neotux
Apprentice
Apprentice


Joined: 14 Feb 2003
Posts: 162

PostPosted: Mon Feb 17, 2003 2:31 pm    Post subject: Reply with quote

hi ähm,
welches Programm legt die init.d an?
und könnte das vielleicht die ursache für die Fehlermeldung sein?
Ist die Datei überhaupt wichtig?
Back to top
View user's profile Send private message
dalu
Guru
Guru


Joined: 20 Jan 2003
Posts: 530

PostPosted: Mon Feb 17, 2003 2:52 pm    Post subject: Reply with quote

.init.d ist ein dir in dem drinsteht wie der bootvorgang abläuft, ich *schätze* mal es wird bei gentoo du rc-* verwaltet. das programm init selber ist der host aller prozesse.
Back to top
View user's profile Send private message
Neotux
Apprentice
Apprentice


Joined: 14 Feb 2003
Posts: 162

PostPosted: Tue Feb 18, 2003 8:34 am    Post subject: Reply with quote

ok, also init.d liegt bei mir in /etc.
nur das Problem ist, das das System leider trotsdem nicht bootet.
hat jemand noch eine Idee?
Back to top
View user's profile Send private message
photocolor
n00b
n00b


Joined: 17 Feb 2003
Posts: 28

PostPosted: Tue Feb 18, 2003 4:05 pm    Post subject: Reply with quote

hi,

das ganze hat nix mit /etc/init.d zu tun. bevor der /etc/init.d angesprochen werden kann muss erstmal der kernel geladen werden.

deine fehlermeldung besagt, dass das root-fs nicht geladen werden konnte. also passe deine bootloader-option's an, so dass das richtige root-dev angesprochen werden kann.
wenn du grub verwendest, kannst du im bootloader mit dem parameter e die einstellungen temporär verändern und so das richtige ergebniss finden.

cu

michi :idea:
_________________
G'day
Back to top
View user's profile Send private message
JensZ
Guru
Guru


Joined: 15 Feb 2003
Posts: 339
Location: Freiburg

PostPosted: Tue Feb 18, 2003 5:56 pm    Post subject: Reply with quote

Quote:
Warning: unable o open an initial console
Kernel Panic: No init found. Try passing init= option to Kernel


besagt, das dein Linuxsystem kein Konsole öffnen kann.
Soweit ich das sehe mußt du die Optionen:

Quote:

[*] Virtual terminal
[*] Support for console on virtual terminal


unter Character devices im Kernel aktivieren, sonst kann keine console geöffnet werden, die dann vom Initprozess genutzt werden kann.
Back to top
View user's profile Send private message
Neotux
Apprentice
Apprentice


Joined: 14 Feb 2003
Posts: 162

PostPosted: Tue Feb 18, 2003 9:14 pm    Post subject: Reply with quote

hi, hatte nix mit kernel oder so zutun...
ich hab grub benutzt und dann gings wie geschmiert...
komische sache...
naja, trotsdem danke
Back to top
View user's profile Send private message
slyzer
Tux's lil' helper
Tux's lil' helper


Joined: 12 Oct 2002
Posts: 96

PostPosted: Wed Feb 19, 2003 8:08 am    Post subject: Reply with quote

Hi Neotux,


klappt es nun mit dem grafischen Boot bei Grub, oder kommt immer noch die Grub-Shell?


cu
slyzer
Back to top
View user's profile Send private message
Beforegod
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 1494
Location: Frankfurt/Main

PostPosted: Wed Feb 19, 2003 8:17 am    Post subject: Reply with quote

Hast Du evt. wichtige Systemkomponennten als Module gemacht..
wenn ja versuch mal ein mkinitrd und folgende Zeile in Deiner Kofiguration

Code:

init=/boot/initrd


aber schau mal nach nicht das wichtige Komponennten fehlen..
Back to top
View user's profile Send private message
Neotux
Apprentice
Apprentice


Joined: 14 Feb 2003
Posts: 162

PostPosted: Wed Feb 19, 2003 3:11 pm    Post subject: Reply with quote

hi die "grafische" oberfläche ist jetzt da musste nur die menu.lst nach grub.conf umbenennen.
Also ich hab eigentlich alles wichtige gleich in den Kernel einkompiliert, und Starten tut er gentoo auch...
also soweit alles klar.
blos findet er modules.dep nicht (dazu mach ich aber n neues Thema auf)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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