Pas de démarrage sur le noyau 5.10 ? [Réglé]
-
- Voir le profil du membre nmrk.n
- Inscrit le : 20/04/2018
- Site internet
- Groupes :
-
Banni
Reprise du message précédent
Jybz :
... Te souviens tu quels fichiers tu as modifié ?
Je ne me rappelle pas avoir modifié directement un fichier.
Je crois que j'ai fait une modification de grub configuration du démarrage en mode graphique via le CCM afin de faire apparaitre le choix Mageia 7.1 à la place de Mageia (tout court) mais le nouveau noyau n'a pas été pris en compte dans cette entrée.
(Cf. 2 pièces jointes : photo de grub dans CCM et fichier grub.cfg).

grub.cfg.txt

Édité par nmrk.n Le 18/01/2021 à 07h21
Autre Distrib : Trisquel version Triskel | Matériel : Penguin Pro 5 GNU/Linux Desktop | Processeur : Intel Quad-Core i5-4430 (6M Cache, up to 3.20 GHz) | Memory: 32GB DDR3 | Hard Drive: ATA Samsung SSD 840 256Go table::gpt depuis 2020 (anc. dos) et Seagate Barracuda ATA ST2000DM001-1CH1 2To 64Mo table::gpt | DVD : TSSTcorp CDDVDW SH-224DB | Wireless N: Wireless N PCIe Card (TPE-N300PCIE4) | Graphics Card: GeForce 8400GS 1GB PCI Express 2.0 Video Card | Bluetooth: USB Micro Adapter v2 (TPE-USBBLUV2) | Keyboard / [https://fr.wikipedia.org/wiki/TypeMatrix]TypeMatrix[/url] BÉPO | Mouse : Selecline sans fils | Monitor: Essentiel B Photo + Essentiel B Studio 2 x 1920 x 1080 | Printer : All-in-one HP Officejet 6500A Plus connectée wifi | Power Cable: Europe - Plug Type Europlug (CEE 7/16) |

Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
Code BASH :
### BEGIN /etc/grub.d/11_custom_proxy ### menuentry "Mageia 7.1" --class mageia --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-simple-7d68e2b7-8bd9-4b61-a793-f4dbe0495978' { savedefault load_video set gfxpayload=auto insmod gzio insmod part_gpt insmod ext2 set root='hd0,gpt2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 7d68e2b7-8bd9-4b61-a793-f4dbe0495978 else search --no-floppy --fs-uuid --set=root 7d68e2b7-8bd9-4b61-a793-f4dbe0495978 fi linuxefi /boot/vmlinuz-5.7.19-desktop-3.mga7 root=UUID=7d68e2b7-8bd9-4b61-a793-f4dbe0495978 ro noiswmd splash=verbose audit=0 vga=791 initrdefi /boot/initrd-5.7.19-desktop-3.mga7.img } ### END /etc/grub.d/11_custom_proxy ###
Je ne vois pas d'entrée pour le lien symbolique /boot/vmlinuz… je comparerai avec mon pc plus tard.
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
Arch | Machine | OS |
x86_64 | lenovo x250 | mga9 |
armv7hl | bananapro | mga9 |
aarch64 | Raspberry Pi 4B | mga9 |
-
- Voir le profil du membre nmrk.n
- Inscrit le : 20/04/2018
- Site internet
- Groupes :
-
Banni
Jybz :
Je vois…
Je ne vois pas d'entrée pour le lien symbolique /boot/vmlinuz… je comparerai avec mon pc plus tard.
Code BASH :
### BEGIN /etc/grub.d/11_custom_proxy ### menuentry "Mageia 7.1" --class mageia --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-simple-7d68e2b7-8bd9-4b61-a793-f4dbe0495978' { ... linuxefi /boot/vmlinuz-5.7.19-desktop-3.mga7 root=UUID=7d68e2b7-8bd9-4b61-a793-f4dbe0495978 ro noiswmd splash=verbose audit=0 vga=791 initrdefi /boot/initrd-5.7.19-desktop-3.mga7.img } ### END /etc/grub.d/11_custom_proxy ###
Je ne vois pas d'entrée pour le lien symbolique /boot/vmlinuz… je comparerai avec mon pc plus tard.
Et la mise à jour n'a pas été faite pour cette entrée ...
linuxefi /boot/vmlinuz-5.7.19-desktop-3.mga7 root=UUID=7d68e2b7-8bd9-4b61-a793-f4dbe0495978 ro noiswmd splash=verbose audit=0 vga=791
initrdefi /boot/initrd-5.7.19-desktop-3.mga7.img
Ça devrait être 5.10.6-desktop-1

Édité par nmrk.n Le 18/01/2021 à 08h34
Autre Distrib : Trisquel version Triskel | Matériel : Penguin Pro 5 GNU/Linux Desktop | Processeur : Intel Quad-Core i5-4430 (6M Cache, up to 3.20 GHz) | Memory: 32GB DDR3 | Hard Drive: ATA Samsung SSD 840 256Go table::gpt depuis 2020 (anc. dos) et Seagate Barracuda ATA ST2000DM001-1CH1 2To 64Mo table::gpt | DVD : TSSTcorp CDDVDW SH-224DB | Wireless N: Wireless N PCIe Card (TPE-N300PCIE4) | Graphics Card: GeForce 8400GS 1GB PCI Express 2.0 Video Card | Bluetooth: USB Micro Adapter v2 (TPE-USBBLUV2) | Keyboard / [https://fr.wikipedia.org/wiki/TypeMatrix]TypeMatrix[/url] BÉPO | Mouse : Selecline sans fils | Monitor: Essentiel B Photo + Essentiel B Studio 2 x 1920 x 1080 | Printer : All-in-one HP Officejet 6500A Plus connectée wifi | Power Cable: Europe - Plug Type Europlug (CEE 7/16) |

Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
Code TEXT :
linuxefi /boot/vmlinuz root=UUID=7d68e2b7-8bd9-4b61-a793-f4dbe0495978 ro noiswmd splash=verbose audit=0 vga=791 initrdefi /boot/initrd
Les liens symboliques sans versions.
Regarde :
Code BASH :
ls -lsah /boot
Tu devrais voir que /boot/vmlinuz existe, que c'est un lien symbolique vers la dernière version du noyau installé, et qu'il n'y a aucune entrée pour celui-ci.
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
Arch | Machine | OS |
x86_64 | lenovo x250 | mga9 |
armv7hl | bananapro | mga9 |
aarch64 | Raspberry Pi 4B | mga9 |

nic80 Membre non connecté
-
- Voir le profil du membre nic80
- Inscrit le : 06/08/2018
- Groupes :
-
Modérateur
C' est normal d' avoir des " au lieu de ' dans les entrées de menu ? En tout cas ce n' est pas ce que j'ai sur ma machine...
Cela n' explique pas pourquoi le vmlinuz et l' initrd n' existent pas...
Edit:je me demande aussi d' où vient le fichier /etc/grub.d/11-custom-proxy (même si peut être il est généré par drakboot (mais ça je ne peux pas le tester, sur ma machine de test, drakboot plante à cause d' un caractère utf8 malformé)).
Édité par nic80 Le 18/01/2021 à 20h52

Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
Arch | Machine | OS |
x86_64 | lenovo x250 | mga9 |
armv7hl | bananapro | mga9 |
aarch64 | Raspberry Pi 4B | mga9 |

