#1 Le 25/07/2021, à 17:07
- framboise38
Ubuntu 18.04 Ajouter plus de noyaux dans grub
Bonjour,
J’ai installé les dernières mises à jour, mais après mises à jour des noyaux, le PC ne redémarre plus.
Grub me propose les deux derniers noyaux, et aucun des deux n’est fonctionnel, il y a t il un moyen pour que Grub m’affiche d’autres noyaux? Peut-être que j’arriverai à démarrer à partir du noyau N-4.
Pour l’instant il me propose les noyaux 5.4.0-80 et 5.4.77, mais j’ai d’autres noyaux installés.
Merci de votre aide
Framboise
Hors ligne
#2 Le 25/07/2021, à 17:12
- geole
Re : Ubuntu 18.04 Ajouter plus de noyaux dans grub
Bonjour
Peux-tu booter avec un support d'installation faire un boot-info et donner l'URL qui sera générée
https://doc.ubuntu-fr.org/boot-info
Cela permettra de voir si plus de deux noyaux prévus
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#3 Le 25/07/2021, à 17:22
- xubu1957
Re : Ubuntu 18.04 Ajouter plus de noyaux dans grub
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)"
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
Hors ligne
#4 Le 25/07/2021, à 17:38
- framboise38
Re : Ubuntu 18.04 Ajouter plus de noyaux dans grub
Pour geole, oui, je le ferai quand je serai devant mon pc.
Quand à la proposition de xubu1957, ca risque d'être plus compliqué puisque je n'ai pas d'interface graphique et qu'il y a pléthore de noyaux installés.
Je ne me vois pas recopier le resultat de ta commande sur mon ipad.
Merci de votre aide
Framboise
Hors ligne
#5 Le 25/07/2021, à 17:59
- xubu1957
Re : Ubuntu 18.04 Ajouter plus de noyaux dans grub
Une photo ?
Voir > [Tuto] Poster une image
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
Hors ligne
#6 Le 25/07/2021, à 20:06
- framboise38
Re : Ubuntu 18.04 Ajouter plus de noyaux dans grub
Bonsoir,
Voilà la réponse pour le bootinfo
http://paste.ubuntu.com/p/KvY5y8zfWr/
Merci de votre aide
Framboise
Hors ligne
#7 Le 25/07/2021, à 20:39
- malbo
Re : Ubuntu 18.04 Ajouter plus de noyaux dans grub
Je colle ci-dessous le contenu du Boot-info :
boot-info-4ppa130 [20210725_1804]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> No boot loader is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/Boot/bootx64.efi /efi/Boot/fbx64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
/efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg
/efi/Microsoft/Boot/bootmgfw.efi
/efi/Microsoft/Boot/bootx64.efi
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 18.04.5 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb4: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb6: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb7: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb8: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
================================ 1 OS detected =================================
OS#1: Ubuntu 18.04.5 LTS on sda2
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 18.04.2 LTS, bionic, x86_64)
===================================== UEFI =====================================
This live-session is not in EFI-mode.
EFI in dmesg.
[ 0.000000] ACPI: UEFI 0x00000000BE791A78 000042 (v01 INTEL EDK2 00000002 01000013)
This session has been detected as 'live' because /proc/cmdline contains (boot=casper)
This session has been detected as 'live' because df -Th / contains overlay
78415fb8fb9b909f8029858113f1335f sda1/Boot/bootx64.efi
2895d47544fd587b26c7e29be1295c27 sda1/Boot/fbx64.efi
621356d82b109cd860ad92cdf241c58b sda1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84 sda1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f sda1/ubuntu/shimx64.efi
ded965934506efb38a6dcb9ac5b2b79e sda1/Microsoft/Boot/bootmgfw.efi
ded965934506efb38a6dcb9ac5b2b79e sda1/Microsoft/Boot/bootx64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
sdb : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda2 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ng, update-grub, not-far
sda3 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda5 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb2 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb3 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb4 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb5 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdb6 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdb7 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb8 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
Partitions info (2/3): _________________________________________________________
sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda2 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda3 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda5 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb2 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb3 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb4 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb5 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb6 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb7 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb8 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda2 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sda3 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda5 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sdb2 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
sdb3 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
sdb4 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
sdb5 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
sdb6 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
sdb7 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
sdb8 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
fdisk -l (filtered): ___________________________________________________________
Disk sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 4EB3014F-7914-4817-A4DD-E84DBCEF6FE2
Start End Sectors Size Type
sda1 2048 1050623 1048576 512M EFI System
sda2 1050624 48152575 47101952 22.5G Linux filesystem
sda3 943368192 976771071 33402880 16G Linux filesystem
sda5 48154624 943368191 895213568 426.9G Linux filesystem
Partition table entries are not in disk order.
Disk sdb: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
Disk identifier: ECD1012D-60AE-44BB-9BF0-BDD89956D5DE
Start End Sectors Size Type
sdb1 26626048 92162047 65536000 31.3G Linux swap
sdb2 92162048 911362047 819200000 390.6G Linux filesystem
sdb3 1116162048 2344962047 1228800000 586G Linux filesystem
sdb4 2344962048 5860532223 3515570176 1.7T Linux filesystem
sdb5 2048 10239999 10237952 4.9G Linux filesystem
sdb6 10240000 26626047 16386048 7.8G Linux filesystem
sdb7 931842048 1116162047 184320000 87.9G Linux filesystem
sdb8 911362048 931842047 20480000 9.8G Linux filesystem
Partition table entries are not in disk order.
parted -lm (filtered): _________________________________________________________
sda:500GB:scsi:512:512:gpt:ATA Samsung SSD 850:;
1:1049kB:538MB:537MB:fat32::boot, esp;
2:538MB:24.7GB:24.1GB:ext4::;
5:24.7GB:483GB:458GB:ext4::;
3:483GB:500GB:17.1GB:ext4::;
sdb:3001GB:scsi:512:4096:gpt:ATA ST3000DM001-1ER1:;
5:1049kB:5243MB:5242MB:ext4::;
6:5243MB:13.6GB:8390MB:ext4:sda6:;
1:13.6GB:47.2GB:33.6GB:linux-swap(v1)::;
2:47.2GB:467GB:419GB:ext4::;
8:467GB:477GB:10.5GB:ext4::;
7:477GB:571GB:94.4GB:ext4::;
3:571GB:1201GB:629GB:ext4::;
4:1201GB:3001GB:1800GB:ext4::;
sr0:4700MB:scsi:2048:2048:mac:ASUS BC-12D2HT:;
1:2048B:6143B:4096B::Apple:;
2:1961MB:1964MB:2523kB::EFI:;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat E781-3240 e56d8bb2-e4c1-47d0-824a-27bce60f6d2d
├─sda2 ext4 4b30c970-f1ab-48f6-9ed2-2cc11bcfac91 d3254a62-ad9b-47cf-b4cb-b92024dcee1d
├─sda3 ext4 5d328a4e-f7cf-4bff-b7d0-2d38bf89e862 5b814d05-a31c-4dca-8d8f-15f88141ead3
└─sda5 ext4 94c7980e-02a2-4c56-a661-c314278d06e2 5cc0809b-700e-4d3e-94f2-e0f8ee40089a
sdb
├─sdb1 swap cca604fd-c3c9-4300-a1fb-9f648bae6a09 ff4a09a8-a9b2-4824-9c8c-a8376c2e19c6
├─sdb2 ext4 5ce6fd40-e245-4f8b-87ce-71c969039c60 6d88f0b8-53bc-4509-bfa4-341978a8e8bf
├─sdb3 ext4 b6796ef8-7efd-4041-adbf-f3aba4d908a4 70648657-6e51-400f-ae48-6078c05138b4 data
├─sdb4 ext4 81b8c3fa-7111-41f2-8372-0f0877978c65 0a453b1d-1697-4f71-90ad-c2cbfc63d820 multimedia
├─sdb5 ext4 aa95ad45-db50-4560-b180-75c3597200db 25e0c88f-704a-441d-b6e4-2e53ca2c7291
├─sdb6 ext4 839dd03b-ad4d-4009-945e-eed6227711d8 d3fe6beb-2fd7-4bc9-9d57-79e06dbaa3cb sda6
├─sdb7 ext4 a6c613c2-f50b-4a37-a149-0cd601d2235f a7d5ee63-63c0-4cbf-a21e-34214673392a
└─sdb8 ext4 a8ab44d9-f4dd-4339-8b09-70e25aeca2b4 9b700cc6-5a31-45a4-8a4d-582a68b36de6
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 501.9M 2% /mnt/boot-sav/sda1
sda2 8.3G 57% /mnt/boot-sav/sda2
sda3 14.7G 0% /mnt/boot-sav/sda3
sda5 398.6G 0% /mnt/boot-sav/sda5
sdb2 283.7G 21% /mnt/boot-sav/sdb2
sdb3 327.7G 38% /mnt/boot-sav/sdb3
sdb4 961.4G 37% /mnt/boot-sav/sdb4
sdb5 4G 11% /mnt/boot-sav/sdb5
sdb6 7.2G 0% /mnt/boot-sav/sdb6
sdb7 81.6G 0% /mnt/boot-sav/sdb7
sdb8 8.9G 2% /mnt/boot-sav/sdb8
Mount options: __________________________________________________________________
sda1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda2 rw,relatime
sda3 rw,relatime
sda5 rw,relatime
sdb2 rw,relatime
sdb3 rw,relatime
sdb4 rw,relatime
sdb5 rw,relatime
sdb6 rw,relatime
sdb7 rw,relatime
sdb8 rw,relatime
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid 4b30c970-f1ab-48f6-9ed2-2cc11bcfac91 root hd0,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu 4b30c970-f1ab-48f6-9ed2-2cc11bcfac91
Ubuntu, avec Linux 5.4.0-80-generic 4b30c970-f1ab-48f6-9ed2-2cc11bcfac91
Ubuntu, avec Linux 5.4.0-77-generic 4b30c970-f1ab-48f6-9ed2-2cc11bcfac91
### END /etc/grub.d/30_os-prober ###
System setup uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=4b30c970-f1ab-48f6-9ed2-2cc11bcfac91 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=E781-3240 /boot/efi vfat umask=0077 0 1
# /home was on /dev/sdb2 during installation
UUID=5ce6fd40-e245-4f8b-87ce-71c969039c60 /home ext4 defaults 0 2
# /home/data was on /dev/sdb3 during installation
UUID=b6796ef8-7efd-4041-adbf-f3aba4d908a4 /home/data ext4 defaults 0 2
# /home/multimedia was on /dev/sdb4 during installation
UUID=81b8c3fa-7111-41f2-8372-0f0877978c65 /home/multimedia ext4 defaults 0 2
# /tmp was on /dev/sdb6 during installation
UUID=839dd03b-ad4d-4009-945e-eed6227711d8 /tmp ext4 defaults 0 2
# /var/log was on /dev/sdb5 during installation
UUID=aa95ad45-db50-4560-b180-75c3597200db /var/log ext4 defaults 0 2
# /var/www was on /dev/sdb8 during installation
UUID=a8ab44d9-f4dd-4339-8b09-70e25aeca2b4 /var/www ext4 defaults 0 2
/swapfile none swap sw 0 0
UUID=977c0618-2bd1-4216-91d5-a5550dc8d0c7 /mnt/Backup2T ext4 defaults 0 2
======================= sda2/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
==================== sda2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
2.938476562 = 3.155165184 boot/grub/grub.cfg 3
18.111339569 = 19.446902784 boot/vmlinuz-5.4.0-77-generic 1
19.361343384 = 20.789084160 boot/vmlinuz-5.4.0-80-generic 2
19.361343384 = 20.789084160 vmlinuz 2
18.111339569 = 19.446902784 vmlinuz.old 1
17.852535248 = 19.169013760 boot/initrd.img-5.4.0-77-generic 5
22.954803467 = 24.647532544 boot/initrd.img-5.4.0-80-generic 5
22.954803467 = 24.647532544 initrd.img 5
17.852535248 = 19.169013760 initrd.img.old 5
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 12808 Aug 24 2020 10_linux
-rwxr-xr-x 1 root root 11298 Feb 7 2019 20_linux_xen
-rwxr-xr-x 1 root root 12059 Feb 7 2019 30_os-prober
-rwxr-xr-x 1 root root 1418 Feb 7 2019 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Feb 7 2019 40_custom
-rwxr-xr-x 1 root root 216 Feb 7 2019 41_custom
=============================== StdErr Messages ================================
File descriptor 63 (pipe:[163738]) leaked on lvs invocation. Parent PID 6942: /bin/bash
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to sign-grub) and reinstall the grub-efi-amd64-signed of
sda2,
using the following options: sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
Blockers in case of suggested repair: __________________________________________
The current session is in BIOS-compatibility mode. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode. This will enable this feature.
Confirmation request before suggested repair: __________________________________
The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to EFI mode.
Are you sure you want to continue anyway?
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the Ubuntu 18.04.5 LTS entry (sda1/efi/****/shim****.efi (**** will be updated in the final message) file) !
The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to UEFI mode.
Dans cet extrait, contrairement à ce que tu as écrit dans le post #1, on voit que tu n'as que deux noyaux installés (5.4.0-77 et 5.4.0-80). Tu n'as pas d'autres noyaux installés. :
=================== sda2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
2.938476562 = 3.155165184 boot/grub/grub.cfg 3
18.111339569 = 19.446902784 boot/vmlinuz-5.4.0-77-generic 1
19.361343384 = 20.789084160 boot/vmlinuz-5.4.0-80-generic 2
19.361343384 = 20.789084160 vmlinuz 2
18.111339569 = 19.446902784 vmlinuz.old 1
17.852535248 = 19.169013760 boot/initrd.img-5.4.0-77-generic 5
22.954803467 = 24.647532544 boot/initrd.img-5.4.0-80-generic 5
22.954803467 = 24.647532544 initrd.img 5
17.852535248 = 19.169013760 initrd.img.old 5
Il y a une anomalie visible dans la partie "sda2/etc/fstab (filtered)" du Boot-info :
UUID=977c0618-2bd1-4216-91d5-a5550dc8d0c7 /mnt/Backup2T ext4 defaults 0 2
La partition dont l'UUID est 977c0618-2bd1-4216-91d5-a5550dc8d0c7 n'existe pas. Donc soit il s'agit de la partition d'un disque de stockage externe - et dans ce cas, il faut le connecter - ou bien il faut commenter cette ligne afin qu'elle ne soit plus prise en compte par Ubuntu.
Dernière modification par malbo (Le 26/07/2021, à 07:22)
Hors ligne
#8 Le 25/07/2021, à 21:27
- framboise38
Re : Ubuntu 18.04 Ajouter plus de noyaux dans grub
Le resultat de la commande de xubu1957
sur casimage
mnt/Backup2T
Correspond bien à un disque dur externe qui est toujours branché [edit] en principe, il s'était débranché par mégarde, une fois rebranché c'est reparti.
Merci framboise
Dernière modification par framboise38 (Le 25/07/2021, à 21:41)
Hors ligne
#9 Le 25/07/2021, à 21:44
- framboise38
Re : Ubuntu 18.04 Ajouter plus de noyaux dans grub
Merci beaucoup Malbo, et bien vu, une fois rebranché le disque dur externe (qui est supposé toujours branché), le redémarrage a fonctionné
xubu1957, le resultat de ta commande, en copier coller (avec l'interface graphique)
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-signed-generic-hwe-18.04 5.3.0.62.115 amd64
ii linux-hwe-5.4-headers-5.4.0-67 5.4.0-67.75~18.04.1 all
ii linux-hwe-5.4-headers-5.4.0-70 5.4.0-70.78~18.04.1 all
ii linux-hwe-5.4-headers-5.4.0-71 5.4.0-71.79~18.04.1 all
ii linux-hwe-5.4-headers-5.4.0-72 5.4.0-72.80~18.04.1 all
ii linux-hwe-5.4-headers-5.4.0-73 5.4.0-73.82~18.04.1 all
ii linux-hwe-5.4-headers-5.4.0-74 5.4.0-74.83~18.04.1 all
ii linux-hwe-5.4-headers-5.4.0-77 5.4.0-77.86~18.04.1 all
ii linux-headers-5.4.0-77-generic 5.4.0-77.86~18.04.1 amd64
ii linux-image-5.4.0-77-generic 5.4.0-77.86~18.04.1 amd64
ii linux-modules-5.4.0-77-generic 5.4.0-77.86~18.04.1 amd64
ii linux-modules-extra-5.4.0-77-generic 5.4.0-77.86~18.04.1 amd64
ii linux-hwe-5.4-headers-5.4.0-80 5.4.0-80.90~18.04.1 all
ii linux-headers-5.4.0-80-generic 5.4.0-80.90~18.04.1 amd64
ii linux-image-5.4.0-80-generic 5.4.0-80.90~18.04.1 amd64
ii linux-modules-5.4.0-80-generic 5.4.0-80.90~18.04.1 amd64
ii linux-modules-extra-5.4.0-80-generic 5.4.0-80.90~18.04.1 amd64
ii linux-generic-hwe-18.04 5.4.0.80.90~18.04.72 amd64
ii linux-headers-generic-hwe-18.04 5.4.0.80.90~18.04.72 amd64
ii linux-image-generic-hwe-18.04 5.4.0.80.90~18.04.72 amd64
Noyau courant : 5.4.0-80-generic x86_64
Comme je suis curieuse, j'aimerais malgré tout savoir comment j'aurais dû m'y prendre pour booter sur un noyau non présent dans grub ?
Merci
Framboise
Dernière modification par framboise38 (Le 25/07/2021, à 21:53)
Hors ligne
#10 Le 25/07/2021, à 22:19
- xubu1957
Re : Ubuntu 18.04 Ajouter plus de noyaux dans grub
Peut-on voir :
ls -AsS1 /boot
et d'éventuels paquets cassés :
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
Hors ligne
#11 Le 25/07/2021, à 23:16
- jplemoine
Re : Ubuntu 18.04 Ajouter plus de noyaux dans grub
Pour le disque externe, il faut ajouter ,bg (virgule bg) dans les options dans le fstab
UUID=977c0618-2bd1-4216-91d5-a5550dc8d0c7 /mnt/Backup2T ext4 defaults 0 2
devient
UUID=977c0618-2bd1-4216-91d5-a5550dc8d0c7 /mnt/Backup2T ext4 defaults,bg 0 2
Cela permettra de ne pas bloquer le démarrage en cas de non présence du disque.
Une fois branché, le montage se fera après coup.
Membre de l'ALDIL (Association Lyonnaise pour le Développement de l'Informatique Libre)
- En pro, après 20 ans de développement, administrateur Linux / Unix depuis Avril 2019.
- En privé, sous Ubuntu-Xubuntu depuis 2009.
Hors ligne
#12 Le 26/07/2021, à 19:37
- framboise38
Re : Ubuntu 18.04 Ajouter plus de noyaux dans grub
Pour xubu1957
ls -AsS1 /boot
total 159836
65692 initrd.img-5.4.0-77-generic
65688 initrd.img-5.4.0-80-generic
9236 vmlinuz-5.4.0-80-generic
9232 vmlinuz-5.4.0-77-generic
4480 System.map-5.4.0-80-generic
4480 System.map-5.4.0-77-generic
236 config-5.4.0-77-generic
236 config-5.4.0-80-generic
184 memtest86+_multiboot.bin
184 memtest86+.elf
180 memtest86+.bin
4 efi
4 grub
Et l'autre pour les paquets cassés
$ 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 libsasl2-modules:i386 2.1.27~101-g0780600+dfsg-3ubuntu2.3 i386 Cyrus SASL - pluggable authentication modules
rc libssl1.1:i386 1.1.1-1ubuntu2.1~18.04.9 i386 Secure Sockets Layer toolkit - shared libraries
rc linux-image-4.18.0-15-generic 4.18.0-15.16~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.0.0-37-generic 5.0.0-37.40~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.3.0-26-generic 5.3.0-26.28~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.3.0-28-generic 5.3.0-28.30~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.3.0-40-generic 5.3.0-40.32~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.3.0-42-generic 5.3.0-42.34~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.3.0-45-generic 5.3.0-45.37~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.3.0-46-generic 5.3.0-46.38~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.3.0-51-generic 5.3.0-51.44~18.04.2 amd64 Signed kernel image generic
rc linux-image-5.3.0-53-generic 5.3.0-53.47~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.3.0-59-generic 5.3.0-59.53~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.3.0-61-generic 5.3.0-61.55~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.3.0-62-generic 5.3.0-62.56~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.4.0-42-generic 5.4.0-42.46~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.4.0-45-generic 5.4.0-45.49~18.04.2 amd64 Signed kernel image generic
rc linux-image-5.4.0-47-generic 5.4.0-47.51~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.4.0-48-generic 5.4.0-48.52~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.4.0-51-generic 5.4.0-51.56~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.4.0-52-generic 5.4.0-52.57~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.4.0-53-generic 5.4.0-53.59~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.4.0-54-generic 5.4.0-54.60~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.4.0-56-generic 5.4.0-56.62~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.4.0-58-generic 5.4.0-58.64~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.4.0-59-generic 5.4.0-59.65~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.4.0-60-generic 5.4.0-60.67~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.4.0-62-generic 5.4.0-62.70~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.4.0-64-generic 5.4.0-64.72~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.4.0-65-generic 5.4.0-65.73~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.4.0-66-generic 5.4.0-66.74~18.04.2 amd64 Signed kernel image generic
rc linux-image-5.4.0-67-generic 5.4.0-67.75~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.4.0-70-generic 5.4.0-70.78~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.4.0-71-generic 5.4.0-71.79~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.4.0-72-generic 5.4.0-72.80~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.4.0-73-generic 5.4.0-73.82~18.04.1 amd64 Signed kernel image generic
rc linux-image-5.4.0-74-generic 5.4.0-74.83~18.04.1 amd64 Signed kernel image generic
rc linux-modules-4.18.0-15-generic 4.18.0-15.16~18.04.1 amd64 Linux kernel extra modules for version 4.18.0 on 64 bit x86 SMP
rc linux-modules-5.0.0-37-generic 5.0.0-37.40~18.04.1 amd64 Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
rc linux-modules-5.3.0-26-generic 5.3.0-26.28~18.04.1 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc linux-modules-5.3.0-28-generic 5.3.0-28.30~18.04.1 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc linux-modules-5.3.0-40-generic 5.3.0-40.32~18.04.1 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc linux-modules-5.3.0-42-generic 5.3.0-42.34~18.04.1 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc linux-modules-5.3.0-45-generic 5.3.0-45.37~18.04.1 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc linux-modules-5.3.0-46-generic 5.3.0-46.38~18.04.1 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc linux-modules-5.3.0-51-generic 5.3.0-51.44~18.04.2 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc linux-modules-5.3.0-53-generic 5.3.0-53.47~18.04.1 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc linux-modules-5.3.0-59-generic 5.3.0-59.53~18.04.1 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc linux-modules-5.3.0-61-generic 5.3.0-61.55~18.04.1 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc linux-modules-5.3.0-62-generic 5.3.0-62.56~18.04.1 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-42-generic 5.4.0-42.46~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-45-generic 5.4.0-45.49~18.04.2 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-47-generic 5.4.0-47.51~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-48-generic 5.4.0-48.52~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-51-generic 5.4.0-51.56~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-52-generic 5.4.0-52.57~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-53-generic 5.4.0-53.59~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-54-generic 5.4.0-54.60~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-56-generic 5.4.0-56.62~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-58-generic 5.4.0-58.64~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-59-generic 5.4.0-59.65~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-60-generic 5.4.0-60.67~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-62-generic 5.4.0-62.70~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-64-generic 5.4.0-64.72~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-65-generic 5.4.0-65.73~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-66-generic 5.4.0-66.74~18.04.2 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-67-generic 5.4.0-67.75~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-70-generic 5.4.0-70.78~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-71-generic 5.4.0-71.79~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-72-generic 5.4.0-72.80~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-73-generic 5.4.0-73.82~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-74-generic 5.4.0-74.83~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-4.18.0-15-generic 4.18.0-15.16~18.04.1 amd64 Linux kernel extra modules for version 4.18.0 on 64 bit x86 SMP
rc linux-modules-extra-5.0.0-37-generic 5.0.0-37.40~18.04.1 amd64 Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
rc linux-modules-extra-5.3.0-26-generic 5.3.0-26.28~18.04.1 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc linux-modules-extra-5.3.0-28-generic 5.3.0-28.30~18.04.1 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc linux-modules-extra-5.3.0-40-generic 5.3.0-40.32~18.04.1 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc linux-modules-extra-5.3.0-42-generic 5.3.0-42.34~18.04.1 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc linux-modules-extra-5.3.0-45-generic 5.3.0-45.37~18.04.1 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc linux-modules-extra-5.3.0-46-generic 5.3.0-46.38~18.04.1 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc linux-modules-extra-5.3.0-51-generic 5.3.0-51.44~18.04.2 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc linux-modules-extra-5.3.0-53-generic 5.3.0-53.47~18.04.1 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc linux-modules-extra-5.3.0-59-generic 5.3.0-59.53~18.04.1 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc linux-modules-extra-5.3.0-61-generic 5.3.0-61.55~18.04.1 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc linux-modules-extra-5.3.0-62-generic 5.3.0-62.56~18.04.1 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-42-generic 5.4.0-42.46~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-45-generic 5.4.0-45.49~18.04.2 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-47-generic 5.4.0-47.51~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-48-generic 5.4.0-48.52~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-51-generic 5.4.0-51.56~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-52-generic 5.4.0-52.57~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-53-generic 5.4.0-53.59~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-54-generic 5.4.0-54.60~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-56-generic 5.4.0-56.62~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-58-generic 5.4.0-58.64~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-59-generic 5.4.0-59.65~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-60-generic 5.4.0-60.67~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-62-generic 5.4.0-62.70~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-64-generic 5.4.0-64.72~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-65-generic 5.4.0-65.73~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-66-generic 5.4.0-66.74~18.04.2 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-67-generic 5.4.0-67.75~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-70-generic 5.4.0-70.78~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-71-generic 5.4.0-71.79~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-72-generic 5.4.0-72.80~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-73-generic 5.4.0-73.82~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-74-generic 5.4.0-74.83~18.04.1 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
Pour jplemoine, je ferais cela dès que j'ai une demi-heure, cela me sera super utile, merci.
Merci à tous
Framboise
Hors ligne
#13 Le 26/07/2021, à 20:06
- xubu1957
Re : Ubuntu 18.04 Ajouter plus de noyaux dans grub
Bonjour,
Pour nettoyer :
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
Pour info, les précisions de nany, pour la commande de nettoyage.
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
Hors ligne