#1 Le 21/02/2021, à 18:59
- Retienne
Lenteur au démarrage
Bonjour, depuis Ubuntu 18.04, j'ai une lenteur anormale au démarrage. Je pensais que cela se réglerait avec une nouvelle installation propre en 20.04, mais cela n'a pas été le cas.
Cette lenteur se double d'une forme de freeze quand je passe d'une session à l'autre (je suis en multi-session avec 2 sessions).
Mon matériel : https://linux-hardware.org/?probe=45bd552a86
Le retour de boot-info : http://paste.ubuntu.com/p/z8KSPbG9p4/
Merci.
Étienne
Hors ligne
#2 Le 21/02/2021, à 19:26
- xubu1957
Re : Lenteur au démarrage
Bonjour,
Collage du boot-info, pour les spécialistes :
boot-info-4ppa125 [20210220_1852]
============================== Boot Info Summary ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos5)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda2: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
/efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg
sda3: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
================================ 1 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 20.04.2 LTS CurrentSession on sda5
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.8.0-43-generic root=UUID=9b90231f-55ab-4ac9-9626-42c2a11ec72b ro quiet splash vt.handoff=7
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
efibootmgr -v
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0009,0002,0001
Boot0000* ubuntu HD(2,MBR,0x6a325546,0x100800,0x100800)/File(\EFI\ubuntu\shimx64.efi)
Boot0001* CD/DVD Drive BBS(CDROM,,0x0)AMGOAMNO........m.H.L.-.D.T.-.S.T. .D.V.D.R.A.M. .G.H.2.2.N.S.5.0....................A.........................>..Gd-.;.A..MQ..L.1.K.A.8.M.C.3.9.4.3. .3. . . . . . . . ......AMBO
Boot0002* Hard Drive BBS(HD,,0x0)AMGOAMNO........m.S.A.M.S.U.N.G. .H.D.1.0.3.S.J....................A.........................>..Gd-.;.A..MQ..L.2.S.6.4.9.J.B.K.1.9.4.7.0.7. . . . . . ......AMBO
Boot0009* ubuntu HD(2,MBR,0x6a325546,0x100800,0x100800)/File(EFI\Ubuntu\grubx64.efi)
2895d47544fd587b26c7e29be1295c27 sda2/BOOT/fbx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84 sda2/BOOT/mmx64.efi
637fa7fabc8a2f70312edf2f15e275ff sda2/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84 sda2/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f sda2/ubuntu/shimx64.efi
78415fb8fb9b909f8029858113f1335f sda2/BOOT/BOOTX64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : notGPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda5 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda2 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sda5 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda2 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda5 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
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, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0x6a325546
Boot Start End Sectors Size Id Type
sda1 2048 1050623 1048576 512M b W95 FAT32
sda2 * 1050624 2101247 1050624 513M ef EFI (FAT-12/16/32)
sda3 2103294 1953523711 1951420418 930.5G 5 Extended
sda5 2103296 1953523711 1951420416 930.5G 83 Linux
parted -lm (filtered): _________________________________________________________
sda:1000GB:scsi:512:512:msdos:ATA SAMSUNG HD103SJ:;
1:1049kB:538MB:537MB:fat32::;
2:538MB:1076MB:538MB:fat32::boot, esp;
3:1077MB:1000GB:999GB:::;
5:1077MB:1000GB:999GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat 242A-4B07 6a325546-01
├─sda2 vfat 7C4B-D278 6a325546-02
├─sda3 6a325546-03
└─sda5 ext4 9b90231f-55ab-4ac9-9626-42c2a11ec72b 6a325546-05
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 508.5M 0% /mnt/boot-sav/sda1
sda5 469.9G 44% /
Mount options: __________________________________________________________________
sda1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda5 rw,relatime,errors=remount-ro
===================== sda2/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid 9b90231f-55ab-4ac9-9626-42c2a11ec72b root hd0,msdos5
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda5/boot/grub/grub.cfg (filtered) ======================
Ubuntu 9b90231f-55ab-4ac9-9626-42c2a11ec72b
Ubuntu, avec Linux 5.8.0-43-generic 9b90231f-55ab-4ac9-9626-42c2a11ec72b
Ubuntu, avec Linux 5.8.0-41-generic 9b90231f-55ab-4ac9-9626-42c2a11ec72b
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda5/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=9b90231f-55ab-4ac9-9626-42c2a11ec72b / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda2 during installation
UUID=7C4B-D278 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
/file.swap none swap sw 0 0
======================= sda5/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=""
==================== sda5: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
891,992465973 = 957,769617408 boot/grub/grub.cfg 2
865,996353149 = 929,856503808 boot/vmlinuz 2
865,793228149 = 929,638400000 boot/vmlinuz-5.8.0-41-generic 1
865,996353149 = 929,856503808 boot/vmlinuz-5.8.0-43-generic 2
865,793228149 = 929,638400000 boot/vmlinuz.old 1
868,531864166 = 932,578988032 boot/initrd.img 6
898,177047729 = 964,410261504 boot/initrd.img-5.8.0-41-generic 3
868,531864166 = 932,578988032 boot/initrd.img-5.8.0-43-generic 6
898,177047729 = 964,410261504 boot/initrd.img.old 3
===================== sda5: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 17622 sept. 8 12:24 10_linux
-rwxr-xr-x 1 root root 42359 sept. 8 12:24 10_linux_zfs
-rwxr-xr-x 1 root root 12894 juil. 31 2020 20_linux_xen
-rwxr-xr-x 1 root root 12059 juil. 31 2020 30_os-prober
-rwxr-xr-x 1 root root 1424 juil. 31 2020 30_uefi-firmware
-rwxr-xr-x 1 root root 214 juil. 31 2020 40_custom
-rwxr-xr-x 1 root root 216 juil. 31 2020 41_custom
========= Devices which don't seem to have a corresponding hard drive ==========
sdb sdc sdd sde
=============================== StdErr Messages ================================
File descriptor 63 (pipe:[5637057]) leaked on lvs invocation. Parent PID 158340: /bin/bash
/dev/sdb: open failed: Aucun support trouvé
/dev/sdc: open failed: Aucun support trouvé
/dev/sdd: open failed: Aucun support trouvé
/dev/sde: open failed: Aucun support trouvé
/dev/sdb: open failed: Aucun support trouvé
/dev/sdc: open failed: Aucun support trouvé
/dev/sdd: open failed: Aucun support trouvé
/dev/sde: open failed: Aucun support trouvé
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
sda5,
using the following options: sda2/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
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.2 LTS CurrentSession entry (sda2/efi/****/shim****.efi (**** will be updated in the final message) file) !
_ _ _
Montre d'éventuels paquets cassés, en te servant du Retour utilisable de commande :
dpkg -l | grep -v ^ii
et les retours de :
sudo apt update
systemd-analyze time
systemd-analyze blame
systemd-analyze critical-chain
et :
ls -l /var/crash
Dernière modification par xubu1957 (Le 21/02/2021, à 19:27)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] 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
#3 Le 22/02/2021, à 10:25
- Retienne
Re : Lenteur au démarrage
Bonjour xubu1957, et merci de ton retour rapide.
Ci-dessous les retours des différentes commandes :
dpkg -l | grep -v ^ii
etienne@parents:~$ 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.4.0-42-generic 5.4.0-42.46 amd64 Signed kernel image generic
rc linux-image-5.4.0-52-generic 5.4.0-52.57 amd64 Signed kernel image generic
rc linux-image-5.4.0-53-generic 5.4.0-53.59 amd64 Signed kernel image generic
rc linux-image-5.4.0-54-generic 5.4.0-54.60 amd64 Signed kernel image generic
rc linux-image-5.4.0-56-generic 5.4.0-56.62 amd64 Signed kernel image generic
rc linux-image-5.4.0-58-generic 5.4.0-58.64 amd64 Signed kernel image generic
rc linux-image-5.4.0-59-generic 5.4.0-59.65 amd64 Signed kernel image generic
rc linux-image-5.8.0-34-generic 5.8.0-34.37~20.04.2 amd64 Signed kernel image generic
rc linux-image-5.8.0-36-generic 5.8.0-36.40~20.04.1 amd64 Signed kernel image generic
rc linux-image-5.8.0-38-generic 5.8.0-38.43~20.04.1 amd64 Signed kernel image generic
rc linux-image-5.8.0-40-generic 5.8.0-40.45~20.04.1 amd64 Signed kernel image generic
rc linux-modules-5.4.0-42-generic 5.4.0-42.46 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 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 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 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 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 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 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.8.0-34-generic 5.8.0-34.37~20.04.2 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc linux-modules-5.8.0-36-generic 5.8.0-36.40~20.04.1 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc linux-modules-5.8.0-38-generic 5.8.0-38.43~20.04.1 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc linux-modules-5.8.0-40-generic 5.8.0-40.45~20.04.1 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-42-generic 5.4.0-42.46 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 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 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 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 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 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 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.8.0-34-generic 5.8.0-34.37~20.04.2 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc linux-modules-extra-5.8.0-36-generic 5.8.0-36.40~20.04.1 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc linux-modules-extra-5.8.0-38-generic 5.8.0-38.43~20.04.1 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc linux-modules-extra-5.8.0-40-generic 5.8.0-40.45~20.04.1 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
sudo apt update
etienne@parents:~$ sudo apt update
Atteint :1 http://fr.archive.ubuntu.com/ubuntu focal InRelease
Atteint :2 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease
Atteint :3 http://dl.google.com/linux/chrome/deb stable InRelease
Réception de :4 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Atteint :5 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease
Atteint :6 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal InRelease
Atteint :7 https://updates.signal.org/desktop/apt xenial InRelease
Atteint :8 https://packages.microsoft.com/repos/ms-teams stable InRelease
109 ko réceptionnés en 1s (117 ko/s)
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Tous les paquets sont à jour.
systemd-analyze time
etienne@parents:~$ systemd-analyze time
Startup finished in 13.767s (kernel) + 1min 48.690s (userspace) = 2min 2.457s
graphical.target reached after 1min 48.511s in userspace
systemd-analyze blame
etienne@parents:~$ systemd-analyze time
Startup finished in 13.767s (kernel) + 1min 48.690s (userspace) = 2min 2.457s
graphical.target reached after 1min 48.511s in userspace
etienne@parents:~$ systemd-analyze blame
1min 3.732s plymouth-quit-wait.service
41.229s snapd.service
39.300s udisks2.service
27.369s networkd-dispatcher.service
25.158s libvirtd.service
21.959s dev-sda5.device
20.032s accounts-daemon.service
16.941s nmbd.service
16.463s dev-loop25.device
16.334s dev-loop24.device
16.323s dev-loop23.device
16.281s dev-loop22.device
16.251s dev-loop27.device
16.241s dev-loop28.device
16.086s dev-loop26.device
15.534s dev-loop17.device
15.433s dev-loop16.device
15.378s dev-loop11.device
15.208s dev-loop10.device
14.772s dev-loop13.device
14.665s dev-loop9.device
14.665s dev-loop12.device
14.662s dev-loop19.device
14.635s NetworkManager-wait-online.service
14.070s dev-loop7.device
13.823s dev-loop8.device
13.784s NetworkManager.service
13.564s avahi-daemon.service
13.501s polkit.service
13.383s dev-loop21.device
12.998s dev-loop20.device
12.992s pihole-FTL.service
12.772s dev-loop18.device
12.579s dev-loop15.device
12.512s switcheroo-control.service
12.369s thermald.service
12.368s systemd-logind.service
12.367s wpa_supplicant.service
12.366s systemd-machined.service
11.729s dev-loop6.device
11.444s dev-loop14.device
10.828s ModemManager.service
10.580s fwupd.service
9.935s dev-loop2.device
9.826s dev-loop0.device
9.322s smartmontools.service
9.271s dev-loop4.device
7.935s dev-loop5.device
7.882s systemd-timesyncd.service
7.752s dev-loop3.device
7.288s systemd-rfkill.service
7.057s lighttpd.service
6.889s smbd.service
6.771s systemd-resolved.service
6.743s dev-loop1.device
6.166s grub-common.service
5.961s systemd-journal-flush.service
5.610s grub-initrd-fallback.service
5.512s dhcpcd.service
5.511s user@998.service
5.489s gpu-manager.service
5.228s apport.service
5.066s colord.service
4.868s rsyslog.service
4.143s gdm.service
3.322s systemd-tmpfiles-setup.service
2.952s systemd-udevd.service
2.420s e2scrub_reap.service
1.775s snap-canonical\x2dlivepatch-95.mount
1.754s snap-core-10583.mount
1.696s snap-core-10823.mount
1.684s apparmor.service
1.653s snap-core18-1944.mount
1.584s snapd.apparmor.service
1.580s snap-core18-1988.mount
1.487s snap-core20-904.mount
1.408s snap-freecad-19.mount
1.338s lm-sensors.service
1.326s snap-gimp-322.mount
1.285s snap-gimp-347.mount
1.237s snap-gnome\x2d3\x2d28\x2d1804-145.mount
1.188s systemd-modules-load.service
1.185s snap-gnome\x2d3\x2d34\x2d1804-60.mount
1.154s snap-gnome\x2d3\x2d34\x2d1804-66.mount
1.051s snap-gtk\x2dcommon\x2dthemes-1513.mount
1.012s keyboard-setup.service
956ms snap-gtk\x2dcommon\x2dthemes-1514.mount
803ms systemd-journald.service
800ms modprobe@drm.service
779ms snap-htop-2069.mount
733ms snap-htop-2185.mount
683ms systemd-tmpfiles-setup-dev.service
677ms snap-kde\x2dframeworks\x2d5\x2dcore18-32.mount
644ms snap-odrive\x2dunofficial-2.mount
642ms systemd-udev-trigger.service
637ms libvirt-guests.service
625ms snap-snap\x2dstore-498.mount
607ms snap-snap\x2dstore-518.mount
604ms file.swap.swap
602ms snapd.seeded.service
581ms sysstat.service
575ms systemd-sysusers.service
574ms systemd-sysctl.service
571ms ufw.service
568ms swapfile.swap
558ms snap-snapd-10707.mount
556ms systemd-random-seed.service
500ms snap-snapd-11036.mount
455ms qemu-kvm.service
397ms snap-vlc-2103.mount
376ms kerneloops.service
356ms upower.service
356ms lvm2-monitor.service
339ms snap-spotify-43.mount
335ms pppd-dns.service
334ms snap-spotify-42.mount
325ms snap-vlc-1700.mount
323ms snap-zoom\x2dclient-133.mount
309ms snap-zoom\x2dclient-134.mount
276ms phpsessionclean.service
273ms systemd-remount-fs.service
238ms dev-hugepages.mount
237ms dev-mqueue.mount
236ms sys-kernel-debug.mount
236ms sys-kernel-tracing.mount
234ms blk-availability.service
233ms kmod-static-nodes.service
232ms systemd-tmpfiles-clean.service
206ms snap-sweethome3d\x2dhomedesign-12.mount
195ms console-setup.service
177ms setvtrgb.service
143ms user-runtime-dir@998.service
136ms plymouth-start.service
126ms rtkit-daemon.service
118ms user@1000.service
115ms systemd-fsck@dev-disk-by\x2duuid-7C4B\x2dD278.service
112ms systemd-user-sessions.service
57ms boot-efi.mount
49ms systemd-update-utmp.service
27ms packagekit.service
12ms alsa-restore.service
11ms plymouth-read-write.service
11ms user-runtime-dir@1000.service
5ms systemd-update-utmp-runlevel.service
4ms openvpn.service
3ms sys-fs-fuse-connections.mount
2ms sys-kernel-config.mount
1ms libvirtd.socket
1ms snapd.socket
lines 127-149/149 (END)
systemd-analyze critical-chain
etienne@parents:~$ systemd-analyze critical-chain
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.
graphical.target @1min 48.511s
└─multi-user.target @1min 48.511s
└─smbd.service @1min 16.302s +6.889s
└─nmbd.service @59.359s +16.941s
└─network-online.target @59.225s
└─NetworkManager-wait-online.service @44.589s +14.635s
└─NetworkManager.service @30.803s +13.784s
└─dbus.service @30.801s
└─basic.target @30.696s
└─sockets.target @30.696s
└─libvirtd-ro.socket @30.696s
└─libvirtd.socket @30.694s +1ms
└─sysinit.target @30.522s
└─systemd-timesyncd.service @59.138s +7.882s
└─systemd-tmpfiles-setup.service @27.023s +3.322s
└─local-fs.target @27.018s
└─run-user-998-gvfs.mount @1min 18.688s
└─run-user-998.mount @1min 1.381s
└─local-fs-pre.target @6.639s
└─systemd-tmpfiles-setup-dev.service @5.955s +683ms
└─systemd-sysusers.service @5.378s +575ms
└─systemd-remount-fs.service @4.807s +273ms
└─systemd-journald.socket @4.571s
└─system.slice @4.568s
└─-.slice @4.568s
lines 6-28/28 (END)
ls -l /var/crash
etienne@parents:~$ ls -l /var/crash
total 0
Hors ligne
#4 Le 22/02/2021, à 10:41
- xubu1957
Re : Lenteur au démarrage
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
_ _ _
Atteint :7 https://updates.signal.org/desktop/apt xenial InRelease
Vu ce reste de xenial, montre le sources.list :
find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] 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
#5 Le 22/02/2021, à 11:00
- Retienne
Re : Lenteur au démarrage
Re,
Nettoyage des noyaux faits.
sources.list :
etienne@parents:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;
/etc/apt/sources.list
1 # deb cdrom:[Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731)]/ focal main restricted
2
3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
4 # newer versions of the distribution.
5 deb http://fr.archive.ubuntu.com/ubuntu/ focal main restricted
6 # deb-src http://fr.archive.ubuntu.com/ubuntu/ focal main restricted
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates main restricted
11 # deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-updates main restricted
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
14 ## team. Also, please note that software in universe WILL NOT receive any
15 ## review or updates from the Ubuntu security team.
16 deb http://fr.archive.ubuntu.com/ubuntu/ focal universe
17 # deb-src http://fr.archive.ubuntu.com/ubuntu/ focal universe
18 deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates universe
19 # deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-updates universe
20
21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
22 ## team, and may not be under a free licence. Please satisfy yourself as to
23 ## your rights to use the software. Also, please note that software in
24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
25 ## security team.
26 deb http://fr.archive.ubuntu.com/ubuntu/ focal multiverse
27 # deb-src http://fr.archive.ubuntu.com/ubuntu/ focal multiverse
28 deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates multiverse
29 # deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-updates multiverse
30
31 ## N.B. software from this repository may not have been tested as
32 ## extensively as that contained in the main release, although it includes
33 ## newer versions of some applications which may provide useful features.
34 ## Also, please note that software in backports WILL NOT receive any review
35 ## or updates from the Ubuntu security team.
36 deb http://fr.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
37 # deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
38
39 ## Uncomment the following two lines to add software from Canonical's
40 ## 'partner' repository.
41 ## This software is not part of Ubuntu, but is offered by Canonical and the
42 ## respective vendors as a service to Ubuntu users.
43 # deb http://archive.canonical.com/ubuntu focal partner
44 # deb-src http://archive.canonical.com/ubuntu focal partner
45
46 deb http://security.ubuntu.com/ubuntu focal-security main restricted
47 # deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
48 deb http://security.ubuntu.com/ubuntu focal-security universe
49 # deb-src http://security.ubuntu.com/ubuntu focal-security universe
50 deb http://security.ubuntu.com/ubuntu focal-security multiverse
51 # deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
52
53 # This system was installed using small removable media
54 # (e.g. netinst, live or single CD). The matching "deb cdrom"
55 # entries were disabled at the end of the installation process.
56 # For information about how to configure apt package sources,
57 # see the sources.list(5) manual.
/etc/apt/sources.list.d/google-chrome.list
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/yannubuntu-ubuntu-boot-repair-focal.list
1 deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal main
2 # deb-src http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal main
/etc/apt/sources.list.d/teams.list
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main
/etc/apt/sources.list.d/signal-xenial.list
1 deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
Hors ligne
#6 Le 22/02/2021, à 11:15
- xubu1957
Re : Lenteur au démarrage
Vu ce fil > Comment installer Signal sur mon ordi sous Ubuntu 20
Pour signal, ne connaissant pas, je laisse répondre d'autres aidants.
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] 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
#7 Le 23/02/2021, à 07:33
- Retienne
Re : Lenteur au démarrage
Bonjour xubu1957,
La commande
dpkg -l | awk '/^rc/{print $2}' | xargs -r sudo dpkg -P
semble particulièrement efficace ; quelle est la différence avec
apt autoremove --purge
qui me semblait faire également le ménage dans les noyaux ?
Merci.
Etienne
Hors ligne
#8 Le 23/02/2021, à 07:35
- xubu1957
Re : Lenteur au démarrage
Bonjour,
Dans ce message de nany :
(...)
Proposons donc de parfaire le nettoyage. J’appelle ça faire les poussières, car dans les faits, on va supprimer des fichiers de configuration qui ne sont pas forcément volumineux. Bon, chez certains, la liste des fichiers de configurations résiduels peut s’avérer bien longue et les poussières deviennent des moutons. Donc ça ne mange pas de pain de faire ces poussières avec cette commande :dpkg -l | awk '/^rc/{print $2}' | xargs -r sudo dpkg -P
Traduction :
Si il existe des paquets désinstallés mais encore configurés, alors on fait une purge pour supprimer les fichiers de configuration.
(...)
Dans > Sens interdit, paquets cassés > 0, espace insuffisant… Que faire?
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] 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
#9 Le 23/02/2021, à 09:24
- cqfd93
Re : Lenteur au démarrage
Bonjour,
Vu ce fil > Comment installer Signal sur mon ordi sous Ubuntu 20
Pour signal, ne connaissant pas, je laisse répondre d'autres aidants.
Apparemment, la seule version de signal existante est pour xenial. Il n'y a pas de message d'erreur dans le retour de apt update donc si signal marche bien pour Retienne, il faut laisser comme ça.
− cqfd93 −
Hors ligne
#10 Le 23/02/2021, à 09:29
- xubu1957
Re : Lenteur au démarrage
Bonjour,
Merci cqfd93, pour ton intervention !
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] 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