Sarge: dist-upgrade und kernel panic nach reboot (softraid)

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
Benutzeravatar
knauthe
Beiträge: 198
Registriert: 03.03.2004 16:00:17
Wohnort: Berlin
Kontaktdaten:

Sarge: dist-upgrade und kernel panic nach reboot (softraid)

Beitrag von knauthe » 20.12.2005 12:17:29

Hallo zusammen,

ich muß gleich außer Haus eine knoppix besorgen -- solang schon mal ein erstes posting (VIELLEICHT KENNT JEMAND DEN FEHLER).

Meine Sarge Kiste lief stabil mit einem software raid. Heute habe ich ein dist-upgrade durchgeführt und das hat ein neues kernel image () abgelegt und wohl auch den Grub verändert.

Code: Alles auswählen

Richte kernel-image-2.6.8-2-386 ein (2.6.8-16sarge1) ...

 You are attempting to install a kernel version that is the same as
 the version you are currently running (version 2.6.8-2-386). The modules
 list is quite likely to have been changed, and the modules dependency
 file /lib/modules/2.6.8-2-386/modules.dep needs to be re-built. It can
 not be built correctly right now, since the module list for the
 running kernel are likely to be different from the kernel installed.
 I am creating a new modules.dep file, but that may not be
 correct. It shall be regenerated correctly at next reboot.

 I repeat: you have to reboot in order for the modules file to be
 created correctly. Until you reboot, it may be impossible to load
 some modules. Reboot as soon as this install is finished (Do not
 reboot right now, since you may not be able to boot back up until
 installation is over, but boot immediately after). I can not stress
 that too much. You need to reboot soon.

Please Hit return to continue.
Not touching initrd symlinks since we are being reinstalled (2.6.8-16)
Not updating image symbolic links since we are being updated (2.6.8-16)
Searching for GRUB installation directory ... found: /boot/grub .
Testing for an existing GRUB menu.list file... found: /boot/grub/menu.lst .
Searching for splash image... none found, skipping...
Found kernel: /vmlinuz-2.6.8-2-386
Found kernel: /memtest86+.bin
Updating /boot/grub/menu.lst ... done
Nach dem reboot: in etwa

Code: Alles auswählen

pivot-root: No such file or directory
/sbin/init: 432: cannot open dev/console : no such file 
kernel panic: Attempted to kill init
Sieht jemand schon fix, was hier los ist? Vielen Dank im Voraus für jeden Tip. *ggk :oops:

Benutzeravatar
knauthe
Beiträge: 198
Registriert: 03.03.2004 16:00:17
Wohnort: Berlin
Kontaktdaten:

Beitrag von knauthe » 20.12.2005 17:12:08

So, hab's gelöst. Und zwar hat dist-upgrade einen falschen Grub menu.lst geschrieben:

falsch

Code: Alles auswählen

title		Debian GNU/Linux, kernel 2.6.8-2-386 
root		(hd0,0)
kernel		/vmlinuz-2.6.8-2-386 root=/dev/hda2 ro 
initrd		/initrd.img-2.6.8-2-386
savedefault
boot

title		Debian GNU/Linux, kernel 2.6.8-2-386 (recovery mode)
root		(hd0,0)
kernel		/vmlinuz-2.6.8-2-386 root=/dev/hda2 ro single
initrd		/initrd.img-2.6.8-2-386
savedefault
boot
richtig:

Code: Alles auswählen

title		Debian GNU/Linux, kernel 2.6.8-2-386 
root		(hd0,0)
kernel		/vmlinuz-2.6.8-2-386 root=/dev/md1 ro 
initrd		/initrd.img-2.6.8-2-386
savedefault
boot

title		Debian GNU/Linux, kernel 2.6.8-2-386 (recovery mode)
root		(hd0,0)
kernel		/vmlinuz-2.6.8-2-386 root=/dev/md1 ro single
initrd		/initrd.img-2.6.8-2-386
savedefault
boot
Hab's händisch geändert und jetzt läuft's wieder. *ggk :D

Antworten