squid-f Membre non connecté
-
- Voir le profil du membre squid-f
- Inscrit le : 03/04/2016
- Groupes :
-
Membre d'Honneur
Pour info, je viens de mettre à jour une 7.1 en VM et, elle aussi, ne démarre pas sur 5.10
A+
« Plus les hommes seront éclairés et plus ils seront libres. » ~ Voltaire

Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
Arch | Machine | OS |
x86_64 | lenovo x250 | mga9 |
armv7hl | bananapro | mga9 |
aarch64 | Raspberry Pi 4B | mga9 |

DéBé Membre non connecté
-
- Voir le profil du membre DéBé
- Inscrit le : 30/01/2010
- Groupes :
Je viens de faire la dernière mise à jour en ligne de commande, et il y a ceci (si ça peut aider)
Caché :
Préparation... ###################################################################################################
1/29: lib64isc1100 ###################################################################################################
2/29: lib64dns1105 ###################################################################################################
3/29: lib64p11-kit0 ###################################################################################################
4/29: p11-kit ###################################################################################################
5/29: lib64isccfg163 ###################################################################################################
6/29: lib64bind9_161 ###################################################################################################
7/29: kernel-desktop-devel-5.10.6-1.mga7
###################################################################################################
8/29: kernel-desktop-devel-latest
###################################################################################################
9/29: lib64lwres161 ###################################################################################################
10/29: lib64irs161 ###################################################################################################
11/29: cpupower ###################################################################################################
12/29: kernel-desktop-5.10.6-1.mga7
###################################################################################################
13/29: kernel-desktop-latest ###################################################################################################
14/29: virtualbox-kernel-desktop-latest
###################################################################################################
15/29: virtualbox-kernel-5.10.6-desktop-1.mga7
###################################################################################################
16/29: dkms-nvidia340 ###################################################################################################
Creating symlink /var/lib/dkms/nvidia340/340.108-9.mga7.nonfree/source ->
/usr/src/nvidia340-340.108-9.mga7.nonfree
DKMS: add Completed.
Preparing kernel 5.7.19-desktop-3.mga7 for module build:
(This is not compiling a kernel, just preparing kernel symbols)
Storing current .config to be restored when complete
Running Generic preparation routine
make mrproper....(bad exit status: 2)
using /proc/config.gz
make oldconfig......
make prepare....(bad exit status: 2)
Building module:
cleaning build area....(bad exit status: 2)
'make' -j2 SYSSRC=/lib/modules/5.7.19-desktop-3.mga7/build module.......................
cleaning build area....(bad exit status: 2)
cleaning kernel tree (make mrproper)....(bad exit status: 2)
DKMS: build Completed.
nvidia340.ko.xz:
- Installation
- Installing to /lib/modules/5.7.19-desktop-3.mga7/dkms/drivers/char/drm/
depmod.......
DKMS: install Completed.
dracut: Executing: /usr/bin/dracut -f
dracut: dracut module 'bootchart' will not be installed, because command '/sbin/bootchartd' could not be found!
dracut: dracut module 'systemd' will not be installed, because it's in the list to be omitted!
dracut: dracut module 'systemd-bootchart' will not be installed, because command '/usr/lib/systemd/systemd-bootchart' could not be found!
dracut: systemd-initrd needs systemd in the initramfs
dracut: dracut module 'caps' will not be installed, because commanda 'capsh' could not be found!
dracut: systemd-networkd needs systemd in the initramfs
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'network' will not be installed, because it's in the list to be omitted!
dracut: dracut module 'network' will not be installed, because it's in the list to be omitted!
dracut: dracut module 'ifcfg' depends on 'network', which can't be installed
dracut: dracut module 'iscsi' will not be installed, because command 'iscsistart' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found!
dracut: dracut-systemd needs systemd-initrd in the initramfs
dracut: dracut module 'caps' will not be installed, because command 'capsh' could not be found!
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'ifcfg' depends on 'network', which can't be installed
dracut: dracut module 'iscsi' will not be installed, because command 'iscsistart' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
dracut: *** Including module: bash ***
dracut: *** Including module: dash ***
dracut: *** Including module: i18n ***
dracut: *** Including module: drm ***
dracut: *** Including module: plymouth ***
dracut: *** Including module: kernel-modules ***
dracut: *** Including module: resume ***
dracut: *** Including module: rootfs-block ***
dracut: *** Including module: terminfo ***
dracut: *** Including module: udev-rules ***
dracut: Skipping udev rule: 40-redhat.rules
dracut: Skipping udev rule: 50-firmware.rules
dracut: Skipping udev rule: 50-udev.rules
dracut: Skipping udev rule: 91-permissions.rules
dracut: Skipping udev rule: 80-drivers-modprobe.rules
dracut: *** Including module: usrmount ***
dracut: *** Including module: base ***
dracut: *** Including module: fs-lib ***
dracut: *** Including module: shutdown ***
dracut: *** Including modules done ***
dracut: *** Installing kernel module dependencies ***
dracut: *** Installing kernel module dependencies done ***
dracut: *** Resolving executable dependencies ***
dracut: *** Resolving executable dependencies done***
dracut: *** Stripping files ***
dracut: *** Stripping files done ***
dracut: *** Generating early-microcode cpio image ***
dracut: *** Constructing AuthenticAMD.bin ****
dracut: *** Store current command line parameters ***
dracut: Stored kernel commandline:
dracut: resume=UUID=79fa07c8-4721-4c2e-8fe9-2cdc17399c4c resume=UUID=79fa07c8-4721-4c2e-8fe9-2cdc17399c4c
dracut: root=UUID=f5a63852-f94d-4481-9492-364f1122e286 rootfstype=ext4 rootflags=rw,relatime
dracut: *** Creating image file '/boot/initrd-5.7.19-desktop-3.mga7.img' ***
dracut: *** Creating initramfs image file '/boot/initrd-5.7.19-desktop-3.mga7.img' done ***
1/29: lib64isc1100 ###################################################################################################
2/29: lib64dns1105 ###################################################################################################
3/29: lib64p11-kit0 ###################################################################################################
4/29: p11-kit ###################################################################################################
5/29: lib64isccfg163 ###################################################################################################
6/29: lib64bind9_161 ###################################################################################################
7/29: kernel-desktop-devel-5.10.6-1.mga7
###################################################################################################
8/29: kernel-desktop-devel-latest
###################################################################################################
9/29: lib64lwres161 ###################################################################################################
10/29: lib64irs161 ###################################################################################################
11/29: cpupower ###################################################################################################
12/29: kernel-desktop-5.10.6-1.mga7
###################################################################################################
13/29: kernel-desktop-latest ###################################################################################################
14/29: virtualbox-kernel-desktop-latest
###################################################################################################
15/29: virtualbox-kernel-5.10.6-desktop-1.mga7
###################################################################################################
16/29: dkms-nvidia340 ###################################################################################################
Creating symlink /var/lib/dkms/nvidia340/340.108-9.mga7.nonfree/source ->
/usr/src/nvidia340-340.108-9.mga7.nonfree
DKMS: add Completed.
Preparing kernel 5.7.19-desktop-3.mga7 for module build:
(This is not compiling a kernel, just preparing kernel symbols)
Storing current .config to be restored when complete
Running Generic preparation routine
make mrproper....(bad exit status: 2)
using /proc/config.gz
make oldconfig......
make prepare....(bad exit status: 2)
Building module:
cleaning build area....(bad exit status: 2)
'make' -j2 SYSSRC=/lib/modules/5.7.19-desktop-3.mga7/build module.......................
cleaning build area....(bad exit status: 2)
cleaning kernel tree (make mrproper)....(bad exit status: 2)
DKMS: build Completed.
nvidia340.ko.xz:
- Installation
- Installing to /lib/modules/5.7.19-desktop-3.mga7/dkms/drivers/char/drm/
depmod.......
DKMS: install Completed.
dracut: Executing: /usr/bin/dracut -f
dracut: dracut module 'bootchart' will not be installed, because command '/sbin/bootchartd' could not be found!
dracut: dracut module 'systemd' will not be installed, because it's in the list to be omitted!
dracut: dracut module 'systemd-bootchart' will not be installed, because command '/usr/lib/systemd/systemd-bootchart' could not be found!
dracut: systemd-initrd needs systemd in the initramfs
dracut: dracut module 'caps' will not be installed, because commanda 'capsh' could not be found!
dracut: systemd-networkd needs systemd in the initramfs
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'network' will not be installed, because it's in the list to be omitted!
dracut: dracut module 'network' will not be installed, because it's in the list to be omitted!
dracut: dracut module 'ifcfg' depends on 'network', which can't be installed
dracut: dracut module 'iscsi' will not be installed, because command 'iscsistart' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found!
dracut: dracut-systemd needs systemd-initrd in the initramfs
dracut: dracut module 'caps' will not be installed, because command 'capsh' could not be found!
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'ifcfg' depends on 'network', which can't be installed
dracut: dracut module 'iscsi' will not be installed, because command 'iscsistart' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
dracut: *** Including module: bash ***
dracut: *** Including module: dash ***
dracut: *** Including module: i18n ***
dracut: *** Including module: drm ***
dracut: *** Including module: plymouth ***
dracut: *** Including module: kernel-modules ***
dracut: *** Including module: resume ***
dracut: *** Including module: rootfs-block ***
dracut: *** Including module: terminfo ***
dracut: *** Including module: udev-rules ***
dracut: Skipping udev rule: 40-redhat.rules
dracut: Skipping udev rule: 50-firmware.rules
dracut: Skipping udev rule: 50-udev.rules
dracut: Skipping udev rule: 91-permissions.rules
dracut: Skipping udev rule: 80-drivers-modprobe.rules
dracut: *** Including module: usrmount ***
dracut: *** Including module: base ***
dracut: *** Including module: fs-lib ***
dracut: *** Including module: shutdown ***
dracut: *** Including modules done ***
dracut: *** Installing kernel module dependencies ***
dracut: *** Installing kernel module dependencies done ***
dracut: *** Resolving executable dependencies ***
dracut: *** Resolving executable dependencies done***
dracut: *** Stripping files ***
dracut: *** Stripping files done ***
dracut: *** Generating early-microcode cpio image ***
dracut: *** Constructing AuthenticAMD.bin ****
dracut: *** Store current command line parameters ***
dracut: Stored kernel commandline:
dracut: resume=UUID=79fa07c8-4721-4c2e-8fe9-2cdc17399c4c resume=UUID=79fa07c8-4721-4c2e-8fe9-2cdc17399c4c
dracut: root=UUID=f5a63852-f94d-4481-9492-364f1122e286 rootfstype=ext4 rootflags=rw,relatime
dracut: *** Creating image file '/boot/initrd-5.7.19-desktop-3.mga7.img' ***
dracut: *** Creating initramfs image file '/boot/initrd-5.7.19-desktop-3.mga7.img' done ***
Citation :
dracut: *** Creating image file '/boot/initrd-5.7.19-desktop-3.mga7.img' ***
dracut: *** Creating initramfs image file '/boot/initrd-5.7.19-desktop-3.mga7.img' done ***
dracut: *** Creating initramfs image file '/boot/initrd-5.7.19-desktop-3.mga7.img' done ***
Bizarre, alors que le nouveau kernel est 12/29: kernel-desktop-5.10.6-1.mga7
Et toutes ces erreurs comme :
Citation :
dracut: dracut module 'caps' will not be installed, because commanda 'capsh' could not be found!
Mais, Mageia redémarre tout de même en kernel-desktop-5.10.6-1
Code BASH :
[daniel@localhost ~]$ uname -a Linux localhost.localdomain 5.10.6-desktop-1.mga7 #1 SMP Sat Jan 9 20:09:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Édité par DéBé Le 19/01/2021 à 10h10
Finistère - Matériel : Desktop :Mga 9 x86-64 sur SSD 120 Go Plasma5 - Intel I5-6500 3,2 Ghz /Ram 8 Go --Lenovo T 410 Mga 9 x86-64 Plasma 5 Le monde ne sera pas détruit par ceux qui font le mal, mais par ceux qui les regardent sans rien faire.” Albert Einstein

