Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 07/10/2023, à 11:19

Didiéridou

Nettoyage du grub impossible ! [RESOLU]

Bonjour.
J'ai des lignes superflues dans mon grub:

papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$ sudo update-grub
[sudo] Mot de passe de papydidoueos7 :     
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.2.0-34-generic
Found initrd image: /boot/initrd.img-6.2.0-34-generic
Found linux image: /boot/vmlinuz-6.2.0-33-generic
Found initrd image: /boot/initrd.img-6.2.0-33-generic
Found linux image: /boot/vmlinuz-6.2.0-32-generic
Found initrd image: /boot/initrd.img-6.2.0-32-generic
Found linux image: /boot/vmlinuz-6.2.0-31-generic
Found initrd image: /boot/initrd.img-6.2.0-31-generic
Found linux image: /boot/vmlinuz-6.2.0-26-generic
Found initrd image: /boot/initrd.img-6.2.0-26-generic
Found linux image: /boot/vmlinuz-5.19.0-50-generic
Found initrd image: /boot/initrd.img-5.19.0-50-generic
Found linux image: /boot/vmlinuz-5.19.0-46-generic
Found initrd image: /boot/initrd.img-5.19.0-46-generic
Found linux image: /boot/vmlinuz-5.19.0-45-generic
Found initrd image: /boot/initrd.img-5.19.0-45-generic
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.
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Found Ubuntu 22.04.3 LTS (22.04) on /dev/sdb3
Adding boot menu entry for UEFI Firmware Settings ...
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.
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Found Ubuntu 22.04.3 LTS (22.04) on /dev/sdb3
done
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.2.0-34-generic
Found initrd image: /boot/initrd.img-6.2.0-34-generic
Found linux image: /boot/vmlinuz-6.2.0-33-generic
Found initrd image: /boot/initrd.img-6.2.0-33-generic
Found linux image: /boot/vmlinuz-6.2.0-32-generic
Found initrd image: /boot/initrd.img-6.2.0-32-generic
Found linux image: /boot/vmlinuz-6.2.0-31-generic
Found initrd image: /boot/initrd.img-6.2.0-31-generic
Found linux image: /boot/vmlinuz-6.2.0-26-generic
Found initrd image: /boot/initrd.img-6.2.0-26-generic
Found linux image: /boot/vmlinuz-5.19.0-50-generic
Found initrd image: /boot/initrd.img-5.19.0-50-generic
Found linux image: /boot/vmlinuz-5.19.0-46-generic
Found initrd image: /boot/initrd.img-5.19.0-46-generic
Found linux image: /boot/vmlinuz-5.19.0-45-generic
Found initrd image: /boot/initrd.img-5.19.0-45-generic
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.
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Found Ubuntu 22.04.3 LTS (22.04) on /dev/sdb3
Adding boot menu entry for UEFI Firmware Settings ...
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.
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Found Ubuntu 22.04.3 LTS (22.04) on /dev/sdb3
done
papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$ 

J'ai essayé ça sans résultat
J'ai également essayé par grub costumizer sans plus de résultat...
Je ne sais plus quoi faire ...
A l'aide SVP !

Dernière modification par Didiéridou (Le 08/10/2023, à 13:07)


Sous Linux (Ubuntu et maintenant EOS) depuis au moins 2006 et d'autant plus ravi d'y être quand je reboot par nécessité sur Win... et que je vois la disponibilité et la réactivité compétente des membres des forums !

Hors ligne

#2 Le 07/10/2023, à 11:31

Didiéridou

Re : Nettoyage du grub impossible ! [RESOLU]

Par contre je viens de me rendre compte que ce n'est pas le grub que je vois au démarrage !
Je pense que le bon est correct et doit être sur /deb/sdb3. (Ubuntu)
Celui_ci doit être sur /dev/sdb5 ??? (EOS7.1)
Serait-ce la bonne piste ???


Sous Linux (Ubuntu et maintenant EOS) depuis au moins 2006 et d'autant plus ravi d'y être quand je reboot par nécessité sur Win... et que je vois la disponibilité et la réactivité compétente des membres des forums !

Hors ligne

#3 Le 07/10/2023, à 11:54

xubu1957

Re : Nettoyage du grub impossible ! [RESOLU]

Bonjour,

Fournis les noyaux présents :

echo; dpkg -l | awk '!/^rc/ && / linux-(c|g|h|i|lo|m|si|t)/{print $1,$2,$3,$4 | "sort -k3V | column -t"}' ; echo -e "\nNoyau courant : $(uname -mr)"

et :

dpkg -l | grep -v ^ii

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#4 Le 07/10/2023, à 13:15

Didiéridou

Re : Nettoyage du grub impossible ! [RESOLU]

 papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$ echo; dpkg -l | awk '!/^rc/ && / linux-(c|g|h|i|lo|m|si|t)/{print $1,$2,$3,$4 | "sort -k3V | column -t"}' ; echo -e "\nNoyau courant : $(uname -mr)"

