Trouvez ici les démarches courantes à faire en cas d'écran noir.
Répondre

PC ne redémarre pas après plantage penfant MAJ

#1Messageil y a 1 an

Bonjour,

mon PC s'est figé pendant une mise à jour et au bout d'une heure j'ai du l'éteindre manuellement et le rallumer mais là impossible de redémarrer, le noyau ne se charge pas.

en fait il s'agit exactement du même problème que celui rencontré par un autre utilisateur il y a quelques mois et qui a été resolu :

http://manjaro.fr/forum/viewtopic.php?t ... 39baaaedf4

mais j'ai beau suivre le sujet jusqu'au bout et faire les mêmes manips ça ne marche pas chez moi

quelqu'un peut-il m'aider ?

PC ne redémarre pas après plantage penfant MAJ

#2Messageil y a 1 an

Bonjour.
Il faudrait nous en dire plus sur les erreurs. Depuis la live-session, tu peux poster ici les retours. Les plantages peuvent avoir des origines différentes et ton cas est peut-être lié à autre chose.

PC ne redémarre pas après plantage penfant MAJ

#3Messageil y a 1 an

voici les différentes commandes que j'ai lancé en chroot comme indiqué dans l'autre sujet

[manjaro@manjaro-cinnamon ~]$ manjaro-chroot -a
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
==> Mounting (ManjaroLinux) [/dev/sda1]
 --> mount: [/mnt]
[manjaro-cinnamon /]# pacman -Syu
:: Synchronizing package databases...
error: failed to synchronize all databases (unable to lock database)
[manjaro-cinnamon /]# sudo mkinitcpio -P
==> Building image from preset: /etc/mkinitcpio.d/linux60.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.0-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.0-x86_64.img
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-6.0-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux60.preset: 'fallback'
==> Using configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.0-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.0-x86_64-fallback.img -S autodetect
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-6.0-x86_64'
[manjaro-cinnamon /]# sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found background: /usr/share/grub/background.png
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
ERROR: mkdir /var/lock/dmraid
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
[manjaro-cinnamon /]# pacman-mirrors -c all
::INFO Downloading mirrors from Manjaro
::INFO => Mirror pool: https://repo.manjaro.org/mirrors.json
::INFO => Mirror status: https://repo.manjaro.org/status.json
::INFO Using default mirror file
::INFO Querying mirrors - This may take some time
  2.499 Australia      : https://gsl-syd.mm.fcix.net/manjaro/
  0.449 Austria        : https://mirror.easyname.at/manjaro/
  1.267 Colombia       : https://edgeuno-bog2.mm.fcix.net/manjaro/
  0.486 Finland        : https://manjaro.kyberorg.fi/
  0.309 Global         : https://mirrors.manjaro.org/repo/
  0.341 Global         : https://mirrors2.manjaro.org/
  1.570 New_Zealand    : http://manjaro.mirrors.theom.nz/manjaro/
  1.928 New_Zealand    : https://mirror.2degrees.nz/manjaro/
  0.972 United_States  : http://mirror.fcix.net/manjaro/
  0.800 United_States  : https://nnenix.mm.fcix.net/manjaro/
  1.177 United_States  : https://irltoolkit.mm.fcix.net/manjaro/
  0.759 United_States  : https://uvermont.mm.fcix.net/manjaro/
  1.185 United_States  : https://ziply.mm.fcix.net/manjaro/
  0.915 United_States  : https://mnvoip.mm.fcix.net/manjaro/
  1.161 United_States  : https://codingflyboy.mm.fcix.net/manjaro/
  0.812 United_States  : https://coresite.mm.fcix.net/manjaro/
  1.352 United_States  : https://ridgewireless.mm.fcix.net/manjaro/
  1.134 United_States  : https://opencolo.mm.fcix.net/manjaro/
  1.069 United_States  : https://southfront.mm.fcix.net/manjaro/
  0.955 United_States  : https://volico.mm.fcix.net/manjaro/
  1.044 United_States  : https://ohioix.mm.fcix.net/manjaro/
  0.916 United_States  : https://nocix.mm.fcix.net/manjaro/
  0.348 United_States  : https://ask4.mm.fcix.net/manjaro/