Visiteur
Visiteur
Ce que je crois avoir compris :
Débé :
Citation :
dracut: *** Creating image file '/boot/initrd-5.7.19-desktop-3.mga7.img' ***
dracut: *** Creating initramfs image file '/boot/initrd-5.7.19-desktop-3.mga7.img' done ***
Bizarre, alors que le nouveau kernel est 12/29: kernel-desktop-5.10.6-1.mga7
dracut: *** Creating image file '/boot/initrd-5.7.19-desktop-3.mga7.img' ***
dracut: *** Creating initramfs image file '/boot/initrd-5.7.19-desktop-3.mga7.img' done ***
Bizarre, alors que le nouveau kernel est 12/29: kernel-desktop-5.10.6-1.mga7
Non, rien de bizarre à cela.
Lors d'un changement de noyau, il y a reconstruction d'un fichier "initrd" pour tous et chacun des noyaux présents sur le système.
Il y a aussi lors de l'installation d'un driver par dkms par ex. , recompilation du dit driver pour tous et chacun des noyaux présents.
En Konsole on peut observer tout cela et, si on l'ignore, être surpris de voir des complilations qui se réitèrent autant de fois.
Ce qu'il faut aussi comprendre c'est que au final, c'est "Grub2" qui fera le tri parmi les noyaux à lancer en priorité.
A ce stade, il lance par défaut le "initrd" du noyau qu'il a estimé le plus récent, ou bien, il lancera celui ("initrd") qui est sélectionné par l'utilisateur manuellement.
Débé :
Et toutes ces erreurs comme :
Citation :
dracut: dracut module 'caps' will not be installed, because commanda 'capsh' could not be found!
Citation :
dracut: dracut module 'caps' will not be installed, because commanda 'capsh' could not be found!
Là encore c'est normal.
"Dracut" est programmé pour rechercher dans le système et installer dans le "initrd" qu'il construit, un certain nombre de modules, mais tous ne sont pas présents dans chacun de nos systèmes. Il affiche donc ceux qui sont présents (ex. dracut: *** Including module: bash ***) comme installés; et ceux qui ne le sont pas (ex. dracut: dracut module 'iscsi' will not be installed, because command 'iscsistart' could not be found!).
Et comme tout bon programme d'installation, il répète pour certains éléments sa propre recherche au cas où il en aurait sauté un, ce qui provoque un affichage en double (souvent pour ceux qui sont ratés).
Je m'en tiens à cela sans être du tout un connaisseur.
A+