rH  linux-image-5.15.0-60-generic          5.15.0-60.66          amd64
ii  linux-modules-5.19.0-32-generic        5.19.0-32.33~22.04.1  amd64
ii  linux-modules-extra-5.19.0-32-generic  5.19.0-32.33~22.04.1  amd64
ii  linux-modules-5.19.0-35-generic        5.19.0-35.36~22.04.1  amd64
ii  linux-modules-extra-5.19.0-35-generic  5.19.0-35.36~22.04.1  amd64
ii  linux-modules-5.19.0-38-generic        5.19.0-38.39~22.04.1  amd64
ii  linux-modules-extra-5.19.0-38-generic  5.19.0-38.39~22.04.1  amd64
ii  linux-modules-5.19.0-40-generic        5.19.0-40.41~22.04.1  amd64
ii  linux-modules-extra-5.19.0-40-generic  5.19.0-40.41~22.04.1  amd64
ii  linux-modules-5.19.0-41-generic        5.19.0-41.42~22.04.1  amd64
ii  linux-modules-extra-5.19.0-41-generic  5.19.0-41.42~22.04.1  amd64
ii  linux-modules-5.19.0-42-generic        5.19.0-42.43~22.04.1  amd64
ii  linux-modules-extra-5.19.0-42-generic  5.19.0-42.43~22.04.1  amd64
ii  linux-modules-5.19.0-43-generic        5.19.0-43.44~22.04.1  amd64
ii  linux-modules-extra-5.19.0-43-generic  5.19.0-43.44~22.04.1  amd64
ii  linux-image-5.19.0-45-generic          5.19.0-45.46~22.04.1  amd64
ii  linux-modules-5.19.0-45-generic        5.19.0-45.46~22.04.1  amd64
ii  linux-modules-extra-5.19.0-45-generic  5.19.0-45.46~22.04.1  amd64
ii  linux-image-5.19.0-46-generic          5.19.0-46.47~22.04.1  amd64
ii  linux-modules-5.19.0-46-generic        5.19.0-46.47~22.04.1  amd64
ii  linux-modules-extra-5.19.0-46-generic  5.19.0-46.47~22.04.1  amd64
ii  linux-image-5.19.0-50-generic          5.19.0-50.50          amd64
ii  linux-modules-5.19.0-50-generic        5.19.0-50.50          amd64
ii  linux-modules-extra-5.19.0-50-generic  5.19.0-50.50          amd64
ii  linux-image-6.2.0-26-generic           6.2.0-26.26~22.04.1   amd64
ii  linux-modules-6.2.0-26-generic         6.2.0-26.26~22.04.1   amd64
ii  linux-modules-extra-6.2.0-26-generic   6.2.0-26.26~22.04.1   amd64
ii  linux-image-6.2.0-31-generic           6.2.0-31.31~22.04.1   amd64
ii  linux-modules-6.2.0-31-generic         6.2.0-31.31~22.04.1   amd64
ii  linux-modules-extra-6.2.0-31-generic   6.2.0-31.31~22.04.1   amd64
ii  linux-image-6.2.0-32-generic           6.2.0-32.32~22.04.1   amd64
ii  linux-modules-6.2.0-32-generic         6.2.0-32.32~22.04.1   amd64
ii  linux-modules-extra-6.2.0-32-generic   6.2.0-32.32~22.04.1   amd64
ii  linux-image-6.2.0-33-generic           6.2.0-33.33~22.04.1   amd64
ii  linux-modules-6.2.0-33-generic         6.2.0-33.33~22.04.1   amd64
ii  linux-modules-extra-6.2.0-33-generic   6.2.0-33.33~22.04.1   amd64
ii  linux-image-6.2.0-34-generic           6.2.0-34.34~22.04.1   amd64
ii  linux-modules-6.2.0-34-generic         6.2.0-34.34~22.04.1   amd64
ii  linux-modules-extra-6.2.0-34-generic   6.2.0-34.34~22.04.1   amd64
ii  linux-image-generic-hwe-22.04          6.2.0.34.34~22.04.11  amd64

Noyau courant : 6.2.0-34-generic x86_64
papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$ 
papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$ dpkg -l | grep -v ^ii
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom                                        Version                                          Architecture Description
+++-==========================================-================================================-============-================================================================================
rc  grub-pc                                    2.06-2ubuntu7.1+elementary1~ubuntu7.1            amd64        GRand Unified Bootloader, version 2 (PC/BIOS version)
rc  linux-image-5.15.0-58-generic              5.15.0-58.64                                     amd64        Signed kernel image generic
rH  linux-image-5.15.0-60-generic              5.15.0-60.66                                     amd64        Signed kernel image generic
rc  linux-image-5.19.0-32-generic              5.19.0-32.33~22.04.1                             amd64        Signed kernel image generic
rc  linux-image-5.19.0-35-generic              5.19.0-35.36~22.04.1                             amd64        Signed kernel image generic
rc  linux-image-5.19.0-38-generic              5.19.0-38.39~22.04.1                             amd64        Signed kernel image generic
rc  linux-image-5.19.0-40-generic              5.19.0-40.41~22.04.1                             amd64        Signed kernel image generic
rc  linux-image-5.19.0-41-generic              5.19.0-41.42~22.04.1                             amd64        Signed kernel image generic
rc  linux-image-5.19.0-42-generic              5.19.0-42.43~22.04.1                             amd64        Signed kernel image generic
rc  linux-image-5.19.0-43-generic              5.19.0-43.44~22.04.1                             amd64        Signed kernel image generic
rc  linux-modules-5.15.0-58-generic            5.15.0-58.64                                     amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc  linux-modules-5.15.0-60-generic            5.15.0-60.66                                     amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.15.0-58-generic      5.15.0-58.64                                     amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.15.0-60-generic      5.15.0-60.66                                     amd64        Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$ 
 

