#1 Le 06/11/2009, à 21:39
- Tabou
[Irrésolu] KERNEL PANIC à bord !!
Bonjour Forumubuntucheràmoncoeur
Je ne peux plus booter sur mon disque Ubuntu (9.04), j'ai ce message :
init : Error parsing configuration: No such file or directory
[ 24.267372] Kernel panic - not syncing: Attempted to kill init!
Je ne peux même pas accéder à la console. J'ai testé avec un disque de prêt : ça boote normalement.
Je n'ai pas d'autre disque, ne souhaite "écraser" pour faire l'impasse sur 120 gb de programmes et des heures de config. Qui pourra m'aider ?
Ma config :
CM Asus A7N8X
Athlon 3000+
2Gb de ram
CG Nvidia 7800 GS
HDD WD 250 gb
Dernière modification par Tabou (Le 17/11/2009, à 13:13)
Hors ligne
#2 Le 06/11/2009, à 22:29
- throoper
Re : [Irrésolu] KERNEL PANIC à bord !!
Procures toi un LIVE CD et essayes de remettre le kernel d'avant pour voir.
http://www.youtube.com/watch?v=RgRViKihyYI&hl=fr
Hors ligne
#3 Le 06/11/2009, à 22:37
- Tabou
Re : [Irrésolu] KERNEL PANIC à bord !!
J'ai un live CD... mais comment mettre le Kernel d'avant ? Peux-tu me guider ?
Hors ligne
#4 Le 06/11/2009, à 22:56
- throoper
Re : [Irrésolu] KERNEL PANIC à bord !!
Tu cas sur la partition de boot.
sudo gedit /boot/grub/grub/menu.lst
Tu vas sur la ligne où il y a default=0 et tu remplaces le 0 par l'entrée de ton ancien kernel. En "regle" generale, tu le remplaces par 1.
http://www.youtube.com/watch?v=RgRViKihyYI&hl=fr
Hors ligne
#5 Le 06/11/2009, à 23:35
- Tabou
Re : [Irrésolu] KERNEL PANIC à bord !!
Bon, J'ai effectué la modif et j'obtiens :
[ 24.267372] Kernel panic - not syncing: Attempted to kill init!
[ 24.267454] Dumping ftrace buffer:
[ 24.267534] (ftrace buffer empty)
...
... et mon clavier clignote.
Hors ligne
#6 Le 06/11/2009, à 23:53
- Tabou
Re : [Irrésolu] KERNEL PANIC à bord !!
Quand je fais "fsck" en live session, j'obtiens : "système propre" ! Et pourtant je ne boot pas ! Qui peut m'expliquer pourquoi ?
Hors ligne
#7 Le 06/11/2009, à 23:58
- Tabou
Re : [Irrésolu] KERNEL PANIC à bord !!
J'vais me coucher... désappointé
Hors ligne
#8 Le 06/11/2009, à 23:59
- xabilon
Re : [Irrésolu] KERNEL PANIC à bord !!
Salut
C'est arrivé comment ? Tu as fait une mise à jour du noyau ?
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#9 Le 08/11/2009, à 23:52
- Tabou
Re : [Irrésolu] KERNEL PANIC à bord !!
Salut Xabillon,
Non, je n'ai rien fait de particulier. J'ai réparé des erreurs au boot, comme on me le proposait puis, plus rien ! Cela m'ennuie particulièrement parce que j'ai mis des mois à me faire un environnement qui tournait comme une Rolls avec toutes les applications dont j'avais besoin...
Je ne désespère pas de récupérer mon bureau.
En live, lorsque je contrôle mon disque, tout parait OK et sans erreur. J'ai bien vérifié ma carte-mère, tous les composants...
Je me suis dégoté un autre disque sur lequel j'ai installé Ubuntu 9.10... que j'ai écrasé avec la 9.04. J'ai récupéré mon home avec, tout de même, un problème : le menu application est vide.
Je me demande si je vais m'en sortir.
Avec de l'aide, surement.
Hors ligne
#10 Le 08/11/2009, à 23:56
- xabilon
Re : [Irrésolu] KERNEL PANIC à bord !!
Ton disque dur n'est pas en ext4 ? Si tu as grub-legacy non-patché pour le ext4, ça peut faire ça ...
Sinon, tu peux faire un chroot avec accès réseau depuis un LiveCD, et réinstaller le noyau
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#11 Le 09/11/2009, à 00:12
- Tabou
Re : [Irrésolu] KERNEL PANIC à bord !!
Une précision, Xabillon : lors du boot, j'ai tenté de démarrer avec les Kernel précédents de la liste, aucun n'a fonctionné ! penses-tu que je peux redémarrer ce disque ? Si oui, il faudrait me prendre par la main... si tu veux bien.
J'avais des connaissances plus qu'honorables sous Microdows, mais sous Ubuntu, il me manque quelques centaines d'heures de frappe.
Merci de ta réponse
...: j'ai accès à ce forum sur l'ordinateur de mon fils (sous Microdows. Faut l'excuser, il n'a que 5 ans)
Hors ligne
#12 Le 09/11/2009, à 00:32
- xabilon
Re : [Irrésolu] KERNEL PANIC à bord !!
Là c'est simple : grub ne peut pas booter sur le noyau.
Donc soit les noyaux sont endommagés (et il serait bizarre qu'ils le soient tous en même temps), soit le fichier de config de grub est incorrect.
Tout d'abord : quelle version de Grub as-tu ? celle de Ubuntu Jaunty ?
En quel système de fichiers est formatée ta partition Ubuntu ? Ext3, ext4, autre ?
Quelle est ta partition Ubuntu ? /dev/sda+chiffre ?
Ensuite, tu démarres un LiveCD, et tu montes ta partition Ubuntu. En supposant que ta partition Ubuntu est /dev/sda1 (si ce n'est pas sda1, adapte en conséquence) :
sudo mount /dev/sda1 /mnt
Donne la liste des fichiers présents dans /mnt/boot, ainsi que le contenu du fichier /mnt/boot/grub/menu.lst
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#13 Le 09/11/2009, à 00:42
- Tabou
Re : [Irrésolu] KERNEL PANIC à bord !!
Juste le temps de remonter "physiquement" mon disque, de me connecter sur le pc de mon fils et je serai prêt ; ça apparait comme une entreprise longue (et périlleuse), peut-on l'entreprendre maintenant ?
Hors ligne
#14 Le 09/11/2009, à 00:58
- Tabou
Re : [Irrésolu] KERNEL PANIC à bord !!
La liste de /mnt/boot :
ubuntu@ubuntu:/mnt/boot$ ls -l
total 64648
-rw-r--r-- 1 root root 529118 2009-04-17 03:41 abi-2.6.28-11-generic
-rw-r--r-- 1 root root 528128 2009-06-30 21:56 abi-2.6.28-13-generic
-rw-r--r-- 1 root root 528128 2009-07-25 02:12 abi-2.6.28-14-generic
-rw-r--r-- 1 root root 528310 2009-09-09 12:56 abi-2.6.28-15-generic
-rw-r--r-- 1 root root 528310 2009-10-20 21:56 abi-2.6.28-16-generic
-rw-r--r-- 1 root root 96795 2009-04-17 03:41 config-2.6.28-11-generic
-rw-r--r-- 1 root root 96768 2009-06-30 21:56 config-2.6.28-13-generic
-rw-r--r-- 1 root root 96768 2009-07-25 02:12 config-2.6.28-14-generic
-rw-r--r-- 1 root root 96804 2009-09-09 12:56 config-2.6.28-15-generic
-rw-r--r-- 1 root root 96866 2009-10-20 21:56 config-2.6.28-16-generic
drwxr-xr-x 2 root root 4096 2009-11-06 22:30 grub
-rw-r--r-- 1 root root 7545234 2009-07-12 08:09 initrd.img-2.6.28-11-generic
-rw-r--r-- 1 root root 7556017 2009-07-12 08:37 initrd.img-2.6.28-13-generic
-rw-r--r-- 1 root root 7788571 2009-07-29 18:28 initrd.img-2.6.28-14-generic
-rw-r--r-- 1 root root 7560045 2009-09-11 08:09 initrd.img-2.6.28-15-generic
-rw-r--r-- 1 root root 7559959 2009-10-22 11:58 initrd.img-2.6.28-16-generic
-rw-r--r-- 1 root root 128796 2009-03-27 17:15 memtest86+.bin
-rw-r--r-- 1 root root 1456232 2009-04-17 03:41 System.map-2.6.28-11-generic
-rw-r--r-- 1 root root 1449810 2009-06-30 21:56 System.map-2.6.28-13-generic
-rw-r--r-- 1 root root 1449836 2009-07-25 02:12 System.map-2.6.28-14-generic
-rw-r--r-- 1 root root 1450680 2009-09-09 12:56 System.map-2.6.28-15-generic
-rw-r--r-- 1 root root 1450875 2009-10-20 21:56 System.map-2.6.28-16-generic
-rw-r--r-- 1 root root 1074 2009-04-17 03:43 vmcoreinfo-2.6.28-11-generic
-rw-r--r-- 1 root root 1074 2009-06-30 21:58 vmcoreinfo-2.6.28-13-generic
-rw-r--r-- 1 root root 1074 2009-07-25 02:13 vmcoreinfo-2.6.28-14-generic
-rw-r--r-- 1 root root 1074 2009-09-09 12:58 vmcoreinfo-2.6.28-15-generic
-rw-r--r-- 1 root root 1074 2009-10-20 21:58 vmcoreinfo-2.6.28-16-generic
-rw-r--r-- 1 root root 3501776 2009-04-17 03:41 vmlinuz-2.6.28-11-generic
-rw-r--r-- 1 root root 3488208 2009-06-30 21:56 vmlinuz-2.6.28-13-generic
-rw-r--r-- 1 root root 3490224 2009-07-25 02:12 vmlinuz-2.6.28-14-generic
-rw-r--r-- 1 root root 3491312 2009-09-09 12:56 vmlinuz-2.6.28-15-generic
-rw-r--r-- 1 root root 3491696 2009-10-20 21:56 vmlinuz-2.6.28-16-generic
... et le contenu de "menu.lst" :
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 1
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 0
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=8ba4f3b4-2b9b-4b68-8fdd-80e39d65754e ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=8ba4f3b4-2b9b-4b68-8fdd-80e39d65754e
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Ubuntu 9.04, kernel 2.6.28-16-generic
uuid 8ba4f3b4-2b9b-4b68-8fdd-80e39d65754e
kernel /boot/vmlinuz-2.6.28-16-generic root=UUID=8ba4f3b4-2b9b-4b68-8fdd-80e39d65754e ro quiet splash
initrd /boot/initrd.img-2.6.28-16-generic
quiet
title Ubuntu 9.04, kernel 2.6.28-16-generic (recovery mode)
uuid 8ba4f3b4-2b9b-4b68-8fdd-80e39d65754e
kernel /boot/vmlinuz-2.6.28-16-generic root=UUID=8ba4f3b4-2b9b-4b68-8fdd-80e39d65754e ro single
initrd /boot/initrd.img-2.6.28-16-generic
title Ubuntu 9.04, kernel 2.6.28-15-generic
uuid 8ba4f3b4-2b9b-4b68-8fdd-80e39d65754e
kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=8ba4f3b4-2b9b-4b68-8fdd-80e39d65754e ro quiet splash
initrd /boot/initrd.img-2.6.28-15-generic
quiet
title Ubuntu 9.04, kernel 2.6.28-15-generic (recovery mode)
uuid 8ba4f3b4-2b9b-4b68-8fdd-80e39d65754e
kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=8ba4f3b4-2b9b-4b68-8fdd-80e39d65754e ro single
initrd /boot/initrd.img-2.6.28-15-generic
title Ubuntu 9.04, kernel 2.6.28-14-generic
uuid 8ba4f3b4-2b9b-4b68-8fdd-80e39d65754e
kernel /boot/vmlinuz-2.6.28-14-generic root=UUID=8ba4f3b4-2b9b-4b68-8fdd-80e39d65754e ro quiet splash
initrd /boot/initrd.img-2.6.28-14-generic
quiet
title Ubuntu 9.04, kernel 2.6.28-14-generic (recovery mode)
uuid 8ba4f3b4-2b9b-4b68-8fdd-80e39d65754e
kernel /boot/vmlinuz-2.6.28-14-generic root=UUID=8ba4f3b4-2b9b-4b68-8fdd-80e39d65754e ro single
initrd /boot/initrd.img-2.6.28-14-generic
title Ubuntu 9.04, kernel 2.6.28-13-generic
uuid 8ba4f3b4-2b9b-4b68-8fdd-80e39d65754e
kernel /boot/vmlinuz-2.6.28-13-generic root=UUID=8ba4f3b4-2b9b-4b68-8fdd-80e39d65754e ro quiet splash
initrd /boot/initrd.img-2.6.28-13-generic
quiet
title Ubuntu 9.04, kernel 2.6.28-13-generic (recovery mode)
uuid 8ba4f3b4-2b9b-4b68-8fdd-80e39d65754e
kernel /boot/vmlinuz-2.6.28-13-generic root=UUID=8ba4f3b4-2b9b-4b68-8fdd-80e39d65754e ro single
initrd /boot/initrd.img-2.6.28-13-generic
title Ubuntu 9.04, kernel 2.6.28-11-generic
uuid 8ba4f3b4-2b9b-4b68-8fdd-80e39d65754e
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=8ba4f3b4-2b9b-4b68-8fdd-80e39d65754e ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet
title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid 8ba4f3b4-2b9b-4b68-8fdd-80e39d65754e
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=8ba4f3b4-2b9b-4b68-8fdd-80e39d65754e ro single
initrd /boot/initrd.img-2.6.28-11-generic
title Ubuntu 9.04, memtest86+
uuid 8ba4f3b4-2b9b-4b68-8fdd-80e39d65754e
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
Hors ligne
#15 Le 09/11/2009, à 01:05
- xabilon
Re : [Irrésolu] KERNEL PANIC à bord !!
Ta partition Ubuntu c'est laquelle ? (/dev/sdaX).
Tu ne m'as pas répondu non plus sur le système de fichier de la partition Ubuntu (en quoi est-elle formatée).
As-tu essayé de booter sur le memtest ?
Dernière modification par xabilon (Le 09/11/2009, à 01:09)
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#16 Le 09/11/2009, à 01:09
- Tabou
Re : [Irrésolu] KERNEL PANIC à bord !!
Mes excuses,
Ma partition est sda1, mon swap en sda5 (je crois) et mon /home en sdb1.
J'ai fait le memtest plus un tas d'autres test pour vérifier mon matériel... c'est à n'y rien comprendre.
Hors ligne
#17 Le 09/11/2009, à 01:13
- Tabou
Re : [Irrésolu] KERNEL PANIC à bord !!
...en ext3
Hors ligne
#18 Le 09/11/2009, à 01:14
- xabilon
Re : [Irrésolu] KERNEL PANIC à bord !!
Donc le memtest s'est lancé ?
Si tu as réussi à le lancer, c'est que grub accède bien à ta partition sda1
Dernière modification par xabilon (Le 09/11/2009, à 01:15)
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#19 Le 09/11/2009, à 01:15
- Tabou
Re : [Irrésolu] KERNEL PANIC à bord !!
Exact.
Hors ligne
#20 Le 09/11/2009, à 01:18
- xabilon
Re : [Irrésolu] KERNEL PANIC à bord !!
On va tenter quand même ...
Ouvre ton menu.lst :
gksudo gedit /mnt/boot/grub/menu.lst
Et rajoute ceci juste après la ligne ## ## End Default Options ##
title Ubuntu 9.04 sans UUID
root (hd0,0)
kernel /boot/vmlinuz-2.6.28-16-generic root=/dev/sda1 ro quiet splash
initrd /boot/initrd.img-2.6.28-16-generic
quiet
Sauve, puis tente de redémarrer dessus (n'oublie pas de sortir le LiveCD)
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#21 Le 09/11/2009, à 01:19
- Tabou
Re : [Irrésolu] KERNEL PANIC à bord !!
J'ai fait une vérification de la partition sda1, en live, dans un terminal : "il" me dit que le système est propre !
Hors ligne
#22 Le 09/11/2009, à 01:27
- xabilon
Re : [Irrésolu] KERNEL PANIC à bord !!
Tu as vu mon message ci-dessus ?
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#23 Le 09/11/2009, à 01:33
- Tabou
Re : [Irrésolu] KERNEL PANIC à bord !!
Le résultat est identique...
Hors ligne
#24 Le 09/11/2009, à 01:37
- xabilon
Re : [Irrésolu] KERNEL PANIC à bord !!
Bon, on va réinstaller les noyaux (au moins le dernier).
J'espère que tu accèdes à internet depuis le LiveCD ?
Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.
Hors ligne
#25 Le 09/11/2009, à 01:39
- Tabou
Re : [Irrésolu] KERNEL PANIC à bord !!
Oui, sans problème.
Hors ligne