Problèmes et questions concernant le noyau et le support matériel.
#21Messageil y a 2 ansBonjour, je viens de faire les diverses commandes mais je pense que cela n'a pas fonctionné...
il me semble que je n'ai toujours que le noyau 5.4
au moment de nano, j'ai fait ctrl + x puis le terminal revient de suite... qu'est-ce que le "o" que tu m'as indiqué, Stephane ?
su
Mot de passe :
[jean-luc-pc jean-luc]# cp /etc/mkinitcpio.d/linux54.preset /etc/mkinitcpio.d/linux510.preset
cp : voulez-vous écraser '/etc/mkinitcpio.d/linux510.preset' ?
[jean-luc-pc jean-luc]# cp /etc/mkinitcpio.d/linux54.preset /etc/mkinitcpio.d/linux515.preset
[jean-luc-pc jean-luc]# exit
exit
[jean-luc@jean-luc-pc ~]$ sudo nano /etc/mkinitcpio.d/linux510.preset
[sudo] Mot de passe de jean-luc :
[jean-luc@jean-luc-pc ~]$ sudo nano /etc/mkinitcpio.d/linux515.preset
[jean-luc@jean-luc-pc ~]$ sudo mkinitcpio -P
==> WARNING: Preset file `/etc/mkinitcpio.d/linux510.preset' is empty or does not contain any presets.
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'default'
-> -k /boot/vmlinuz-5.4-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.4-x86_64.img
==> Starting build: 5.4.164-1-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.4-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'fallback'
-> -k /boot/vmlinuz-5.4-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.4-x86_64-fallback.img -S autodetect
==> Starting build: 5.4.164-1-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.4-x86_64-fallback.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux54.preset: 'default'
-> -k /boot/vmlinuz-5.4-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.4-x86_64.img
==> Starting build: 5.4.164-1-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.4-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux54.preset: 'fallback'
-> -k /boot/vmlinuz-5.4-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.4-x86_64-fallback.img -S autodetect
==> Starting build: 5.4.164-1-MANJARO
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.4-x86_64-fallback.img
==> Image generation successful
je vais redémarrer... Mini PC AM06PRO :
CPU : 16 × AMD Ryzen 7 5700U
CM : HCAR5000-MI
GPU : AMD Radeon Graphics (free driver)
RAM : 2 x 8 Go
Manjaro Linux Vulcan 23.1
KDE Plasma : 5.27.10
Version de noyau : 6.7
Plate-forme graphique : Wayland
#22Messageil y a 2 ansCtrl+X pour sauvegarder et O pour confirmer le nom ( ou entrée )
revérifie le contenu pour le preset linux510 ,
par la suite Macpro quad 2008 - Ati5770 - Xeon 2,8Ghz 8Go Os X 10.6.8 - Linux - Manjaro 22.0 Mate
Desktop - CPU : Ryzen 3 -5600x@3,7Ghz - RAM 16 Go - CM: X570 AORUS PRO( Xfce Testing)
CG : GeForce GTX 970- Nvidia v525 Audio: Starship/Matisse Audio Manjaro 21.1 Xfce Eth: Intel I211 Gigabit
#23Messageil y a 2 ansNon, cela n'a pas marché, je n'ai toujours que le 5.4 dans le menu grub Mini PC AM06PRO :
CPU : 16 × AMD Ryzen 7 5700U
CM : HCAR5000-MI
GPU : AMD Radeon Graphics (free driver)
RAM : 2 x 8 Go
Manjaro Linux Vulcan 23.1
KDE Plasma : 5.27.10
Version de noyau : 6.7
Plate-forme graphique : Wayland
#24Messageil y a 2 anstu peux démarrer avec la version 5.4 ?
te connecter si probleme en TTY ? ( Ctrl+Alt +F2 a F7 )
==> tu vérifie dans ce cas
1) les versions des fichiers en linux*.preset ( attendu 5.4 , 5.10 et 5.15 )
2) sudo mkinitcpio -P
3) sudo update-grub Macpro quad 2008 - Ati5770 - Xeon 2,8Ghz 8Go Os X 10.6.8 - Linux - Manjaro 22.0 Mate
Desktop - CPU : Ryzen 3 -5600x@3,7Ghz - RAM 16 Go - CM: X570 AORUS PRO( Xfce Testing)
CG : GeForce GTX 970- Nvidia v525 Audio: Starship/Matisse Audio Manjaro 21.1 Xfce Eth: Intel I211 Gigabit
#25Messageil y a 2 ansoui je suis en ce moment sous la version 5.4
comment fait-on pour vérifier les versions des fichiers en linux*.preset ? Mini PC AM06PRO :
CPU : 16 × AMD Ryzen 7 5700U
CM : HCAR5000-MI
GPU : AMD Radeon Graphics (free driver)
RAM : 2 x 8 Go
Manjaro Linux Vulcan 23.1
KDE Plasma : 5.27.10
Version de noyau : 6.7
Plate-forme graphique : Wayland
#26Messageil y a 2 ans
sudo cat /etc/mkinitcpio.d/linux54.preset
sudo cat /etc/mkinitcpio.d/linux510.preset
sudo cat /etc/mkinitcpio.d/linux515.preset
sinon
sudo kate /etc/mkinitcpio.d/linux54.preset
sudo kate /etc/mkinitcpio.d/linux510.preset
sudo kate /etc/mkinitcpio.d/linux515.preset
a verifier aussi
sudo lsblk -fs ( UIID pour /boot/efi )
sudo cat /etc/fstab ( UUID doit être le même )
Macpro quad 2008 - Ati5770 - Xeon 2,8Ghz 8Go Os X 10.6.8 - Linux - Manjaro 22.0 Mate
Desktop - CPU : Ryzen 3 -5600x@3,7Ghz - RAM 16 Go - CM: X570 AORUS PRO( Xfce Testing)
CG : GeForce GTX 970- Nvidia v525 Audio: Starship/Matisse Audio Manjaro 21.1 Xfce Eth: Intel I211 Gigabit
Dernière modification par
stephaneil y a 2 ans, modifié au total 1 fois.
#27Messageil y a 2 ans
sudo cat /etc/mkinitcpio.d/linux54.preset
[sudo] Mot de passe de jean-luc :
# mkinitcpio preset file for the 'linux54' package
ALL_config="/etc/mkinitcpio.conf"
ALL_kver="/boot/vmlinuz-5.4-x86_64"
PRESETS=('default' 'fallback')
#default_config="/etc/mkinitcpio.conf"
default_image="/boot/initramfs-5.4-x86_64.img"
#default_options=""
#fallback_config="/etc/mkinitcpio.conf"
fallback_image="/boot/initramfs-5.4-x86_64-fallback.img"
fallback_options="-S autodetect"
[jean-luc@jean-luc-pc ~]$ sudo cat /etc/mkinitcpio.d/linux510.preset
[jean-luc@jean-luc-pc ~]$ sudo cat /etc/mkinitcpio.d/linux515.preset
# mkinitcpio preset file for the 'linux54' package
ALL_config="/etc/mkinitcpio.conf"
ALL_kver="/boot/vmlinuz-5.4-x86_64"
PRESETS=('default' 'fallback')
#default_config="/etc/mkinitcpio.conf"
default_image="/boot/initramfs-5.4-x86_64.img"
#default_options=""
#fallback_config="/etc/mkinitcpio.conf"
fallback_image="/boot/initramfs-5.4-x86_64-fallback.img"
fallback_options="-S autodetect"
[jean-luc@jean-luc-pc ~]$ sudo lsblk -fs
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0
squash 4.0 0 100% /var/lib/snapd/snap/core/9993
loop1
squash 4.0 0 100% /var/lib/snapd/snap/core18/1880
loop2
squash 4.0 0 100% /var/lib/snapd/snap/gtk2-common-themes/9
loop3
squash 4.0 0 100% /var/lib/snapd/snap/core18/1885
loop4
squash 4.0 0 100% /var/lib/snapd/snap/gtk2-common-themes/13
loop5
squash 4.0 0 100% /var/lib/snapd/snap/gtk-common-themes/1506
loop6
squash 4.0 0 100% /var/lib/snapd/snap/core/10126
loop7
squash 4.0 0 100% /var/lib/snapd/snap/gtk-common-themes/1502
loop8
squash 4.0 0 100% /var/lib/snapd/snap/kde-frameworks-5-core18/32
sda1 vfat FAT32 BEC2-E59D 299,1M 0% /boot/efi
└─sda
sda2 ext4 1.0 40e12692-1068-4752-916d-a6de0d785b0c 203,8G 73% /
└─sda
sdb2 ext4 1.0 2c53d9de-7ea7-42ff-ab09-3b3a50a349dd 253,8G 8% /run/media/jean-luc/2c53d9de-7ea7-42ff-ab09-3b3a50a349dd
└─sdb
sr0
[jean-luc@jean-luc-pc ~]$ sudo cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=BEC2-E59D /boot/efi vfat umask=0077 0 2
UUID=40e12692-1068-4752-916d-a6de0d785b0c / ext4 defaults,noatime 0 1
il semble que c'est vide pour le 5.10Mini PC AM06PRO :
CPU : 16 × AMD Ryzen 7 5700U
CM : HCAR5000-MI
GPU : AMD Radeon Graphics (free driver)
RAM : 2 x 8 Go
Manjaro Linux Vulcan 23.1
KDE Plasma : 5.27.10
Version de noyau : 6.7
Plate-forme graphique : Wayland
#28Messageil y a 2 anstu n'es pas capable d'éditer un fichier avec nano
sudo cat /etc/mkinitcpio.d/linux515.preset
# mkinitcpio preset file for the 'linux54' package
ALL_kver="/boot/vmlinuz-5.4-x86_64"
Tu vois bien que tu as encore 5.4 dans le fichier linux515.preset alors que nous t'avions dit de remplacer par 5.15 !
Puisque tu es avec kde, tu peux aussi éditer ces 2 fichiers directement avec kate (sans sudo) si c'est plus simple pour toi... Manjaro STABLE - Linux lts - fish - Kde5 - icore N100 - 16Go RAM - ssd - efi
#mount /dev/archlinux /mnt/manjaro
#29Messageil y a 2 ansa refaire pour linux510.preset
et pour la linux515.preset , modifier la valeur dans le fichier
corrige pour les 2 fichiers en erreur
puis
sudo mkinitcpio -P ( vérifie pas de code erreur )
sudo update-grub
Macpro quad 2008 - Ati5770 - Xeon 2,8Ghz 8Go Os X 10.6.8 - Linux - Manjaro 22.0 Mate
Desktop - CPU : Ryzen 3 -5600x@3,7Ghz - RAM 16 Go - CM: X570 AORUS PRO( Xfce Testing)
CG : GeForce GTX 970- Nvidia v525 Audio: Starship/Matisse Audio Manjaro 21.1 Xfce Eth: Intel I211 Gigabit
#30Messageil y a 2 ansMini PC AM06PRO :
CPU : 16 × AMD Ryzen 7 5700U
CM : HCAR5000-MI
GPU : AMD Radeon Graphics (free driver)
RAM : 2 x 8 Go
Manjaro Linux Vulcan 23.1
KDE Plasma : 5.27.10
Version de noyau : 6.7
Plate-forme graphique : Wayland
#31Messageil y a 2 anspuisque tu boot sur le 54,
le plus simple, serait sans doute de supprimer les noyaux 510 et 515 puis les réinstaller Manjaro STABLE - Linux lts - fish - Kde5 - icore N100 - 16Go RAM - ssd - efi
#mount /dev/archlinux /mnt/manjaro
#32Messageil y a 2 anspapajoke a écrit : ↑il y a 2 ans
puisque tu boot sur le 54,
le plus simple, serait sans doute de supprimer les noyaux 510 et 515 puis les réinstaller
C'est justement ce que j'avais aussi pensé... solution la plus simple finalement, bon c'est OK maintenant, j'ai bien les 3 kernels dans le menu grub.
Merci à vous.Mini PC AM06PRO :
CPU : 16 × AMD Ryzen 7 5700U
CM : HCAR5000-MI
GPU : AMD Radeon Graphics (free driver)
RAM : 2 x 8 Go
Manjaro Linux Vulcan 23.1
KDE Plasma : 5.27.10
Version de noyau : 6.7
Plate-forme graphique : Wayland