Sous Linux (Ubuntu et maintenant EOS) depuis au moins 2006 et d'autant plus ravi d'y être quand je reboot par nécessité sur Win... et que je vois la disponibilité et la réactivité compétente des membres des forums !

Hors ligne

#5 Le 07/10/2023, à 13:43

xubu1957

Re : Nettoyage du grub impossible ! [RESOLU]

Pour nettoyer :

Le 11/02/2017, moko138 a écrit :

Pour supprimer tous ces fichiers de configuration devenus sans objets et marqués "rc", et uniquement ces fichiers, exécute :

dpkg -l | awk '/^rc/{print $2}' | xargs -r sudo dpkg -P

Ne pas valider la partie grub-pc en raison d'un risque de suppression du grub.

Pour info, les précisions de nany, pour la commande de nettoyage et une possibilité d'automatisation.


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#6 Le 07/10/2023, à 14:24

Didiéridou

Re : Nettoyage du grub impossible ! [RESOLU]

Donc si je comprend bien je fais:

 dpkg -l | awk '/^rc/{print $2}' | xargs -r sudo dpkg -P

MAIS JE NE VALIDE PAS QUAND IL ME DEMANDE LA SUPPRESSION DU GRUB ?


Sous Linux (Ubuntu et maintenant EOS) depuis au moins 2006 et d'autant plus ravi d'y être quand je reboot par nécessité sur Win... et que je vois la disponibilité et la réactivité compétente des membres des forums !

Hors ligne

#7 Le 07/10/2023, à 14:32

xubu1957

Re : Nettoyage du grub impossible ! [RESOLU]

Il ne faut jamais scier la branche sur laquelle on est assis.


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#8 Le 07/10/2023, à 16:53

Didiéridou

Re : Nettoyage du grub impossible ! [RESOLU]

xubu1957 a écrit :

Il ne faut jamais scier la branche sur laquelle on est assis.

D'accord mais j'ai lancé la commande SANS VALIDER LA SUPPRESSION du GRUB2 et j'ai toujours:

 papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$ sudo update-grub
[sudo] Mot de passe de papydidoueos7 :     
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.2.0-34-generic
Found initrd image: /boot/initrd.img-6.2.0-34-generic
Found linux image: /boot/vmlinuz-6.2.0-33-generic
Found initrd image: /boot/initrd.img-6.2.0-33-generic
Found linux image: /boot/vmlinuz-6.2.0-32-generic
Found initrd image: /boot/initrd.img-6.2.0-32-generic
Found linux image: /boot/vmlinuz-6.2.0-31-generic
Found initrd image: /boot/initrd.img-6.2.0-31-generic
Found linux image: /boot/vmlinuz-6.2.0-26-generic
Found initrd image: /boot/initrd.img-6.2.0-26-generic
Found linux image: /boot/vmlinuz-5.19.0-50-generic
Found initrd image: /boot/initrd.img-5.19.0-50-generic
Found linux image: /boot/vmlinuz-5.19.0-46-generic
Found initrd image: /boot/initrd.img-5.19.0-46-generic
Found linux image: /boot/vmlinuz-5.19.0-45-generic
Found initrd image: /boot/initrd.img-5.19.0-45-generic
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.
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Found Ubuntu 22.04.3 LTS (22.04) on /dev/sdb3
Adding boot menu entry for UEFI Firmware Settings ...
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.
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Found Ubuntu 22.04.3 LTS (22.04) on /dev/sdb3
done
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.2.0-34-generic
Found initrd image: /boot/initrd.img-6.2.0-34-generic
Found linux image: /boot/vmlinuz-6.2.0-33-generic
Found initrd image: /boot/initrd.img-6.2.0-33-generic
Found linux image: /boot/vmlinuz-6.2.0-32-generic
Found initrd image: /boot/initrd.img-6.2.0-32-generic
Found linux image: /boot/vmlinuz-6.2.0-31-generic
Found initrd image: /boot/initrd.img-6.2.0-31-generic
Found linux image: /boot/vmlinuz-6.2.0-26-generic
Found initrd image: /boot/initrd.img-6.2.0-26-generic
Found linux image: /boot/vmlinuz-5.19.0-50-generic
Found initrd image: /boot/initrd.img-5.19.0-50-generic
Found linux image: /boot/vmlinuz-5.19.0-46-generic
Found initrd image: /boot/initrd.img-5.19.0-46-generic
Found linux image: /boot/vmlinuz-5.19.0-45-generic
Found initrd image: /boot/initrd.img-5.19.0-45-generic
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.
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Found Ubuntu 22.04.3 LTS (22.04) on /dev/sdb3
Adding boot menu entry for UEFI Firmware Settings ...
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.
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Found Ubuntu 22.04.3 LTS (22.04) on /dev/sdb3
done
papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$ 

rien n'a changé ...
Et là je viens de refaire

 papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$ dpkg -l | awk '/^rc/{print $2}' | xargs -r sudo dpkg -P
papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$

et rien ne se passe ???


Sous Linux (Ubuntu et maintenant EOS) depuis au moins 2006 et d'autant plus ravi d'y être quand je reboot par nécessité sur Win... et que je vois la disponibilité et la réactivité compétente des membres des forums !

