View previous topic :: View next topic |
Author |
Message |
Neotux Apprentice
Joined: 14 Feb 2003 Posts: 162
|
Posted: Mon Feb 17, 2003 1:35 pm Post subject: Kernel Panic: no init found. |
|
|
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 |
|
|
dalu Guru
Joined: 20 Jan 2003 Posts: 530
|
Posted: Mon Feb 17, 2003 2:19 pm Post subject: |
|
|
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 |
|
|
Neotux Apprentice
Joined: 14 Feb 2003 Posts: 162
|
Posted: Mon Feb 17, 2003 2:31 pm Post subject: |
|
|
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 |
|
|
dalu Guru
Joined: 20 Jan 2003 Posts: 530
|
Posted: Mon Feb 17, 2003 2:52 pm Post subject: |
|
|
.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 |
|
|
Neotux Apprentice
Joined: 14 Feb 2003 Posts: 162
|
Posted: Tue Feb 18, 2003 8:34 am Post subject: |
|
|
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 |
|
|
photocolor n00b
Joined: 17 Feb 2003 Posts: 28
|
Posted: Tue Feb 18, 2003 4:05 pm Post subject: |
|
|
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 _________________ G'day |
|
Back to top |
|
|
JensZ Guru
Joined: 15 Feb 2003 Posts: 339 Location: Freiburg
|
Posted: Tue Feb 18, 2003 5:56 pm Post subject: |
|
|
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 |
|
|
Neotux Apprentice
Joined: 14 Feb 2003 Posts: 162
|
Posted: Tue Feb 18, 2003 9:14 pm Post subject: |
|
|
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 |
|
|
slyzer Tux's lil' helper
Joined: 12 Oct 2002 Posts: 96
|
Posted: Wed Feb 19, 2003 8:08 am Post subject: |
|
|
Hi Neotux,
klappt es nun mit dem grafischen Boot bei Grub, oder kommt immer noch die Grub-Shell?
cu
slyzer |
|
Back to top |
|
|
Beforegod Bodhisattva
Joined: 10 Apr 2002 Posts: 1494 Location: Frankfurt/Main
|
Posted: Wed Feb 19, 2003 8:17 am Post subject: |
|
|
Hast Du evt. wichtige Systemkomponennten als Module gemacht..
wenn ja versuch mal ein mkinitrd und folgende Zeile in Deiner Kofiguration
aber schau mal nach nicht das wichtige Komponennten fehlen.. |
|
Back to top |
|
|
Neotux Apprentice
Joined: 14 Feb 2003 Posts: 162
|
Posted: Wed Feb 19, 2003 3:11 pm Post subject: |
|
|
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 |
|
|
|