::INFO Writing mirror list
::Global          : https://mirrors.manjaro.org/repo/stable
::Global          : https://mirrors2.manjaro.org/stable
::United_States   : https://ask4.mm.fcix.net/manjaro/stable
::Austria         : https://mirror.easyname.at/manjaro/stable
::Finland         : https://manjaro.kyberorg.fi/stable
::United_States   : https://uvermont.mm.fcix.net/manjaro/stable
::United_States   : https://nnenix.mm.fcix.net/manjaro/stable
::United_States   : https://coresite.mm.fcix.net/manjaro/stable
::United_States   : https://mnvoip.mm.fcix.net/manjaro/stable
::United_States   : https://nocix.mm.fcix.net/manjaro/stable
::United_States   : https://volico.mm.fcix.net/manjaro/stable
::United_States   : http://mirror.fcix.net/manjaro/stable
::United_States   : https://ohioix.mm.fcix.net/manjaro/stable
::United_States   : https://southfront.mm.fcix.net/manjaro/stable
::United_States   : https://opencolo.mm.fcix.net/manjaro/stable
::United_States   : https://codingflyboy.mm.fcix.net/manjaro/stable
::United_States   : https://irltoolkit.mm.fcix.net/manjaro/stable
::United_States   : https://ziply.mm.fcix.net/manjaro/stable
::Colombia        : https://edgeuno-bog2.mm.fcix.net/manjaro/stable
::United_States   : https://ridgewireless.mm.fcix.net/manjaro/stable
::New_Zealand     : http://manjaro.mirrors.theom.nz/manjaro/stable
::New_Zealand     : https://mirror.2degrees.nz/manjaro/stable
::Australia       : https://gsl-syd.mm.fcix.net/manjaro/stable
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
[manjaro-cinnamon /]# pacman -Syyu
:: Synchronizing package databases...
error: failed to synchronize all databases (unable to lock database)
[manjaro-cinnamon /]# mhwd-kernel -li
Currently running: 6.5.3-1-MANJARO (linux65)
The following kernels are installed in your system:
   * linux66
[manjaro-cinnamon /]# ls /etc/mkinitcpio.d/*.preset
/etc/mkinitcpio.d/linux60.preset
[manjaro-cinnamon /]# ls /boot/
grub  intel-ucode.img  linux66-x86_64.kver  memtest86+
[manjaro-cinnamon /]# ls /lib/modules/
6.6.3-1-MANJARO  extramodules-6.6-MANJARO
[manjaro-cinnamon /]#
administration/modération

PC ne redémarre pas après plantage penfant MAJ

#4Messageil y a 1 an

bonsoir ,

pour résumer , tu un verrou sur le database t'empêchant de finir la mise a jour ,
et comme le "nouveau" noyau n'a pas été installé ( 6.6 ) , il n'a pas généré une image de vmlinux pour démarrer

donc , sous chroot , avec le navigateur lancé sur ce topic ,
et ouvre un terminal
1 - infos complémentaires
2 - on retire le verrou
3 - on vérifie que le réseau est ok
4 - on finit d'abord la maj
5- tu nous indique si c'est ok pour les noyaux ( ne pas redémarrer ,sinon et reporter les noyaux en erreur )

sudo manjaro-chroot -a 

mhwd-kernel -li
ls /etc/mkinitcpio.d/*.preset
ls /boot/
ls /lib/modules/

rm /var/lib/pacman/db.lck

pacman -Syyu

pacman -S linux61 linux61-headers
mkinitcpio -P 

mhwd-kernel -li
ls /etc/mkinitcpio.d/*.preset
ls /boot/
ls /lib/modules/
si tu as un noyau 6.5 installé , il faudra le retirer par la suite ( à la fin , ou si tout est ok au redémarrage suivant )

==> le conseil pour eviter ce genre de chose est de faire sous terminal , ou sous TTY quand cela peut impliquer la maj de drivers vidéos car si cela se passe mal , la maj s'arrête net

PC ne redémarre pas après plantage penfant MAJ

#5Messageil y a 1 an

bonsoir stephane,

le retrait du verrou a fonctionné et la mise à jour a pu se faire avec pacman
commandes suivantes : pas de message d'erreur concernant les noyaux
voici le résultat des dernières commandes

 [manjaro-cinnamon /]# mhwd-kernel -li
Currently running: 6.5.3-1-MANJARO (linux65)
The following kernels are installed in your system:
   * linux61
   * linux66
[manjaro-cinnamon /]# ls /etc/mkinitcpio.d/*.preset
/etc/mkinitcpio.d/linux60.preset  /etc/mkinitcpio.d/linux66.preset
/etc/mkinitcpio.d/linux61.preset
[manjaro-cinnamon /]# ls /boot/
grub                               initramfs-6.6-x86_64.img  memtest86+
initramfs-6.1-x86_64-fallback.img  intel-ucode.img           vmlinuz-6.1-x86_64
initramfs-6.1-x86_64.img           linux61-x86_64.kver       vmlinuz-6.6-x86_64
initramfs-6.6-x86_64-fallback.img  linux66-x86_64.kver
[manjaro-cinnamon /]# ls /lib/modules/
6.1.68-1-MANJARO  extramodules-6.1-MANJARO
6.6.7-1-MANJARO   extramodules-6.6-MANJARO
que dois-je faire ensuite ?
fait dans ton premier message
administration/modération
Dernière modification par Fatalisil y a 1 an, modifié au total 1 fois.

PC ne redémarre pas après plantage penfant MAJ

#6Messageil y a 1 an

tu quitte chroot ( exit )
et tu redémarre sur ton disque

tu devra supprimer ce fichier

sudo rm /etc/mkinitcpio.d/linux60.preset 

PC ne redémarre pas après plantage penfant MAJ

#7Messageil y a 1 an

ça a marché, le PC a pu redémarrer

merci beaucoup pour ton aide stephane

bonne soirée et bon week-end
Répondre