Hors ligne

#9 Le 07/10/2023, à 16:55

xubu1957

Re : Nettoyage du grub impossible ! [RESOLU]

Montre :

dpkg -l | grep -v ^ii

et :

sudo du -ah --max-depth=2 /boot | sort -h | tail -23

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#10 Le 07/10/2023, à 16:59

Didiéridou

Re : Nettoyage du grub impossible ! [RESOLU]

Merci xubu1957 pour le temps que tu veux bien m'accorder:rolleyes:
Donc:

 papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$ dpkg -l | grep -v ^ii
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom                                        Version                                          Architecture Description
+++-==========================================-================================================-============-================================================================================
rH  linux-image-5.15.0-60-generic              5.15.0-60.66                                     amd64        Signed kernel image generic
 papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$ sudo du -ah --max-depth=2 /boot | sort -h | tail -23
7,7M	/boot/System.map-6.2.0-32-generic
7,7M	/boot/System.map-6.2.0-33-generic
7,7M	/boot/System.map-6.2.0-34-generic
12M	/boot/vmlinuz-5.19.0-45-generic
12M	/boot/vmlinuz-5.19.0-46-generic
12M	/boot/vmlinuz-5.19.0-50-generic
13M	/boot/grub
14M	/boot/vmlinuz-6.2.0-26-generic
14M	/boot/vmlinuz-6.2.0-31-generic
14M	/boot/vmlinuz-6.2.0-32-generic
14M	/boot/vmlinuz-6.2.0-33-generic
14M	/boot/vmlinuz-6.2.0-34-generic
18M	/boot/efi
18M	/boot/efi/EFI
120M	/boot/initrd.img-6.2.0-31-generic
120M	/boot/initrd.img-6.2.0-32-generic
120M	/boot/initrd.img-6.2.0-33-generic
120M	/boot/initrd.img-6.2.0-34-generic
121M	/boot/initrd.img-5.19.0-45-generic
121M	/boot/initrd.img-5.19.0-46-generic
121M	/boot/initrd.img-5.19.0-50-generic
128M	/boot/initrd.img-6.2.0-26-generic
1,2G	/boot
papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$ 

Sous Linux (Ubuntu et maintenant EOS) depuis au moins 2006 et d'autant plus ravi d'y être quand je reboot par nécessité sur Win... et que je vois la disponibilité et la réactivité compétente des membres des forums !

Hors ligne

#11 Le 07/10/2023, à 17:02

xubu1957

Re : Nettoyage du grub impossible ! [RESOLU]

Il faut attendre l'intervention des experts du forum.


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#12 Le 07/10/2023, à 17:04

Didiéridou

Re : Nettoyage du grub impossible ! [RESOLU]

xubu1957 a écrit :

Il faut attendre l'intervention des experts du forum.

OK ça marche et merci encore pour ton aide.
Je vais donc patienter.


Sous Linux (Ubuntu et maintenant EOS) depuis au moins 2006 et d'autant plus ravi d'y être quand je reboot par nécessité sur Win... et que je vois la disponibilité et la réactivité compétente des membres des forums !

Hors ligne

#13 Le 07/10/2023, à 17:07

xubu1957

Re : Nettoyage du grub impossible ! [RESOLU]

Tente cette procédure de la Doc > kernel#via_autoremove

extrait § 5.1 a écrit :

En pratique, si un ou plusieurs vieux noyaux résistent à la purge, il suffit de passer cette commande dans le terminal :

apt-mark showmanual | awk '/linux-.*[0-9]/ && ! /hwe-[0-9][02468].04/{print}' | xargs -r sudo apt-mark auto

Puis de repasser la commande de nettoyage automatique :

sudo apt autoremove --purge -y

Après cela, il ne restera que le dernier noyau et l'avant-dernier


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#14 Le 07/10/2023, à 17:23

Didiéridou

Re : Nettoyage du grub impossible ! [RESOLU]

Terminé !
mais j'ai quelques "avertissement":