squid-f Membre non connecté
-
- Voir le profil du membre squid-f
- Inscrit le : 03/04/2016
- Groupes :
-
Membre d'Honneur
Jybz :
Est-ce que grub ne démarres pas sur le dernier noyau sélectionné ?
Tu veux dire que je dois forcer le démarrage sur le nouvellement installé 5.10 et qu’il ne le fait pas automatiquement ?
« Plus les hommes seront éclairés et plus ils seront libres. » ~ Voltaire

DéBé Membre non connecté
-
- Voir le profil du membre DéBé
- Inscrit le : 30/01/2010
- Groupes :
nulix :
Je m'en tiens à cela sans être du tout un connaisseur.
En tous cas, plus connaisseur que moi .....

Merci pour le cours
Finistère - Matériel : Desktop :Mga 9 x86-64 sur SSD 120 Go Plasma5 - Intel I5-6500 3,2 Ghz /Ram 8 Go --Lenovo T 410 Mga 9 x86-64 Plasma 5 Le monde ne sera pas détruit par ceux qui font le mal, mais par ceux qui les regardent sans rien faire.” Albert Einstein

Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
squid-f :
Tu veux dire que je dois forcer le démarrage sur le nouvellement installé 5.10 et qu’il ne le fait pas automatiquement ?
Jybz :
Est-ce que grub ne démarres pas sur le dernier noyau sélectionné ?
Tu veux dire que je dois forcer le démarrage sur le nouvellement installé 5.10 et qu’il ne le fait pas automatiquement ?
Si tu démarres windows une fois, il redémarrera sur windows, lorsque tu sélectionnes Mageia (par défaut), normalement, il démarre le dernier noyau, si tu un spécifie un particulièrement, je crois qu'il redémarre sur ce noyau particulier, mais je ne suis pas sûr, j'ai comme un doute pour ce cas.
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
Arch | Machine | OS |
x86_64 | lenovo x250 | mga9 |
armv7hl | bananapro | mga9 |
aarch64 | Raspberry Pi 4B | mga9 |

