#1 Le 26/01/2021, à 12:02
- kmchen
[Résolu] Boot très lent sur ubuntu 20.04
Bonjour
Ubuntu 20.04 met longtemps à booter. Je vois une attente de 1m30 dans dmesg:
[ 4.359339] usbcore: registered new interface driver uvcvideo
[ 4.359340] USB Video Class driver (1.1.1)
[ 92.867383] audit: type=1400 audit(1611658122.282:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-xpdfimport" pid=959 comm="apparmor_parser"
[ 92.868147] audit: type=1400 audit(1611658122.283:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=956 comm="apparmor_parser"
Je n'ai aucun matériel vidéo connecté en USB. Commet trouver ce qui provoque cette attente ?
Dernière modification par Ayral (Le 02/04/2021, à 10:28)
Création site web
http://www.webologix.com
Hors ligne
#2 Le 26/01/2021, à 13:18
- ylag
Re : [Résolu] Boot très lent sur ubuntu 20.04
Bonjour,
Pour essayer d'en savoir un peu plus: Après un redémarrage où tu as le même souci, passe la commande dmesg avec l'option « -T » pour afficher le temps système:
dmesg -T
...pius compare ce qui se passe à l'instant du bloquage dans dmesg avec le retour de journalctl au même moment:
journalctl -b 0 --no-pager
?
Dernière modification par ylag (Le 26/01/2021, à 13:32)
Hors ligne
#3 Le 26/01/2021, à 13:55
- malbo
Re : [Résolu] Boot très lent sur ubuntu 20.04
Bonjour,
Depuis une session de ton Ubuntu installé, je te prie de faire un Boot-info et de donner l'URL de ce Boot-info dans ta réponse.
EDIT : donne également le retour complet de cette commande :
cat /etc/apt/sources.list
Dernière modification par malbo (Le 26/01/2021, à 13:56)
Hors ligne
#4 Le 26/01/2021, à 14:05
- kmchen
Re : [Résolu] Boot très lent sur ubuntu 20.04
```
sudo dmesg -T
...
mar. janv. 26 11:47:13 2021] usbcore: registered new interface driver uvcvideo
[mar. janv. 26 11:47:13 2021] USB Video Class driver (1.1.1)
[mar. janv. 26 11:48:41 2021] audit: type=1400 audit(1611658122.282:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-xpdfimport" pid=959 comm="apparmor_parser"
[mar. janv. 26 11:48:41 2021] audit: type=1400 audit(1611658122.283:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=956 comm="apparmor_parser"
...
journalctl -b
...
janv. 26 11:47:13 kmc-PROX14-10 kernel: USB Video Class driver (1.1.1)
janv. 26 11:47:43 kmc-PROX14-10 systemd[1]: systemd-fsckd.service: Succeeded.
janv. 26 11:48:42 kmc-PROX14-10 systemd[1]: dev-disk-by\x2duuid-b0a6e022\x2d41cd\x2d44b5\x2d8521\x2d3715b6112f51.device: Job dev-disk-by\x2duuid-b0a6e022\x2d41cd\x2d44b5\x2d8521\x2d3715b61>
...
```
Je précise que le système perd cette minute trente à tous les boots.
le boot-info: https://paste.ubuntu.com/p/ZMXFCjpd4F/
Dernière modification par kmchen (Le 26/01/2021, à 14:07)
Création site web
http://www.webologix.com
Hors ligne
#5 Le 26/01/2021, à 16:04
- malbo
Re : [Résolu] Boot très lent sur ubuntu 20.04
Je colle ton Boot-info :
boot-info-4ppa125 [20210126_1404]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/nvme0n1.
nvme0n1p1: _____________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/BOOT/bkpbootx64.efi /efi/BOOT/bootx64.efi
/efi/BOOT/fbx64.efi /efi/BOOT/grubx64.efi
/efi/BOOT/mmx64.efi /efi/debian/fbx64.efi
/efi/debian/grubx64.efi /efi/debian/mmx64.efi
/efi/debian/shimx64.efi /efi/ubuntu/fwupx64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
/efi/ubuntu/shimx64.efi /efi/debian/grub.cfg
/efi/ubuntu/grub.cfg
nvme0n1p2: _____________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
nvme0n1p3: _____________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
nvme0n1p4: _____________________________________________________________________
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
nvme0n1p5: _____________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
================================ 2 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 20.04.1 LTS CurrentSession on nvme0n1p2
OS#2: Ubuntu 18.04.5 LTS on nvme0n1p4
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-62-lowlatency root=UUID=4e4c40ae-0244-4990-9e82-2e0d2da076dd ro quiet splash usbcore.autosuspend=-1 vt.handoff=7
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled.
efibootmgr -v
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0001,0000,0003,0002,0004,0005
Boot0000* debian HD(1,GPT,cc6b3d89-83de-4665-96b4-be1d2112defa,0x800,0x100000)/File(\EFI\DEBIAN\SHIMX64.EFI)
Boot0001* ubuntu HD(1,GPT,cc6b3d89-83de-4665-96b4-be1d2112defa,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0002* UEFI:CD/DVD Drive BBS(129,,0x0)
Boot0003* debian HD(1,GPT,cc6b3d89-83de-4665-96b4-be1d2112defa,0x800,0x100000)/File(\EFI\DEBIAN\GRUBX64.EFI)..BO
Boot0004* UEFI:Removable Device BBS(130,,0x0)
Boot0005* UEFI:Network Device BBS(131,,0x0)
78415fb8fb9b909f8029858113f1335f nvme0n1p1/BOOT/bkpbootx64.efi
78415fb8fb9b909f8029858113f1335f nvme0n1p1/BOOT/bootx64.efi
2895d47544fd587b26c7e29be1295c27 nvme0n1p1/BOOT/fbx64.efi
8ed07d5ee4e5e1534bcf64037b7589ff nvme0n1p1/BOOT/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84 nvme0n1p1/BOOT/mmx64.efi
1305dac4d07ae01b4b45438e18ff4c9b nvme0n1p1/debian/fbx64.efi
f6555c467b8f9b9fcc392e921273beaa nvme0n1p1/debian/grubx64.efi
6a71919b8c1f3a6d277fa10b875010dc nvme0n1p1/debian/mmx64.efi
8273287f52ffff4624121d2926ef9df4 nvme0n1p1/debian/shimx64.efi
b5698f2f88c3917bdf0c9f0f2a45d469 nvme0n1p1/ubuntu/fwupx64.efi
8ed07d5ee4e5e1534bcf64037b7589ff nvme0n1p1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84 nvme0n1p1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f nvme0n1p1/ubuntu/shimx64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
nvme0n1 : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
nvme0n1p2 : is-os, 64, apt-get, signed grub-efi , grub2, grub-install, grubenv-ok, update-grub, not-far
nvme0n1p1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
nvme0n1p4 : is-os, 64, apt-get, signed grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
nvme0n1p5 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
Partitions info (2/3): _________________________________________________________
nvme0n1p2 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p4 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p5 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
nvme0n1p2 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, nvme0n1
nvme0n1p1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, nvme0n1
nvme0n1p4 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, nvme0n1
nvme0n1p5 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, nvme0n1
fdisk -l (filtered): ___________________________________________________________
Disk nvme0n1: 953.89 GiB, 1024209543168 bytes, 2000409264 sectors
Disk identifier: E53D439A-53C8-4A02-8044-A69773378F1E
Start End Sectors Size Type
nvme0n1p1 2048 1050623 1048576 512M EFI System
nvme0n1p2 1050624 133761023 132710400 63.3G Linux filesystem
nvme0n1p3 133761024 265242623 131481600 62.7G Linux swap
nvme0n1p4 1938835456 2000408575 61573120 29.4G Linux filesystem
nvme0n1p5 265242624 1938835455 1673592832 798G Linux filesystem
Partition table entries are not in disk order.
parted -lm (filtered): _________________________________________________________
nvme0n1:1024GB:nvme:512:512:gpt:INTEL SSDPEKNW010T8:;
1:1049kB:538MB:537MB:fat32::boot, esp;
2:538MB:68.5GB:67.9GB:ext4::;
3:68.5GB:136GB:67.3GB:linux-swap(v1)::swap;
5:136GB:993GB:857GB:ext4:data:;
4:993GB:1024GB:31.5GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
nvme0n1
├─nvme0n1p1 vfat C0DE-9B36 cc6b3d89-83de-4665-96b4-be1d2112defa
├─nvme0n1p2 ext4 4e4c40ae-0244-4990-9e82-2e0d2da076dd bb34126c-ca65-4f25-9c4d-3402c50e4ec7
├─nvme0n1p3 swap f317bda5-4671-476f-b62e-5d7e149501dc 74e301d2-b6b6-41d0-9daa-68d127ca8d5a
├─nvme0n1p4 ext4 5e2d0b6f-1122-4b26-af59-fb06901e7153 8fcb1f09-4acf-4158-8781-3c481b0c5047
└─nvme0n1p5 ext4 f49d772e-bc7c-4660-92e1-3056189fb587 d0bb6a85-169a-4482-81d7-94903aa33695 data
df (filtered): _________________________________________________________________
Avail Use% Mounted on
nvme0n1p1 495.1M 3% /mnt/boot-sav/nvme0n1p1
nvme0n1p2 11.7G 77% /
nvme0n1p4 3.6G 82% /mnt/boot-sav/nvme0n1p4
nvme0n1p5 461.9G 36% /usr/local/data
Mount options: __________________________________________________________________
nvme0n1p1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
nvme0n1p2 rw,relatime,errors=remount-ro
nvme0n1p4 rw,relatime
nvme0n1p5 rw,relatime
=================== nvme0n1p1/efi/debian/grub.cfg (filtered) ===================
search.fs_uuid b0a6e022-41cd-44b5-8521-3715b6112f51 root
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
=================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================
search.fs_uuid 4e4c40ae-0244-4990-9e82-2e0d2da076dd root
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
=================== nvme0n1p2/boot/grub/grub.cfg (filtered) ====================
Ubuntu 4e4c40ae-0244-4990-9e82-2e0d2da076dd
Ubuntu, avec Linux 5.4.0-62-lowlatency 4e4c40ae-0244-4990-9e82-2e0d2da076dd
Ubuntu, avec Linux 5.4.0-62-generic 4e4c40ae-0244-4990-9e82-2e0d2da076dd
Ubuntu, avec Linux 5.4.0-60-generic 4e4c40ae-0244-4990-9e82-2e0d2da076dd
Ubuntu, avec Linux 5.3.0-050300-generic 4e4c40ae-0244-4990-9e82-2e0d2da076dd
Ubuntu 18.04.5 LTS (18.04) (sur nvme0n1p4) 5e2d0b6f-1122-4b26-af59-fb06901e7153
Ubuntu (lowlatency) (sur nvme0n1p4) 5e2d0b6f-1122-4b26-af59-fb06901e7153
Ubuntu (sur nvme0n1p4) 5e2d0b6f-1122-4b26-af59-fb06901e7153
Ubuntu, avec Linux 5.4.0-62-lowlatency (sur nvme0n1p4) 5e2d0b6f-1122-4b26-af59-fb06901e7153
Ubuntu, avec Linux 5.4.0-62-generic (sur nvme0n1p4) 5e2d0b6f-1122-4b26-af59-fb06901e7153
Ubuntu, avec Linux 5.4.0-60-lowlatency (sur nvme0n1p4) 5e2d0b6f-1122-4b26-af59-fb06901e7153
Ubuntu, avec Linux 5.4.0-60-generic (sur nvme0n1p4) 5e2d0b6f-1122-4b26-af59-fb06901e7153
Ubuntu, avec Linux 5.4.0-58-lowlatency (sur nvme0n1p4) 5e2d0b6f-1122-4b26-af59-fb06901e7153
Ubuntu, avec Linux 5.4.0-58-generic (sur nvme0n1p4) 5e2d0b6f-1122-4b26-af59-fb06901e7153
Ubuntu, avec Linux 4.15.0-132-lowlatency (sur nvme0n1p4) 5e2d0b6f-1122-4b26-af59-fb06901e7153
Ubuntu 20.04.1 LTS (20.04) (sur nvme0n1p2) (sur nvme0n1p4) 5e2d0b6f-1122-4b26-af59-fb06901e7153
Ubuntu (sur nvme0n1p2) (sur nvme0n1p4) 5e2d0b6f-1122-4b26-af59-fb06901e7153
Ubuntu, with Linux 5.4.0-58-lowlatency (sur nvme0n1p2) (sur nvme0n1p4) 5e2d0b6f-1122-4b26-af59-fb06901e7153
Ubuntu, with Linux 5.4.0-58-generic (sur nvme0n1p2) (sur nvme0n1p4) 5e2d0b6f-1122-4b26-af59-fb06901e7153
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
======================== nvme0n1p2/etc/fstab (filtered) ========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=4e4c40ae-0244-4990-9e82-2e0d2da076dd / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
/swapfile none swap sw 0 0
UUID=f49d772e-bc7c-4660-92e1-3056189fb587 /usr/local/data ext4 defaults 0 0
UUID=b0a6e022-41cd-44b5-8521-3715b6112f51 /debian ext4 defaults 0 0
UUID=C0DE-9B36 /boot/efi vfat defaults 0 1
==================== nvme0n1p2/etc/default/grub (filtered) =====================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1"
GRUB_CMDLINE_LINUX=""
================= nvme0n1p2: Location of files loaded by Grub ==================
GiB - GB File Fragment(s)
19.128738403 = 20.539326464 boot/grub/grub.cfg 2
48.985347748 = 52.597616640 boot/vmlinuz 2
11.441242218 = 12.284940288 boot/vmlinuz-5.3.0-050300-generic 1
61.988422394 = 66.559561728 boot/vmlinuz-5.4.0-60-generic 1
48.985347748 = 52.597616640 boot/vmlinuz-5.4.0-62-generic 2
50.730659485 = 54.471630848 boot/vmlinuz-5.4.0-62-lowlatency 1
50.730659485 = 54.471630848 boot/vmlinuz.old 1
11.441242218 = 12.284940288 vmlinuz.old 1
50.842594147 = 54.591819776 boot/initrd.img 7
61.407695770 = 65.936011264 boot/initrd.img-5.3.0-050300-generic 38
49.875308990 = 53.553205248 boot/initrd.img-5.4.0-60-generic 6
50.842594147 = 54.591819776 boot/initrd.img-5.4.0-62-generic 7
50.868160248 = 54.619271168 boot/initrd.img-5.4.0-62-lowlatency 9
50.868160248 = 54.619271168 boot/initrd.img.old 9
61.407695770 = 65.936011264 initrd.img.old 38
=================== nvme0n1p2: ls -l /etc/grub.d/ (filtered) ===================
-rwxr-xr-x 1 root root 17622 nov. 13 00:15 10_linux
-rwxr-xr-x 1 root root 42359 nov. 13 00:15 10_linux_zfs
-rwxr-xr-x 1 root root 12894 nov. 13 00:15 20_linux_xen
-rwxr-xr-x 1 root root 12059 nov. 13 00:15 30_os-prober
-rwxr-xr-x 1 root root 1424 nov. 13 00:15 30_uefi-firmware
-rwxr-xr-x 1 root root 214 nov. 13 00:15 40_custom
-rwxr-xr-x 1 root root 216 nov. 13 00:15 41_custom
=================== nvme0n1p4/boot/grub/grub.cfg (filtered) ====================
Ubuntu (lowlatency) 5e2d0b6f-1122-4b26-af59-fb06901e7153
Ubuntu 5e2d0b6f-1122-4b26-af59-fb06901e7153
Ubuntu, avec Linux 5.4.0-62-lowlatency 5e2d0b6f-1122-4b26-af59-fb06901e7153
Ubuntu, avec Linux 5.4.0-62-generic 5e2d0b6f-1122-4b26-af59-fb06901e7153
Ubuntu, avec Linux 5.4.0-60-lowlatency 5e2d0b6f-1122-4b26-af59-fb06901e7153
Ubuntu, avec Linux 5.4.0-60-generic 5e2d0b6f-1122-4b26-af59-fb06901e7153
Ubuntu, avec Linux 5.4.0-58-lowlatency 5e2d0b6f-1122-4b26-af59-fb06901e7153
Ubuntu, avec Linux 5.4.0-58-generic 5e2d0b6f-1122-4b26-af59-fb06901e7153
Ubuntu, avec Linux 4.15.0-132-lowlatency 5e2d0b6f-1122-4b26-af59-fb06901e7153
Ubuntu 20.04.1 LTS (20.04) (sur nvme0n1p2) 4e4c40ae-0244-4990-9e82-2e0d2da076dd
Ubuntu (sur nvme0n1p2) 4e4c40ae-0244-4990-9e82-2e0d2da076dd
Ubuntu, with Linux 5.4.0-58-lowlatency (sur nvme0n1p2) 4e4c40ae-0244-4990-9e82-2e0d2da076dd
Ubuntu, with Linux 5.4.0-58-generic (sur nvme0n1p2) 4e4c40ae-0244-4990-9e82-2e0d2da076dd
Ubuntu, with Linux 5.4.0-56-lowlatency (sur nvme0n1p2) 4e4c40ae-0244-4990-9e82-2e0d2da076dd
Ubuntu, with Linux 5.4.0-56-generic (sur nvme0n1p2) 4e4c40ae-0244-4990-9e82-2e0d2da076dd
Ubuntu, with Linux 5.4.0-54-lowlatency (sur nvme0n1p2) 4e4c40ae-0244-4990-9e82-2e0d2da076dd
Ubuntu, with Linux 5.4.0-54-generic (sur nvme0n1p2) 4e4c40ae-0244-4990-9e82-2e0d2da076dd
Ubuntu, with Linux 5.3.0-050300-generic (sur nvme0n1p2) 4e4c40ae-0244-4990-9e82-2e0d2da076dd
### END /etc/grub.d/30_os-prober ###
System setup uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
======================== nvme0n1p4/etc/fstab (filtered) ========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p4 during installation
UUID=5e2d0b6f-1122-4b26-af59-fb06901e7153 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=C0DE-9B36 /boot/efi vfat umask=0077 0 1
# swap was on /dev/nvme0n1p3 during installation
UUID=e52c42ef-cb5e-4c85-bc0d-84dd6338ee6c none swap sw 0 0
UUID=f49d772e-bc7c-4660-92e1-3056189fb587 /usr/local/data ext4 defaults 0 0
UUID=4e4c40ae-0244-4990-9e82-2e0d2da076dd /ubuntu2004 ext4 defaults 0 0
==================== nvme0n1p4/etc/default/grub (filtered) =====================
GRUB_DEFAULT="0"
GRUB_TIMEOUT_STYLE="hidden"
GRUB_TIMEOUT="10"
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
export GRUB_MENU_PICTURE="/usr/local/data/Images/web/nébuleuses/drustans_nebula.jpg"
================= nvme0n1p4: Location of files loaded by Grub ==================
GiB - GB File Fragment(s)
934.118946075 = 1003.002580992 boot/grub/grub.cfg 3
943.696331024 = 1013.286219776 boot/vmlinuz-4.15.0-132-lowlatency 2
939.759723663 = 1009.059319808 boot/vmlinuz-5.4.0-58-generic 1
928.470718384 = 996.937842688 boot/vmlinuz-5.4.0-58-lowlatency 2
938.394485474 = 1007.593406464 boot/vmlinuz-5.4.0-60-generic 4
946.625286102 = 1016.431161344 boot/vmlinuz-5.4.0-60-lowlatency 7
943.978469849 = 1013.589164032 boot/vmlinuz-5.4.0-62-generic 1
949.548843384 = 1019.570307072 boot/vmlinuz-5.4.0-62-lowlatency 2
943.978469849 = 1013.589164032 vmlinuz 1
943.696331024 = 1013.286219776 vmlinuz.old 2
952.485347748 = 1022.723354624 boot/initrd.img-4.15.0-132-lowlatency 6
936.592891693 = 1005.658959872 boot/initrd.img-5.4.0-58-generic 7
946.575145721 = 1016.377323520 boot/initrd.img-5.4.0-58-lowlatency 6
952.924800873 = 1023.195213824 boot/initrd.img-5.4.0-60-generic 44
942.537864685 = 1012.042326016 boot/initrd.img-5.4.0-60-lowlatency 5
952.508785248 = 1022.748520448 boot/initrd.img-5.4.0-62-generic 6
952.329097748 = 1022.555582464 boot/initrd.img-5.4.0-62-lowlatency 7
952.508785248 = 1022.748520448 initrd.img 6
952.485347748 = 1022.723354624 initrd.img.old 6
=================== nvme0n1p4: ls -l /etc/grub.d/ (filtered) ===================
-rwxr-xr-x 1 root root 9921 sept. 2 2016 09_lowlatency
-rwxr-xr-x 1 root root 12808 nov. 14 01:40 10_linux
-rwxr-xr-x 1 root root 11298 mars 4 2018 20_linux_xen
-rwxr-xr-x 1 root root 12059 mars 4 2018 30_os-prober
-rwxr-xr-x 1 root root 1418 mars 4 2018 30_uefi-firmware
-rwxr-xr-x 1 root root 214 mars 4 2018 40_custom
-rwxr-xr-x 1 root root 216 mars 4 2018 41_custom
drwxr-xr-x 4 root root 4096 déc. 30 16:00 backup
====================== nvme0n1p4/etc/grub.d/09_lowlatency ======================
#! /bin/sh
set -e
# grub-mkconfig helper script.
#
# Ubuntustudio customization that keeps the latest lowlatency kernel
# as the first menu item and default boot even if there is a newer
# generic or other kernel. Often the updated generic kernel is
# released a few days earlier than the lowlatency kernel
prefix="/usr"
exec_prefix="${prefix}"
datarootdir="${prefix}/share"
. "${datarootdir}/grub/grub-mkconfig_lib"
export TEXTDOMAIN=grub
export TEXTDOMAINDIR="${datarootdir}/locale"
CLASS="--class gnu-linux --class gnu --class os"
if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
OS=GNU/Linux
else
if [ "${GRUB_DISTRIBUTOR}" = "Ubuntu" ] ; then
OS="${GRUB_DISTRIBUTOR}"
else
OS="${GRUB_DISTRIBUTOR} GNU/Linux"
fi
CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1) ${CLASS}"
fi
# loop-AES arranges things so that /dev/loop/X can be our root device, but
# the initrds that Linux uses don't like that.
case ${GRUB_DEVICE} in
/dev/loop/*|/dev/loop[0-9])
GRUB_DEVICE=`losetup ${GRUB_DEVICE} | sed -e "s/^[^(]*(\([^)]\+\)).*/\1/"`
# We can't cope with devices loop-mounted from files here.
case ${GRUB_DEVICE} in
/dev/*) ;;
*) exit 0 ;;
esac
;;
esac
if [ "x${GRUB_DEVICE_UUID}" = "x" ] || [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ] \
|| ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" \
|| uses_abstraction "${GRUB_DEVICE}" lvm; then
LINUX_ROOT_DEVICE=${GRUB_DEVICE}
else
LINUX_ROOT_DEVICE=UUID=${GRUB_DEVICE_UUID}
fi
GRUBFS="`${grub_probe} --device ${GRUB_DEVICE} --target=fs 2>/dev/null || true`"
if [ x"$GRUBFS" = x ]; then
GRUBFS="$(stat -f --printf=%T / || true)"
fi
case x"$GRUBFS" in
xbtrfs)
rootsubvol="`make_system_path_relative_to_its_root /`"
rootsubvol="${rootsubvol#/}"
if [ "x${rootsubvol}" != x ]; then
GRUB_CMDLINE_LINUX="rootflags=subvol=${rootsubvol} ${GRUB_CMDLINE_LINUX}"
fi;;
xzfs)
rpool=`${grub_probe} --device ${GRUB_DEVICE} --target=fs_label 2>/dev/null || true`
bootfs="`make_system_path_relative_to_its_root / | sed -e "s,@$,,"`"
LINUX_ROOT_DEVICE="ZFS=${rpool}${bootfs}"
;;
esac
title_correction_code=
for word in $GRUB_CMDLINE_LINUX_DEFAULT; do
if [ "$word" = splash ]; then
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT \$vt_handoff"
fi
done
# add crashkernel option if we have the required tools
if [ -x "/usr/bin/makedumpfile" ] && [ -x "/sbin/kexec" ]; then
GRUB_CMDLINE_EXTRA="$GRUB_CMDLINE_EXTRA crashkernel=384M-2G:64M,2G-:128M"
fi
linux_entry ()
{
os="$1"
version="$2"
type="$3"
args="$4"
if [ -z "$boot_device_id" ]; then
boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")"
fi
if [ x$type != xsimple ] ; then
case $type in
recovery)
title="$(gettext_printf "%s, with Linux %s (recovery mode)" "${os}" "${version}")" ;;
*)
title="$(gettext_printf "%s, with Linux %s" "${os}" "${version}")" ;;
esac
if [ x"$title" = x"$GRUB_ACTUAL_DEFAULT" ] || [ x"Previous Linux versions>$title" = x"$GRUB_ACTUAL_DEFAULT" ]; then
replacement_title="$(echo "Advanced options for ${OS}" | sed 's,>,>>,g')>$(echo "$title" | sed 's,>,>>,g')"
quoted="$(echo "$GRUB_ACTUAL_DEFAULT" | grub_quote)"
title_correction_code="${title_correction_code}if [ \"x\$default\" = '$quoted' ]; then default='$(echo "$replacement_title" | grub_quote)'; fi;"
grub_warn "$(gettext_printf "Please don't use old title \`%s' for GRUB_DEFAULT, use \`%s' (for versions before 2.00) or \`%s' (for 2.00 or later)" "$GRUB_ACTUAL_DEFAULT" "$replacement_title" "gnulinux-advanced-$boot_device_id>gnulinux-$version-$type-$boot_device_id")"
fi
echo "menuentry '$(echo "$title" | grub_quote)' ${CLASS} \$menuentry_id_option 'gnulinux-$version-$type-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
else
echo "menuentry '$(echo "$os" | grub_quote)' ${CLASS} \$menuentry_id_option 'gnulinux-simple-$boot_device_id' {" | sed "s/^/$submenu_indentation/"
fi
echo "recordfail" | sed "s/^/$submenu_indentation/"
if [ x$type != xrecovery ] ; then
save_default_entry | sed -e "s/^/\t/"
fi
# Use ELILO's generic "efifb" when it's known to be available.
# FIXME: We need an interface to select vesafb in case efifb can't be used.
if [ "x$GRUB_GFXPAYLOAD_LINUX" = x ]; then
echo " load_video" | sed "s/^/$submenu_indentation/"
else
if [ "x$GRUB_GFXPAYLOAD_LINUX" != xtext ]; then
echo " load_video" | sed "s/^/$submenu_indentation/"
fi
fi
if [ x$type != xrecovery ] ; then
echo " gfxmode \$linux_gfx_mode" | sed "s/^/$submenu_indentation/"
fi
echo " insmod gzio" | sed "s/^/$submenu_indentation/"
if [ x$dirname = x/ ]; then
if [ -z "${prepare_root_cache}" ]; then
prepare_root_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE} | sed -e "s/^/\t/")"
fi
printf '%s\n' "${prepare_root_cache}" | sed "s/^/$submenu_indentation/"
else
if [ -z "${prepare_boot_cache}" ]; then
prepare_boot_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/")"
fi
printf '%s\n' "${prepare_boot_cache}" | sed "s/^/$submenu_indentation/"
fi
if [ x$type != xsimple ]; then
message="$(gettext_printf "Loading Linux %s ..." ${version})"
sed "s/^/$submenu_indentation/" << EOF
echo '$(echo "$message" | grub_quote)'
EOF
fi
if test -d /sys/firmware/efi && test -e "${linux}.efi.signed"; then
sed "s/^/$submenu_indentation/" << EOF
linux ${rel_dirname}/${basename}.efi.signed root=${linux_root_device_thisversion} ro ${args}
EOF
else
sed "s/^/$submenu_indentation/" << EOF
linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}
EOF
fi
if test -n "${initrd}" ; then
# TRANSLATORS: ramdisk isn't identifier. Should be translated.
if [ x$type != xsimple ]; then
message="$(gettext_printf "Loading initial ramdisk ...")"
sed "s/^/$submenu_indentation/" << EOF
echo '$(echo "$message" | grub_quote)'
EOF
fi
sed "s/^/$submenu_indentation/" << EOF
initrd ${rel_dirname}/${initrd}
EOF
fi
sed "s/^/$submenu_indentation/" << EOF
}
EOF
}
machine=`uname -m`
case "x$machine" in
xi?86 | xx86_64)
list=`for i in /boot/vmlinuz-*lowlatency /boot/kernel-*lowlatency ; do
if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
done` ;;
*)
list=`for i in /boot/vmlinuz-*lowlatency /boot/vmlinux-*lowlatency /boot/kernel-*lowlatency ; do
if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
done` ;;
esac
case "$machine" in
i?86) GENKERNEL_ARCH="x86" ;;
mips|mips64) GENKERNEL_ARCH="mips" ;;
mipsel|mips64el) GENKERNEL_ARCH="mipsel" ;;
arm*) GENKERNEL_ARCH="arm" ;;
*) GENKERNEL_ARCH="$machine" ;;
esac
prepare_boot_cache=
prepare_root_cache=
boot_device_id=
title_correction_code=
cat << 'EOF'
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
EOF
# Use ELILO's generic "efifb" when it's known to be available.
# FIXME: We need an interface to select vesafb in case efifb can't be used.
if [ "x$GRUB_GFXPAYLOAD_LINUX" != x ]; then
echo "set linux_gfx_mode=$GRUB_GFXPAYLOAD_LINUX"
else
cat << EOF
if [ "\${recordfail}" != 1 ]; then
if [ -e \${prefix}/gfxblacklist.txt ]; then
if hwmatch \${prefix}/gfxblacklist.txt 3; then
if [ \${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
EOF
fi
cat << EOF
export linux_gfx_mode
EOF
# Extra indentation to add to menu entries in a submenu. We're not in a submenu
# yet, so it's empty. In a submenu it will be equal to '\t' (one tab).
submenu_indentation=""
is_first_entry=true
if [ "x$list" != "x" ]; then
linux=`version_find_latest $list`
case $linux in
*.efi.signed)
# We handle these in linux_entry.
list=`echo $list | tr ' ' '\n' | grep -vx $linux | tr '\n' ' '`
continue
;;
esac
gettext_printf "Found linux image: %s\n" "$linux" >&2
basename=`basename $linux`
dirname=`dirname $linux`
rel_dirname=`make_system_path_relative_to_its_root $dirname`
version=`echo $basename | sed -e "s,^[^0-9]*-,,g"`
alt_version=`echo $version | sed -e "s,\.old$,,g"`
linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"
initrd=
for i in "initrd.img-${version}" "initrd-${version}.img" "initrd-${version}.gz" \
"initrd-${version}" "initramfs-${version}.img" \
"initrd.img-${alt_version}" "initrd-${alt_version}.img" \
"initrd-${alt_version}" "initramfs-${alt_version}.img" \
"initramfs-genkernel-${version}" \
"initramfs-genkernel-${alt_version}" \
"initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \
"initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}"; do
if test -e "${dirname}/${i}" ; then
initrd="$i"
break
fi
done
config=
for i in "${dirname}/config-${version}" "${dirname}/config-${alt_version}" "/etc/kernels/kernel-config-${version}" ; do
if test -e "${i}" ; then
config="${i}"
break
fi
done
initramfs=
if test -n "${config}" ; then
initramfs=`grep CONFIG_INITRAMFS_SOURCE= "${config}" | cut -f2 -d= | tr -d \"`
fi
if test -n "${initrd}" ; then
gettext_printf "Found initrd image: %s\n" "${dirname}/${initrd}" >&2
elif test -z "${initramfs}" ; then
# "UUID=" and "ZFS=" magic is parsed by initrd or initramfs. Since there's
# no initrd or builtin initramfs, it can't work here.
linux_root_device_thisversion=${GRUB_DEVICE}
fi
if [ "x$is_first_entry" = xtrue ]; then
linux_entry "${OS} (lowlatency)" "${version}" simple \
"${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_EXTRA} ${GRUB_CMDLINE_LINUX_DEFAULT}"
fi
fi
echo "$title_correction_code"
=============================== StdErr Messages ================================
File descriptor 63 (pipe:[212638]) leaked on lvs invocation. Parent PID 24388: /bin/bash
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
nvme0n1p2,
using the following options: nvme0n1p1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 20.04.1 LTS CurrentSession entry (nvme0n1p1/efi/****/shim****.efi (**** will be updated in the final message) file) !
L'anomalie est dans le fichier fstab de ton Ubuntu 20.04 :
======================== nvme0n1p2/etc/fstab (filtered) ========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=4e4c40ae-0244-4990-9e82-2e0d2da076dd / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
/swapfile none swap sw 0 0
UUID=f49d772e-bc7c-4660-92e1-3056189fb587 /usr/local/data ext4 defaults 0 0
UUID=b0a6e022-41cd-44b5-8521-3715b6112f51 /debian ext4 defaults 0 0
UUID=C0DE-9B36 /boot/efi vfat defaults 0 1
L'UUID b0a6e022-41cd-44b5-8521-3715b6112f51 n'existe pas dans la partie "blkid (filtered)" du Boot-info :
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
nvme0n1
├─nvme0n1p1 vfat C0DE-9B36 cc6b3d89-83de-4665-96b4-be1d2112defa
├─nvme0n1p2 ext4 4e4c40ae-0244-4990-9e82-2e0d2da076dd bb34126c-ca65-4f25-9c4d-3402c50e4ec7
├─nvme0n1p3 swap f317bda5-4671-476f-b62e-5d7e149501dc 74e301d2-b6b6-41d0-9daa-68d127ca8d5a
├─nvme0n1p4 ext4 5e2d0b6f-1122-4b26-af59-fb06901e7153 8fcb1f09-4acf-4158-8781-3c481b0c5047
└─nvme0n1p5 ext4 f49d772e-bc7c-4660-92e1-3056189fb587 d0bb6a85-169a-4482-81d7-94903aa33695 data
Dernière modification par malbo (Le 26/01/2021, à 16:05)
Hors ligne
#6 Le 26/01/2021, à 19:01
- kmchen
Re : [Résolu] Boot très lent sur ubuntu 20.04
Yes ! l'UID était incorrect. Merci !
Création site web
http://www.webologix.com
Hors ligne
#7 Le 26/01/2021, à 19:14
- malbo
Re : [Résolu] Boot très lent sur ubuntu 20.04
Je te prie de fermer la discussion en procédant comme suit :
1) te connecter sur le forum
2) cliquer sur "Modifier" en bas à droite de ton PREMIER post
3) modifier le titre de la discussion pour qu'il devienne :
[Résolu] Boot très lent sour ubuntu 20.04
Hors ligne