Purge des fichiers de configuration de linux-modules-5.19.0-41-generic (5.19.0-41.42~22.04.1) ...
dpkg: avertissement: lors de la suppression de linux-modules-5.19.0-41-generic, le répertoire « /lib/modules/5.19.0-41-generic » n'étai
t pas vide, donc il n'a pas été supprimé
Purge des fichiers de configuration de linux-modules-5.19.0-32-generic (5.19.0-32.33~22.04.1) ...
dpkg: avertissement: lors de la suppression de linux-modules-5.19.0-32-generic, le répertoire « /lib/modules/5.19.0-32-generic » n'étai
t pas vide, donc il n'a pas été supprimé
Purge des fichiers de configuration de linux-modules-6.2.0-31-generic (6.2.0-31.31~22.04.1) ...
dpkg: avertissement: lors de la suppression de linux-modules-6.2.0-31-generic, le répertoire « /lib/modules/6.2.0-31-generic » n'était 
pas vide, donc il n'a pas été supprimé
Purge des fichiers de configuration de linux-modules-extra-5.19.0-40-generic (5.19.0-40.41~22.04.1) ...
Purge des fichiers de configuration de linux-image-6.2.0-32-generic (6.2.0-32.32~22.04.1) ...
Purge des fichiers de configuration de linux-modules-extra-5.19.0-32-generic (5.19.0-32.33~22.04.1) ...
Purge des fichiers de configuration de linux-image-5.19.0-50-generic (5.19.0-50.50) ...
Purge des fichiers de configuration de linux-image-6.2.0-31-generic (6.2.0-31.31~22.04.1) ...
Purge des fichiers de configuration de linux-modules-5.19.0-42-generic (5.19.0-42.43~22.04.1) ...
dpkg: avertissement: lors de la suppression de linux-modules-5.19.0-42-generic, le répertoire « /lib/modules/5.19.0-42-generic » n'étai
t pas vide, donc il n'a pas été supprimé
Purge des fichiers de configuration de linux-modules-extra-5.19.0-45-generic (5.19.0-45.46~22.04.1) ...
Purge des fichiers de configuration de linux-modules-6.2.0-32-generic (6.2.0-32.32~22.04.1) ...
Purge des fichiers de configuration de linux-image-6.2.0-26-generic (6.2.0-26.26~22.04.1) ...
Purge des fichiers de configuration de linux-modules-extra-6.2.0-32-generic (6.2.0-32.32~22.04.1) ...
Purge des fichiers de configuration de linux-modules-extra-5.19.0-41-generic (5.19.0-41.42~22.04.1) ...
Purge des fichiers de configuration de linux-modules-5.19.0-40-generic (5.19.0-40.41~22.04.1) ...
dpkg: avertissement: lors de la suppression de linux-modules-5.19.0-40-generic, le répertoire « /lib/modules/5.19.0-40-generic » n'étai
t pas vide, donc il n'a pas été supprimé
Purge des fichiers de configuration de linux-modules-5.19.0-38-generic (5.19.0-38.39~22.04.1) ...
dpkg: avertissement: lors de la suppression de linux-modules-5.19.0-38-generic, le répertoire « /lib/modules/5.19.0-38-generic » n'étai
t pas vide, donc il n'a pas été supprimé
Purge des fichiers de configuration de linux-modules-5.19.0-46-generic (5.19.0-46.47~22.04.1) ...
dpkg: avertissement: lors de la suppression de linux-modules-5.19.0-46-generic, le répertoire « /lib/modules/5.19.0-46-generic » n'étai
t pas vide, donc il n'a pas été supprimé
Purge des fichiers de configuration de linux-modules-extra-5.19.0-43-generic (5.19.0-43.44~22.04.1) ...
Purge des fichiers de configuration de linux-modules-extra-5.19.0-50-generic (5.19.0-50.50) ...
Purge des fichiers de configuration de linux-modules-5.19.0-43-generic (5.19.0-43.44~22.04.1) ...
dpkg: avertissement: lors de la suppression de linux-modules-5.19.0-43-generic, le répertoire « /lib/modules/5.19.0-43-generic » n'étai
t pas vide, donc il n'a pas été supprimé
Purge des fichiers de configuration de linux-modules-6.2.0-26-generic (6.2.0-26.26~22.04.1) ...
Purge des fichiers de configuration de linux-modules-5.19.0-50-generic (5.19.0-50.50) ...
Purge des fichiers de configuration de linux-image-5.19.0-46-generic (5.19.0-46.47~22.04.1) ...
Purge des fichiers de configuration de linux-modules-5.19.0-35-generic (5.19.0-35.36~22.04.1) ...
dpkg: avertissement: lors de la suppression de linux-modules-5.19.0-35-generic, le répertoire « /lib/modules/5.19.0-35-generic » n'étai
t pas vide, donc il n'a pas été supprimé
Purge des fichiers de configuration de linux-modules-extra-5.19.0-35-generic (5.19.0-35.36~22.04.1) ...
Purge des fichiers de configuration de linux-modules-extra-6.2.0-31-generic (6.2.0-31.31~22.04.1) ...
Purge des fichiers de configuration de linux-image-5.19.0-45-generic (5.19.0-45.46~22.04.1) ...
Purge des fichiers de configuration de linux-modules-extra-5.19.0-38-generic (5.19.0-38.39~22.04.1) ...
Purge des fichiers de configuration de linux-modules-5.19.0-45-generic (5.19.0-45.46~22.04.1) ...
papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$ 

Est-ce grave docteur ?
Sinon le ménage semble bien avoir été efficace:

 papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$ sudo update-grub
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.2.0-34-generic
Found initrd image: /boot/initrd.img-6.2.0-34-generic
Found linux image: /boot/vmlinuz-6.2.0-33-generic
Found initrd image: /boot/initrd.img-6.2.0-33-generic
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.
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Found Ubuntu 22.04.3 LTS (22.04) on /dev/sdb3
Adding boot menu entry for UEFI Firmware Settings ...
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.
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Found Ubuntu 22.04.3 LTS (22.04) on /dev/sdb3
done
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.2.0-34-generic
Found initrd image: /boot/initrd.img-6.2.0-34-generic
Found linux image: /boot/vmlinuz-6.2.0-33-generic
Found initrd image: /boot/initrd.img-6.2.0-33-generic
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.
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Found Ubuntu 22.04.3 LTS (22.04) on /dev/sdb3
Adding boot menu entry for UEFI Firmware Settings ...
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.
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Found Ubuntu 22.04.3 LTS (22.04) on /dev/sdb3
done
papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$ 