Visiteur
Visiteur
J'ai rectifié à la main le "grub.cfg" un peu loufoque de "nmrkn".
Est-il trop imprudent de lui dire de l'essayer, après avoir bien entendu, sauvegardé son original -sous "original-grub,cfg" par ex.- pour pouvoir y revenir en cas de non fonctionnement de celui proposé.
nmrkn.txt
Vous me direz.
A+

squid-f Membre non connecté
-
- Voir le profil du membre squid-f
- Inscrit le : 03/04/2016
- Groupes :
-
Membre d'Honneur
Jybz :
Si tu démarres windows une fois, il redémarrera sur windows, lorsque tu sélectionnes Mageia (par défaut), normalement, il démarre le dernier noyau, si tu un spécifie un particulièrement, je crois qu'il redémarre sur ce noyau particulier, mais je ne suis pas sûr, j'ai comme un doute pour ce cas.
Je n'ai plus de machines sous Windows. Là, la VM MGA7 vient de démarrer sur 5.10. Par contre, j'en suis certain, la première fois, elle a redémarré sur 5.7 ; j'avais vérifié explicitement.
Bon, on ne saura pas pourquoi du coup.
Désolé.
A+
« Plus les hommes seront éclairés et plus ils seront libres. » ~ Voltaire
-
- Voir le profil du membre nmrk.n
- Inscrit le : 20/04/2018
- Site internet
- Groupes :
-
Banni
Jybz :
Est-ce que grub ne démarres pas sur le dernier noyau sélectionné ?
Chez moi ça démarre sur le dernier noyau sélectionné.
Après mise à jour la modification de noyau pour le démarrage n'a pas été prise en compte automatiquement.
Cependant le nouveau noyau a bien été installé et j'ai pu démarrer dessus en passant par les options avancées de démarrage manuellement.
Après cela la machine a toujours démarré dessus sauf après que j'aie démarré sur Triskel car mon grub est configuré pour démarrer automatiquement selon le dernier démarrage effectué (sauf autre option imposée manuellement).
[marc@TPmrc boot]$ uname -a
Linux TPmrc 5.10.6-desktop-1.mga7 #1 SMP Sat Jan 9 20:09:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
[marc@TPmrc boot]$ ls -lsah /boot
Caché :
total 49M
4,0K drwxr-xr-x 5 root root 4,0K janv. 16 13:14 ./
4,0K drwxr-xr-x 22 root root 4,0K déc. 26 05:28 ../
240K -rw-r--r-- 1 root root 239K janv. 9 21:36 config-5.10.6-desktop-1.mga7
232K -rw-r--r-- 1 root root 232K oct. 18 18:20 config-5.7.19-desktop-3.mga7
4,0K drwxr-xr-x 2 root root 4,0K mars 26 2019 dracut/
4,0K drwxrwxrwx 3 root root 4,0K janv. 1 1970 EFI/
4,0K drwxr-xr-x 6 root root 4,0K janv. 18 06:56 grub2/
13M -rw------- 1 root root 13M janv. 16 04:35 initrd-5.10.6-desktop-1.mga7.img
13M -rw------- 1 root root 13M déc. 3 22:41 initrd-5.7.19-desktop-3.mga7.img
0 lrwxrwxrwx 1 root root 32 janv. 16 04:35 initrd-desktop.img -> initrd-5.10.6-desktop-1.mga7.img
0 lrwxrwxrwx 1 root root 32 janv. 16 04:35 initrd.img -> initrd-5.10.6-desktop-1.mga7.img
200K -rw-r--r-- 1 root root 198K janv. 9 21:36 symvers-5.10.6-desktop-1.mga7.xz
192K -rw-r--r-- 1 root root 191K oct. 18 18:20 symvers-5.7.19-desktop-3.mga7.xz
4,9M -rw-r--r-- 1 root root 4,9M janv. 9 21:36 System.map-5.10.6-desktop-1.mga7
4,6M -rw-r--r-- 1 root root 4,6M oct. 18 18:20 System.map-5.7.19-desktop-3.mga7
0 lrwxrwxrwx 1 root root 29 janv. 16 04:35 vmlinuz -> vmlinuz-5.10.6-desktop-1.mga7
6,4M -rw-r--r-- 1 root root 6,4M janv. 9 21:36 vmlinuz-5.10.6-desktop-1.mga7
6,2M -rw-r--r-- 1 root root 6,2M oct. 18 18:20 vmlinuz-5.7.19-desktop-3.mga7
0 lrwxrwxrwx 1 root root 29 janv. 16 04:35 vmlinuz-desktop -> vmlinuz-5.10.6-desktop-1.mga7
4,0K drwxr-xr-x 5 root root 4,0K janv. 16 13:14 ./
4,0K drwxr-xr-x 22 root root 4,0K déc. 26 05:28 ../
240K -rw-r--r-- 1 root root 239K janv. 9 21:36 config-5.10.6-desktop-1.mga7
232K -rw-r--r-- 1 root root 232K oct. 18 18:20 config-5.7.19-desktop-3.mga7
4,0K drwxr-xr-x 2 root root 4,0K mars 26 2019 dracut/
4,0K drwxrwxrwx 3 root root 4,0K janv. 1 1970 EFI/
4,0K drwxr-xr-x 6 root root 4,0K janv. 18 06:56 grub2/
13M -rw------- 1 root root 13M janv. 16 04:35 initrd-5.10.6-desktop-1.mga7.img
13M -rw------- 1 root root 13M déc. 3 22:41 initrd-5.7.19-desktop-3.mga7.img
0 lrwxrwxrwx 1 root root 32 janv. 16 04:35 initrd-desktop.img -> initrd-5.10.6-desktop-1.mga7.img
0 lrwxrwxrwx 1 root root 32 janv. 16 04:35 initrd.img -> initrd-5.10.6-desktop-1.mga7.img
200K -rw-r--r-- 1 root root 198K janv. 9 21:36 symvers-5.10.6-desktop-1.mga7.xz
192K -rw-r--r-- 1 root root 191K oct. 18 18:20 symvers-5.7.19-desktop-3.mga7.xz
4,9M -rw-r--r-- 1 root root 4,9M janv. 9 21:36 System.map-5.10.6-desktop-1.mga7
4,6M -rw-r--r-- 1 root root 4,6M oct. 18 18:20 System.map-5.7.19-desktop-3.mga7
0 lrwxrwxrwx 1 root root 29 janv. 16 04:35 vmlinuz -> vmlinuz-5.10.6-desktop-1.mga7
6,4M -rw-r--r-- 1 root root 6,4M janv. 9 21:36 vmlinuz-5.10.6-desktop-1.mga7
6,2M -rw-r--r-- 1 root root 6,2M oct. 18 18:20 vmlinuz-5.7.19-desktop-3.mga7
0 lrwxrwxrwx 1 root root 29 janv. 16 04:35 vmlinuz-desktop -> vmlinuz-5.10.6-desktop-1.mga7
[marc@TPmrc boot]$
Pour être tout à fait sincère, ça ne me parle vraiment pas beaucoup pour ne pas dire pas du tout ...
Est-il possible de complètement effacer grub et le réinstaller dans la foulée sans perdre la Mageia en cours de fonctionnement et donc sans avoir à redémarrer (ce qui serait impossible après suppression de grub ...).
:mrc:
Édité par nmrk.n Le 19/01/2021 à 22h43
Autre Distrib : Trisquel version Triskel | Matériel : Penguin Pro 5 GNU/Linux Desktop | Processeur : Intel Quad-Core i5-4430 (6M Cache, up to 3.20 GHz) | Memory: 32GB DDR3 | Hard Drive: ATA Samsung SSD 840 256Go table::gpt depuis 2020 (anc. dos) et Seagate Barracuda ATA ST2000DM001-1CH1 2To 64Mo table::gpt | DVD : TSSTcorp CDDVDW SH-224DB | Wireless N: Wireless N PCIe Card (TPE-N300PCIE4) | Graphics Card: GeForce 8400GS 1GB PCI Express 2.0 Video Card | Bluetooth: USB Micro Adapter v2 (TPE-USBBLUV2) | Keyboard / [https://fr.wikipedia.org/wiki/TypeMatrix]TypeMatrix[/url] BÉPO | Mouse : Selecline sans fils | Monitor: Essentiel B Photo + Essentiel B Studio 2 x 1920 x 1080 | Printer : All-in-one HP Officejet 6500A Plus connectée wifi | Power Cable: Europe - Plug Type Europlug (CEE 7/16) |
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie