Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nach kernelkompilierung kommt die kernel panic
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
g.e.n.t.u.x.
Guru
Guru


Joined: 21 Aug 2006
Posts: 410
Location: Berlin

PostPosted: Tue Sep 12, 2006 10:49 am    Post subject: nach kernelkompilierung kommt die kernel panic Reply with quote

Hallo gentoo´ser.

ein kleines Prob. Hab mir leider die e2fsprogs ausm System gehauen und musste von vorm anfangen.
Dies tat ich. Doch nach rekompilierung des Kernels mit genkernel moechte er mir /dev/hda3 auf newroot mounten.
Ich suchte diesen string mit
Code:
find / -type f -exec grep newroot {} \; -print
hier wurde mir nun /usr/share/genkernel/generic/linuxrc ausgegeben. Mit nano geoeffnet fand ich dies einmalig und danach nie wieder. Hab die Datei jedoch nicht ueberschrieben oder fataler weise etwas geloescht und gespeichert.

Dann rekompilierte ich den Kernel mit dem ueblichen verdaechtigen make und beim rebooten kommt die Kernelpanic das man auf boot(3,3) nichts findet.

Wie kann ich dies aendern. moechte mich ja von der livecd verabschieden

gruesse euch allen interessierten und vielen Dank fuer eure Hilfe und Zeit.
Back to top
View user's profile Send private message
g.e.n.t.u.x.
Guru
Guru


Joined: 21 Aug 2006
Posts: 410
Location: Berlin

PostPosted: Tue Sep 12, 2006 12:54 pm    Post subject: Reply with quote

es muss natuerlich heissen block(3,3) bei der kernelpanic nach der kernelkompilierung mit make.
Back to top
View user's profile Send private message
Erich
n00b
n00b


Joined: 08 Sep 2006
Posts: 50

PostPosted: Tue Sep 12, 2006 6:13 pm    Post subject: Reply with quote

Gentux.
Deine root Partition ist unter hda3 zu finden.So,dann musst du in deiner Grub/Lilo Konfiguration auch den richtigen Pfad eintragen.
hda3 ist deine dritte primäre Partition auf deiner ersten (Master) Platte.Dein Boot-Recorder beginnt mit den Partitionen bei Null(hd0,0)ist deine erste Platte und die erste Partition.
Dein Eintrag in Grub müsste dann so lauten root (hd0,2).
Back to top
View user's profile Send private message
g.e.n.t.u.x.
Guru
Guru


Joined: 21 Aug 2006
Posts: 410
Location: Berlin

PostPosted: Wed Sep 13, 2006 6:11 am    Post subject: Reply with quote

Guten Morgen Erich.

Das hab ich mirt auch zuerst so gedacht, doch dann beendet grub das booten mit error 15 file not found. Dies muss schon auf hd(o,o) bleiben
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5329

PostPosted: Wed Sep 13, 2006 9:33 am    Post subject: Reply with quote

wie sieht deine kernel zeile in der grub.conf aus?
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
g.e.n.t.u.x.
Guru
Guru


Joined: 21 Aug 2006
Posts: 410
Location: Berlin

PostPosted: Wed Sep 13, 2006 10:09 am    Post subject: Reply with quote

hey firefly

kernel /boot/kernelname root=/dev/hda3

hab das ganze eband nochmals mit genkernel all kompiliert doch hier moechte er immer auf /newroot mounten.

hmmm es hat doch schon mal geklappt.
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5329

PostPosted: Wed Sep 13, 2006 10:56 am    Post subject: Reply with quote

für genkernel reicht die kernel zeile nicht schau dir nochmals genauer im handbuch nach da steht es genau, wie die grub kernel zeile auszusehen hat, wenn man genkernel verwendet.
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
g.e.n.t.u.x.
Guru
Guru


Joined: 21 Aug 2006
Posts: 410
Location: Berlin

PostPosted: Wed Sep 13, 2006 11:26 am    Post subject: Reply with quote

ja das ist klar hab sie auch angepasst. Doch ich hab nun mit find und grep nach newroot gesucht und er findet sie mir in /etc/init.d/halt.sh und mit nem /tmp davor in initrd.defaults in /usr/share/genkernel/generic/
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