Une question toutefois: comment se fait-il que j'ai deux fois les lignes:

 Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.2.0-34-generic
Found initrd image: /boot/initrd.img-6.2.0-34-generic
Found linux image: /boot/vmlinuz-6.2.0-33-generic
Found initrd image: /boot/initrd.img-6.2.0-33-generic
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.
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Found Ubuntu 22.04.3 LTS (22.04) on /dev/sdb3
Adding boot menu entry for UEFI Firmware Settings ...
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.
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Found Ubuntu 22.04.3 LTS (22.04) on /dev/sdb3
done

Sous Linux (Ubuntu et maintenant EOS) depuis au moins 2006 et d'autant plus ravi d'y être quand je reboot par nécessité sur Win... et que je vois la disponibilité et la réactivité compétente des membres des forums !

Hors ligne

#15 Le 07/10/2023, à 17:25

xubu1957

Re : Nettoyage du grub impossible ! [RESOLU]

Redonne les noyaux restants :

echo; dpkg -l | awk '!/^rc/ && / linux-(c|g|h|i|lo|m|si|t)/{print $1,$2,$3,$4 | "sort -k3V | column -t"}' ; echo -e "\nNoyau courant : $(uname -mr)"

et :

sudo du -ah --max-depth=2 /boot | sort -h | tail -23

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#16 Le 07/10/2023, à 17:27

Didiéridou

Re : Nettoyage du grub impossible ! [RESOLU]

 papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$ echo; dpkg -l | awk '!/^rc/ && / linux-(c|g|h|i|lo|m|si|t)/{print $1,$2,$3,$4 | "sort -k3V | column -t"}' ; echo -e "\nNoyau courant : $(uname -mr)"

ii  linux-image-6.2.0-33-generic          6.2.0-33.33~22.04.1   amd64
ii  linux-modules-6.2.0-33-generic        6.2.0-33.33~22.04.1   amd64
ii  linux-modules-extra-6.2.0-33-generic  6.2.0-33.33~22.04.1   amd64
ii  linux-image-6.2.0-34-generic          6.2.0-34.34~22.04.1   amd64
ii  linux-modules-6.2.0-34-generic        6.2.0-34.34~22.04.1   amd64
ii  linux-modules-extra-6.2.0-34-generic  6.2.0-34.34~22.04.1   amd64
ii  linux-image-generic-hwe-22.04         6.2.0.34.34~22.04.11  amd64

Noyau courant : 6.2.0-34-generic x86_64
papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:

Sous Linux (Ubuntu et maintenant EOS) depuis au moins 2006 et d'autant plus ravi d'y être quand je reboot par nécessité sur Win... et que je vois la disponibilité et la réactivité compétente des membres des forums !

Hors ligne

#17 Le 07/10/2023, à 17:27

Didiéridou

Re : Nettoyage du grub impossible ! [RESOLU]

 papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$ sudo du -ah --max-depth=2 /boot | sort -h | tail -23
0	/boot/initrd.img
0	/boot/initrd.img.old
0	/boot/vmlinuz
0	/boot/vmlinuz.old
4,0K	/boot/grub/grubenv
4,0K	/boot/grub/themes
16K	/boot/grub/grub.cfg
272K	/boot/config-6.2.0-33-generic
272K	/boot/config-6.2.0-34-generic
2,3M	/boot/grub/fonts
2,3M	/boot/grub/unicode.pf2
3,5M	/boot/grub/x86_64-efi
4,7M	/boot/grub/locale
7,7M	/boot/System.map-6.2.0-33-generic
7,7M	/boot/System.map-6.2.0-34-generic
13M	/boot/grub
14M	/boot/vmlinuz-6.2.0-33-generic
14M	/boot/vmlinuz-6.2.0-34-generic
18M	/boot/efi
18M	/boot/efi/EFI
120M	/boot/initrd.img-6.2.0-33-generic
120M	/boot/initrd.img-6.2.0-34-generic
312M	/boot
papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$ 

Sous Linux (Ubuntu et maintenant EOS) depuis au moins 2006 et d'autant plus ravi d'y être quand je reboot par nécessité sur Win... et que je vois la disponibilité et la réactivité compétente des membres des forums !

Hors ligne

#18 Le 07/10/2023, à 17:31

xubu1957

Re : Nettoyage du grub impossible ! [RESOLU]

Il ne reste que deux noyaux.


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#19 Le 07/10/2023, à 20:11

Didiéridou

Re : Nettoyage du grub impossible ! [RESOLU]

Et pour ces deux questions ?

Didiéridou a écrit :

Terminé !
mais j'ai quelques "avertissement":

