Kernel Panic- not syncing : Attempted to kill init!

Bonjour !

J’ai un grave problème. J’ai lancé la mise à jour et en rebootant, il m’affiche :

/init : .: line 53 : can’t open /scripts/functions
Kernel panic - not syncing : Attempted to kill init!

Connaissez vous le problème?

Merci et bonne fin de journée !

tjrs personne ? :frowning:

La maj m’a tout fais planté et je sais pas du tout comment m en sortir!
J’ai regardé dans menu.lst et grub.conf pour voir si ca venait du grub sauf que je pense que ca vient d initrd ou du kernel…

Une idée ?

Bonne journée .

Salut à toi et bienvenue

C’est arrivé comment ? je veux dire par là, une mise à jour de quoi ?

de stable vers stable ? (lenny)
de testing vers testing ? (squeeze)
de unstable vers unstable ? (sid)
de stable vers unstable ? (lenny sid)
etc…

Salut et merci de ta réponse !

C’est arrivé sur une maj de stable a stable.
Je comprend pas du tout pourquoi ca m’a fait un problème comme ca…

Ca a fait sauté grub mais je me demande si ca n’a pas fais sauté d’autres choses.
Je suis novice en linux et je t’avouerai que c’est bien compliqué pour moi de comprendre d’ou cela vient !

Bonsoir,

ça ressemble à un problème d’initialisation de l’image initrd.
Lors de la mise à jour une image initrd a été recréé ? Grub pointe sur la bonne image ?

accès en console?
fdisk -l

ls -l /etc/init.d/
ls -l /etc/rcS.d/

ubuntu@ubuntu:~$ fdisk

Utilisation : fdisk [-l] [-b TAILLE] [-u] périphérique
i.e.: fdisk /dev/hda (pour le premier disque IDE)
ou: fdisk /dev/sdc (pour le 3e disque SCSI)
ou: fdisk /dev/eda (pour le 1er disque PS/2 ESDI)
ou: fdisk /dev/rd/c0d0 ou: fdisk /dev/ida/c0d0 (pour des périphériques RAID)

ubuntu@ubuntu:~$ ls -l /etc/init.d/
total 104
lrwxrwxrwx 1 root root 21 2009-10-28 20:58 acpid -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 763 2009-10-13 08:45 acpi-support
-rwxr-xr-x 1 root root 10342 2009-10-20 09:26 alsa-utils
lrwxrwxrwx 1 root root 21 2009-10-28 20:58 anacron -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 3314 2009-10-17 04:39 apparmor
lrwxrwxrwx 1 root root 21 2009-10-28 20:58 apport -> /lib/init/upstart-job
lrwxrwxrwx 1 root root 21 2009-10-28 20:58 atd -> /lib/init/upstart-job
lrwxrwxrwx 1 root root 21 2009-10-28 20:58 avahi-daemon -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 1682 2009-09-15 11:45 binfmt-support
-rwxr-xr-x 1 root root 1091 2009-09-24 23:40 bluetooth
-rwxr-xr-x 1 root root 2341 2009-09-07 18:58 bootlogd
-rwxr-xr-x 1 root root 2041 2009-10-13 23:54 brltty
-rwxr-xr-x 1 root root 3795 2009-10-21 10:25 casper
-rwxr-xr-x 1 root root 1670 2009-07-06 11:10 console-setup
lrwxrwxrwx 1 root root 21 2009-10-28 20:58 cron -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 900 2009-10-14 16:11 cryptdisks
-rwxr-xr-x 1 root root 830 2009-10-14 16:11 cryptdisks-early
lrwxrwxrwx 1 root root 21 2009-10-28 21:06 cryptdisks-enable -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 3072 2009-10-15 19:15 cups
lrwxrwxrwx 1 root root 21 2009-10-28 20:56 dbus -> /lib/init/upstart-job
lrwxrwxrwx 1 root root 21 2009-10-28 20:55 dmesg -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 1235 2009-02-20 17:56 dns-clean
lrwxrwxrwx 1 root root 21 2009-10-28 20:59 gdm -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 1105 2009-10-24 00:31 grub-common
lrwxrwxrwx 1 root root 21 2009-10-28 20:59 hal -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 1329 2009-09-07 18:58 halt
lrwxrwxrwx 1 root root 21 2009-10-28 20:55 hwclock -> /lib/init/upstart-job
lrwxrwxrwx 1 root root 21 2009-10-28 20:55 hwclock-save -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 1851 2009-09-24 11:28 kerneloops
-rwxr-xr-x 1 root root 1404 2009-07-06 11:10 keyboard-setup
-rwxr-xr-x 1 root root 1293 2009-09-07 18:58 killprocs
-rwxr-xr-x 1 root root 2290 2009-10-06 23:02 laptop-mode
lrwxrwxrwx 1 root root 21 2009-10-28 20:55 module-init-tools -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 2070 2009-09-14 21:11 networking
lrwxrwxrwx 1 root root 21 2009-10-28 21:00 network-manager -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 882 2009-09-07 18:58 ondemand
-rwxr-xr-x 1 root root 2398 2009-03-09 16:41 pcmciautils
-rwxr-xr-x 1 root root 420 2009-02-20 17:24 pppd-dns
lrwxrwxrwx 1 root root 21 2009-10-28 20:55 procps -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 2238 2009-10-26 09:33 pulseaudio
-rwxr-xr-x 1 root root 8863 2009-09-07 18:58 rc
-rwxr-xr-x 1 root root 801 2009-09-07 18:58 rc.local
-rwxr-xr-x 1 root root 117 2009-09-07 18:58 rcS
-rw-r–r-- 1 root root 1510 2009-09-07 18:58 README
-rwxr-xr-x 1 root root 639 2009-09-07 18:58 reboot
-rwxr-xr-x 1 root root 4310 2009-06-25 13:12 rsync
lrwxrwxrwx 1 root root 21 2009-10-28 20:55 rsyslog -> /lib/init/upstart-job
lrwxrwxrwx 1 root root 21 2009-10-28 20:55 rsyslog-kmsg -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 2262 2009-10-14 16:42 saned
-rwxr-xr-x 1 root root 1055 2009-07-06 05:35 screen-cleanup
-rwxr-xr-x 1 root root 2283 2009-09-07 18:58 sendsigs
-rwxr-xr-x 1 root root 590 2009-09-07 18:58 single
-rw-r–r-- 1 root root 4271 2009-09-07 18:58 skeleton
-rwxr-xr-x 1 root root 2014 2009-10-13 05:26 speech-dispatcher
lrwxrwxrwx 1 root root 21 2009-10-28 21:00 sreadahead -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 519 2009-09-07 18:58 stop-bootlogd
-rwxr-xr-x 1 root root 1095 2009-09-07 18:58 stop-bootlogd-single
lrwxrwxrwx 1 root root 21 2009-10-28 21:07 ubiquity -> /lib/init/upstart-job
lrwxrwxrwx 1 root root 21 2009-10-28 20:55 udev -> /lib/init/upstart-job
lrwxrwxrwx 1 root root 21 2009-10-28 20:55 udev-finish -> /lib/init/upstart-job
lrwxrwxrwx 1 root root 21 2009-10-28 20:55 udevmonitor -> /lib/init/upstart-job
lrwxrwxrwx 1 root root 21 2009-10-28 20:55 udevtrigger -> /lib/init/upstart-job
lrwxrwxrwx 1 root root 21 2009-10-28 20:58 ufw -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 2746 2009-10-14 04:15 umountfs
-rwxr-xr-x 1 root root 2075 2009-10-14 04:16 umountnfs.sh
-rwxr-xr-x 1 root root 1683 2009-10-14 04:20 umountroot
-rwxr-xr-x 1 root root 841 2009-07-20 11:47 unattended-upgrades
-rwxr-xr-x 1 root root 1997 2009-09-07 18:58 urandom
lrwxrwxrwx 1 root root 21 2009-10-28 21:00 usplash -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 2327 2009-09-19 21:03 wpa-ifupdown
-rwxr-xr-x 1 root root 1777 2008-12-05 00:44 x11-common
ubuntu@ubuntu:~$ ls -l /etc/rcS.d/
total 1
-rw-r–r-- 1 root root 447 2009-09-07 18:58 README
lrwxrwxrwx 1 root root 24 2009-10-28 20:56 S06keyboard-setup -> …/init.d/keyboard-setup
lrwxrwxrwx 1 root root 21 2009-10-28 21:03 S13pcmciautils -> …/init.d/pcmciautils
lrwxrwxrwx 1 root root 16 2009-10-28 21:04 S25brltty -> …/init.d/brltty
lrwxrwxrwx 1 root root 26 2009-10-28 21:07 S26cryptdisks-early -> …/init.d/cryptdisks-early
lrwxrwxrwx 1 root root 20 2009-10-28 21:07 S28cryptdisks -> …/init.d/cryptdisks
lrwxrwxrwx 1 root root 23 2009-10-28 20:56 S49console-setup -> …/init.d/console-setup
lrwxrwxrwx 1 root root 17 2009-10-28 20:55 S55urandom -> …/init.d/urandom
lrwxrwxrwx 1 root root 24 2009-10-28 21:02 S70screen-cleanup -> …/init.d/screen-cleanup
lrwxrwxrwx 1 root root 20 2009-10-28 20:56 S70x11-common -> …/init.d/x11-common
ubuntu@ubuntu:~$

