Bonjour,
Avant de chercher à revenir en arrière : quel est le message d'erreur exacte ? Qu'est ce que tu vois à l'écran ? Très souvent c'est juste un problème de configuration...
Sinon la disposition du clavier cela se change Voir Wiki
Et pour installer une autre version du kernel, il suffit de faire un chroot puis d'utiliser pacman
La cause de l'erreur est sans doute le fait que ton noyau ne trouve pas le 'root filesystem'.
Il faudrait avoir ta table de partitions ainsi que ta config grub pour être sur que le paramètre 'root=' est bien positionné (tu vas sans doute me dire que tu n'as rien changé à ce niveau-là mais on aime bien avoir toutes les infos ici ).
La majorité des bugs se situe entre la chaise et le clavier...
Arrêtez de vous prendre la tête avec les partitions... passez au LVM
benjarobin a écrit :Bonjour,
Avant de chercher à revenir en arrière : quel est le message d'erreur exacte ? Qu'est ce que tu vois à l'écran ? Très souvent c'est juste un problème de configuration...
Sinon la disposition du clavier cela se change Voir Wiki
Et pour installer une autre version du kernel, il suffit de faire un chroot puis d'utiliser pacman
Me voici en clavier CH et j'ai suivi le wiki pour chroot. Voici l'état actuel :
Quel est la commande pour "downgrade" les paquets qui ont été mis à jour hier soir (en copie dans mon premier sujet)??
Question bête : tu n'as qu'un disque dur ? Pas de clé usb ou autre périphérique bloc branché ? Si c'est le cas j'espère que tu n'utilises pas /dev/sda ou /dev/sdb pour nommer tes périphériques dans la config grub (cf https://wiki.archlinux.org/index.php/pe ... ice_naming)
La majorité des bugs se situe entre la chaise et le clavier...
Arrêtez de vous prendre la tête avec les partitions... passez au LVM
Si tu es sur ton live-cd, /boot n'es pas le même que sur ton os ? D'après un message précédent c'est /dev/sda1, que tu doit monté quelque part pour y chercher ta config grub.
La majorité des bugs se situe entre la chaise et le clavier...
Arrêtez de vous prendre la tête avec les partitions... passez au LVM
Sinon j'ai lancé la commande pour "downgrade" les deux paquet linux de xx.8.1 en xx.7.1 , ensuite j'ai redémarré mais rien n'a changé. Est-ce que je dois faire quelque chose de particulier pour quitter chroot et relancer l'ordi ?
Bon j'ai trouvé le fichier grub.cfg !
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 78a28c5f-6d80-4b6b-bb6c-29c00ce6681e
else
search --no-floppy --fs-uuid --set=root 78a28c5f-6d80-4b6b-bb6c-29c00ce6681e
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=fr_CH
insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_archlinux ###
menuentry "Arch Linux pkg-linux kernel" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
fi
set gfxpayload=keep
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 eed56c51-fb9b-416f-9ccb-c021428cebd4
else
search --no-floppy --fs-uuid --set=root eed56c51-fb9b-416f-9ccb-c021428cebd4
fi
echo 'Loading Arch Linux pkg-linux kernel ...'
linux /vmlinuz-linux root=UUID=78a28c5f-6d80-4b6b-bb6c-29c00ce6681e rw quiet
echo 'Loading Arch Linux pkg-linux kernel initramfs ...'
initrd /initramfs-linux.img
}
menuentry "Arch Linux pkg-linux kernel (fallback initramfs)" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
fi
set gfxpayload=keep
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 eed56c51-fb9b-416f-9ccb-c021428cebd4
else
search --no-floppy --fs-uuid --set=root eed56c51-fb9b-416f-9ccb-c021428cebd4
fi
echo 'Loading Arch Linux pkg-linux kernel ...'
linux /vmlinuz-linux root=UUID=78a28c5f-6d80-4b6b-bb6c-29c00ce6681e rw quiet
echo 'Loading Arch Linux pkg-linux kernel fallback initramfs ...'
initrd /initramfs-linux-fallback.img
}
### END /etc/grub.d/10_archlinux ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Antergos' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux--true-78a28c5f-6d80-4b6b-bb6c-29c00ce6681e' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 eed56c51-fb9b-416f-9ccb-c021428cebd4
else
search --no-floppy --fs-uuid --set=root eed56c51-fb9b-416f-9ccb-c021428cebd4
fi
echo 'Loading Linux ...'
linux /vmlinuz-linux root=UUID=78a28c5f-6d80-4b6b-bb6c-29c00ce6681e rw quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
}
menuentry 'Antergos - Fallback' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux--fallback-78a28c5f-6d80-4b6b-bb6c-29c00ce6681e' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 eed56c51-fb9b-416f-9ccb-c021428cebd4
else
search --no-floppy --fs-uuid --set=root eed56c51-fb9b-416f-9ccb-c021428cebd4
fi
echo 'Loading Linux ...'
linux /vmlinuz-linux root=UUID=78a28c5f-6d80-4b6b-bb6c-29c00ce6681e rw quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-fallback.img
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
### BEGIN /etc/grub.d/60_memtest86+ ###
### END /etc/grub.d/60_memtest86+ ###
Une fois le noyau réinstallé il n'y a rien de particulier à faire.
De ce que je comprends du fichier, le noyau chargé est :"linux /vmlinuz-linux root=UUID=78a28c5f-6d80-4b6b-bb6c-29c00ce6681e rw quiet"
Est-ce que l'uuid indiqué correspond bien à ta partition système ? blkid pour le savoir.
De quand date ton fichier grub.cfg ? A-t-il été modifié récemment ?
Dans ta partition système, as-tu un /sbin/init ? Est-ce bien un lien vers systemd ?
La majorité des bugs se situe entre la chaise et le clavier...
Arrêtez de vous prendre la tête avec les partitions... passez au LVM
- il y a bien un /sbin/init et qui renvoie à systemd
- Pour le fichier grub en fait, quand je tape : "[root@Antergos /]# /boot/grub/grub.cfg " cela me renvoie un fichier complètement vide... Il me semble que le fichier grub.cfg que j'avais trouvé vient du live usb... arf
Donc 8a28c5f-6d80-4b6b-bb6c-29c00ce6681e est bien l'uuid de ta partition "AntergosRoot" (/dev/sdb3 dans ton cas, et dedans tu as bien un sbin/init ?).
Je ne vois pas trop... Tu peux ajouter l'option 'break=postmount' au démarrage du noyau (cf https://wiki.archlinux.org/index.php/Mk ... time_hooks) tu pourras vérifier ce qui se passe juste avant que le noyau esaye de lancer init. Tu te retrouveras dans un shell, vérifie sur quoi est monté alors /.
La majorité des bugs se situe entre la chaise et le clavier...
Arrêtez de vous prendre la tête avec les partitions... passez au LVM
if [ -n "$earlymodules$MODULES" ]; then
modprobe -qab ${earlymodules//,/ } $MODULES
fi
run_hookfunctions 'run_hook' 'hook' $HOOKS
# honor the old behavior of break=y as a synonym for break=premount
if [ "${break}" = "y" ] || [ "${break}" = "premount" ]; then
echo ":: Pre-mount break requested, type 'exit' to resume operation"
launch_interactive_shell
fi
if [ "$(stat -c %D /)" = "$(stat -c %D /new_root)" ]; then
# Nothing got mounted on /new_root. This is the end, we don't know what to do anymore
# We fall back into a shell, but the shell has now PID 1
# This way, manual recovery is still possible.
err "Failed to mount the real root device."
echo "Bailing out, you are on your own. Good luck."
echo
launch_interactive_shell --exec
elif [ ! -x "/new_root${init}" ]; then
# Successfully mounted /new_root, but ${init} is missing
# The same logic as above applies
err "Root device mounted successfully, but ${init} does not exist."
echo "Bailing out, you are on your own. Good luck."
echo
launch_interactive_shell --exec
fi
if [ "${break}" = "postmount" ]; then
echo ":: Post-mount break requested, type 'exit' to resume operation"
launch_interactive_shell
fi
# this should always be the last thing we do before the switch_root.
rdlogger_stop