Purge des fichiers de configuration de linux-modules-5.19.0-41-generic (5.19.0-41.42~22.04.1) ...
dpkg: avertissement: lors de la suppression de linux-modules-5.19.0-41-generic, le répertoire « /lib/modules/5.19.0-41-generic » n'étai
t pas vide, donc il n'a pas été supprimé
Purge des fichiers de configuration de linux-modules-5.19.0-32-generic (5.19.0-32.33~22.04.1) ...
dpkg: avertissement: lors de la suppression de linux-modules-5.19.0-32-generic, le répertoire « /lib/modules/5.19.0-32-generic » n'étai
t pas vide, donc il n'a pas été supprimé
Purge des fichiers de configuration de linux-modules-6.2.0-31-generic (6.2.0-31.31~22.04.1) ...
dpkg: avertissement: lors de la suppression de linux-modules-6.2.0-31-generic, le répertoire « /lib/modules/6.2.0-31-generic » n'était 
pas vide, donc il n'a pas été supprimé
Purge des fichiers de configuration de linux-modules-extra-5.19.0-40-generic (5.19.0-40.41~22.04.1) ...
Purge des fichiers de configuration de linux-image-6.2.0-32-generic (6.2.0-32.32~22.04.1) ...
Purge des fichiers de configuration de linux-modules-extra-5.19.0-32-generic (5.19.0-32.33~22.04.1) ...
Purge des fichiers de configuration de linux-image-5.19.0-50-generic (5.19.0-50.50) ...
Purge des fichiers de configuration de linux-image-6.2.0-31-generic (6.2.0-31.31~22.04.1) ...
Purge des fichiers de configuration de linux-modules-5.19.0-42-generic (5.19.0-42.43~22.04.1) ...
dpkg: avertissement: lors de la suppression de linux-modules-5.19.0-42-generic, le répertoire « /lib/modules/5.19.0-42-generic » n'étai
t pas vide, donc il n'a pas été supprimé
Purge des fichiers de configuration de linux-modules-extra-5.19.0-45-generic (5.19.0-45.46~22.04.1) ...
Purge des fichiers de configuration de linux-modules-6.2.0-32-generic (6.2.0-32.32~22.04.1) ...
Purge des fichiers de configuration de linux-image-6.2.0-26-generic (6.2.0-26.26~22.04.1) ...
Purge des fichiers de configuration de linux-modules-extra-6.2.0-32-generic (6.2.0-32.32~22.04.1) ...
Purge des fichiers de configuration de linux-modules-extra-5.19.0-41-generic (5.19.0-41.42~22.04.1) ...
Purge des fichiers de configuration de linux-modules-5.19.0-40-generic (5.19.0-40.41~22.04.1) ...
dpkg: avertissement: lors de la suppression de linux-modules-5.19.0-40-generic, le répertoire « /lib/modules/5.19.0-40-generic » n'étai
t pas vide, donc il n'a pas été supprimé
Purge des fichiers de configuration de linux-modules-5.19.0-38-generic (5.19.0-38.39~22.04.1) ...
dpkg: avertissement: lors de la suppression de linux-modules-5.19.0-38-generic, le répertoire « /lib/modules/5.19.0-38-generic » n'étai
t pas vide, donc il n'a pas été supprimé
Purge des fichiers de configuration de linux-modules-5.19.0-46-generic (5.19.0-46.47~22.04.1) ...
dpkg: avertissement: lors de la suppression de linux-modules-5.19.0-46-generic, le répertoire « /lib/modules/5.19.0-46-generic » n'étai
t pas vide, donc il n'a pas été supprimé
Purge des fichiers de configuration de linux-modules-extra-5.19.0-43-generic (5.19.0-43.44~22.04.1) ...
Purge des fichiers de configuration de linux-modules-extra-5.19.0-50-generic (5.19.0-50.50) ...
Purge des fichiers de configuration de linux-modules-5.19.0-43-generic (5.19.0-43.44~22.04.1) ...
dpkg: avertissement: lors de la suppression de linux-modules-5.19.0-43-generic, le répertoire « /lib/modules/5.19.0-43-generic » n'étai
t pas vide, donc il n'a pas été supprimé
Purge des fichiers de configuration de linux-modules-6.2.0-26-generic (6.2.0-26.26~22.04.1) ...
Purge des fichiers de configuration de linux-modules-5.19.0-50-generic (5.19.0-50.50) ...
Purge des fichiers de configuration de linux-image-5.19.0-46-generic (5.19.0-46.47~22.04.1) ...
Purge des fichiers de configuration de linux-modules-5.19.0-35-generic (5.19.0-35.36~22.04.1) ...
dpkg: avertissement: lors de la suppression de linux-modules-5.19.0-35-generic, le répertoire « /lib/modules/5.19.0-35-generic » n'étai
t pas vide, donc il n'a pas été supprimé
Purge des fichiers de configuration de linux-modules-extra-5.19.0-35-generic (5.19.0-35.36~22.04.1) ...
Purge des fichiers de configuration de linux-modules-extra-6.2.0-31-generic (6.2.0-31.31~22.04.1) ...
Purge des fichiers de configuration de linux-image-5.19.0-45-generic (5.19.0-45.46~22.04.1) ...
Purge des fichiers de configuration de linux-modules-extra-5.19.0-38-generic (5.19.0-38.39~22.04.1) ...
Purge des fichiers de configuration de linux-modules-5.19.0-45-generic (5.19.0-45.46~22.04.1) ...
papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$ 

Est-ce grave docteur ?...

Une question toutefois: comment se fait-il que j'ai deux fois les lignes:

 Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.2.0-34-generic
Found initrd image: /boot/initrd.img-6.2.0-34-generic
Found linux image: /boot/vmlinuz-6.2.0-33-generic
Found initrd image: /boot/initrd.img-6.2.0-33-generic
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.
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Found Ubuntu 22.04.3 LTS (22.04) on /dev/sdb3
Adding boot menu entry for UEFI Firmware Settings ...
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.
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Found Ubuntu 22.04.3 LTS (22.04) on /dev/sdb3
done