Oui grub pointe sur la bonne.

Des fois que ?

update-initramfs -u

Aussi, si tu as un kernel panic après une mise à jour alors le kernel a probablement été mis à jour.
De ce fait, tu dois avoir plusieurs kernel présent à l’invite de ton grub. Choisis donc de booter sur l’ancien kernel (en général c’est la troisième ligne puisque la deuxième concerne le mode single du noyau le plus récent)

Essaye de démarrer comme ceci, après quelques personnes ici pourront peut être analyser ton problème :stuck_out_tongue:
Mais surtout par pitié, ne réinstalle pas :exclamation: :026

edit : tu as oublié le -l dans ta commande fdisk

Encore merci de vos réponses.

fdisk -l ne marchait pas :frowning:
Je dois lancer un live CD pour avoir la console et jsais pas pourquoi ca ne marchait pas.
Le truc etrange c’est que j’ai un live CD Debian et un Ubuntu et que mes disques en RAID se détectent sur les 2 mais ne sont accessibles que sur l’un : UBUNTU.
Donc toutes modifs je dois les faire depuis ubuntu :frowning: a moins que vous connaissiez un autre moyen ?

Pour ce qui s agit du GRUB, il y a que 2 OS, le normal et le single user.

ou dois je lancer ta commande ricardo ? MERCI encore

en ligne de commande bien sûr et sous root '#'
Il n’y a pas de rsique, seulement que ça ne donne aucun résultat mais ça vaut le coup d’essayer.

Comment j accede a la ligne de commande alors que l’OS n’est pas lancé?

ls -l /boot/
voir si tu as l’ancien initrd

ensuite touche echap au démarage
root
kernel /boot/vmlinuz(touche tab pour compléter)
initrd /boot/initrd(puis touche tab pour compléter)
boot

echap au demarrage ne marche pas. J ai pas d’invite de commande :frowning:

Mauvaise nouvelle… J’ai installé un nouveau noyau + initrd. Ca ne change rien.

Une fois dans ton chroot, essais de voir si tu n’as pas de conflit sur initramfs-tools

Si oui supprimer le paquet qui entre en conflit et recréer ton image initrd.
Essais aussi de relancer un upgrade voir si un paquet n’est pas à moitié installé.

[quote=“dchost99”]ls -l /boot/
voir si tu as l’ancien initrd

ensuite touche echap au démarage
root
kernel /boot/vmlinuz(touche tab pour compléter)
initrd /boot/initrd(puis touche tab pour compléter)
boot[/quote]

echap pendent l’invité grub (5 secondes par défaut)

puis

[quote=“BuTcHeRsYl”]Une fois dans ton chroot, essais de voir si tu n’as pas de conflit sur initramfs-tools

Si oui supprimer le paquet qui entre en conflit et recréer ton image initrd.
Essais aussi de relancer un upgrade voir si un paquet n’est pas à moitié installé.[/quote]

cryptsetup
inittramfs-tools
live-initramfs

???

-rwxr-xr-x 1 root root 900 2009-10-14 16:11 cryptdisks -rwxr-xr-x 1 root root 830 2009-10-14 16:11 cryptdisks-early
tu as des disques cryptés?