Sous Linux (Ubuntu et maintenant EOS) depuis au moins 2006 et d'autant plus ravi d'y être quand je reboot par nécessité sur Win... et que je vois la disponibilité et la réactivité compétente des membres des forums !

Hors ligne

#20 Le 07/10/2023, à 20:14

xubu1957

Re : Nettoyage du grub impossible ! [RESOLU]

Montre :

dpkg -l | grep -v ^ii

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#21 Le 07/10/2023, à 20:19

Didiéridou

Re : Nettoyage du grub impossible ! [RESOLU]

 papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$ dpkg -l | grep -v ^ii
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom                                        Version                                          Architecture Description
+++-==========================================-================================================-============-================================================================================
rc  linux-image-5.15.0-60-generic              5.15.0-60.66                                     amd64        Signed kernel image generic
papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$ 

Sous Linux (Ubuntu et maintenant EOS) depuis au moins 2006 et d'autant plus ravi d'y être quand je reboot par nécessité sur Win... et que je vois la disponibilité et la réactivité compétente des membres des forums !

Hors ligne

#22 Le 07/10/2023, à 20:29

xubu1957

Re : Nettoyage du grub impossible ! [RESOLU]

Essaye :

sudo apt purge ~c

Pour les lignes en double, je ne sais pas les expliquer.


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#23 Le 08/10/2023, à 09:40

nany

Re : Nettoyage du grub impossible ! [RESOLU]

Bonjour,



Didiéridou a écrit :

Et pour ces deux questions ?

Didiéridou a écrit :


mais j'ai quelques "avertissement":

Est-ce grave docteur ?...

Il y a quelques fichiers qui n’ont pas pu être supprimés automatiquement.
Ce n’est pas grave mais on peut les supprimer manuellement.
Donne le retour de :

ls -l /lib/modules
Didiéridou a écrit :
Didiéridou a écrit :

Une question toutefois: comment se fait-il que j'ai deux fois les lignes:

C’est en effet bizarre qu’os-prober semble être exécuté deux fois.
Donne le retour de :

ls -l /etc/grub.d

Hors ligne

#24 Le 08/10/2023, à 10:58

Didiéridou

Re : Nettoyage du grub impossible ! [RESOLU]

Bonjour Nany.

 papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$ ls -l /lib/modules
total 36
drwxr-xr-x 2 root root 4096 oct.   7 17:14 5.19.0-32-generic
drwxr-xr-x 2 root root 4096 oct.   7 17:14 5.19.0-35-generic
drwxr-xr-x 2 root root 4096 oct.   7 17:14 5.19.0-38-generic
drwxr-xr-x 2 root root 4096 oct.   7 17:14 5.19.0-40-generic
drwxr-xr-x 2 root root 4096 oct.   7 17:15 5.19.0-41-generic
drwxr-xr-x 2 root root 4096 oct.   7 17:15 5.19.0-42-generic
drwxr-xr-x 2 root root 4096 oct.   7 17:15 5.19.0-43-generic
drwxr-xr-x 5 root root 4096 sept. 25 09:12 6.2.0-33-generic
drwxr-xr-x 5 root root 4096 oct.   4 11:56 6.2.0-34-generic
papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$ 

Sous Linux (Ubuntu et maintenant EOS) depuis au moins 2006 et d'autant plus ravi d'y être quand je reboot par nécessité sur Win... et que je vois la disponibilité et la réactivité compétente des membres des forums !

Hors ligne

#25 Le 08/10/2023, à 10:58

Didiéridou

Re : Nettoyage du grub impossible ! [RESOLU]

puis:

papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$ ls -l /etc/grub.d
total 128
-rwxr-xr-x 1 root root 10627 janv. 12  2023 00_header
-rwxr-xr-x 1 root root  6278 janv. 12  2023 05_debian_theme
-rwxr-xr-x 1 root root  5826 oct.   7 09:42 10_linux_proxy
-rwxr-xr-x 1 root root 43021 janv. 12  2023 11_linux_zfs
-rwxr-xr-x 1 root root 14387 août   5 15:28 20_linux_xen
-rwxr-xr-x 1 root root  1523 oct.   7 09:42 31_os-prober_proxy
-rwxr-xr-x 1 root root  1372 janv. 12  2023 32_uefi-firmware
-rwxr-xr-x 1 root root  1523 oct.   7 09:42 33_os-prober_proxy
-rwxr-xr-x 1 root root   700 sept. 20  2022 35_fwupd
-rwxr-xr-x 1 root root   214 janv. 12  2023 40_custom
-rwxr-xr-x 1 root root   215 janv. 12  2023 41_custom
drwxr-xr-x 4 root root  4096 févr. 21  2023 backup
drwxr-xr-x 2 root root  4096 févr. 24  2023 bin
drwxr-xr-x 2 root root  4096 oct.   7 09:42 proxifiedScripts
-rw-r--r-- 1 root root   483 janv. 12  2023 README
papydidoueos7@HP-ProDesk-600-G2-SFF-820ce50b:~$ 
 

Sous Linux (Ubuntu et maintenant EOS) depuis au moins 2006 et d'autant plus ravi d'y être quand je reboot par nécessité sur Win... et que je vois la disponibilité et la réactivité compétente des membres des forums !

Hors ligne