Contenu | Rechercher | Menus

Annonce

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

À propos de l'équipe du forum.

#1 Le 23/11/2021, à 17:11

dd

ubuntu met 30min à démarrer

Bonjour,
Mon PC ne fonctionne plus normalement. Tout va bien jusqu'à l'apparition du logo Ubuntu puis écran noir avec curseur blanc de la souris pendant 30 min à chaque démarrage.
Je subodore un problème de disque mais je ne suis pas du tout performante là dessus et je tremble de faire une mauvaise manip avec les disques. Il est question dans le boot info de "repair EFI" et "BIOS-compatibility mode" que je ne sais pas appliquer.

J'ai ubuntu sur un live USB mais mon PC (de bureau) ne veut pas booter dessus.

Le rapport boot info : https://bin.infini.fr/?1fc98e9f4b4f6d08 … 7pnt7H2kMq

Si un contributeur pouvait m'éclairer... Merci
dd


OS: Ubuntu 20.04 focal / Kernel: x86_64 Linux 5.8.0-63-generic
Shell: bash 5.0.17 / DE: GNOME 3.36.5
CPU: Intel Core i3 540 @ 4x 3.067GHz
GPU: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)

Hors ligne

#2 Le 23/11/2021, à 17:21

xubu1957

Re : ubuntu met 30min à démarrer

Bonjour,

Collage du boot-info :

boot-info-4ppa130                                              [20211123_1658]

============================== 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
    ---------------------------------------------------------------------------
 => Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos1)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------
 => Windows 2000/XP/2003 is installed in the MBR of /dev/sdc.

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:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sda5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.3 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img

sdb1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 18.04.6 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img

sdb2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sdb5: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sdc1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 7/2008: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        


================================ 2 OS detected =================================

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.3 LTS CurrentSession on sda5
OS#2:   Ubuntu 18.04.6 LTS on sdb1

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.11.0-40-generic root=UUID=ad0136c9-5f88-48e8-b33e-295289c52576 ro quiet splash vt.handoff=7


===================================== UEFI =====================================

This installed-session is not in EFI-mode.



============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sdb	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sdc	: notGPT,	no-BIOSboot,	has-noESP, 	usb-disk,	not-mmc, no-os,	64 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda5	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb1	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sdc1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

sda5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb1	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdc1	: isnotESP,	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
sdb1	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb
sdc1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdc

fdisk -l (filtered): ___________________________________________________________

Disk sda: 596.18 GiB, 640135028736 bytes, 1250263728 sectors
Disk identifier: 0x00013f18
      Boot   Start        End    Sectors   Size Id Type
sda1  *       2048    1050623    1048576   512M  b W95 FAT32
sda2       1052670 1250263039 1249210370 595.7G  5 Extended
sda5       1052672 1250263039 1249210368 595.7G 83 Linux
Disk sdb: 111.81 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0xa25d219b
      Boot     Start       End   Sectors  Size Id Type
sdb1            2048 226416639 226414592  108G 83 Linux
sdb2       226418686 234440703   8022018  3.8G  5 Extended
sdb5       226418688 234440703   8022016  3.8G 82 Linux swap / Solaris
Disk sdc: 1.37 TiB, 1500301910016 bytes, 2930277168 sectors
Disk identifier: 0xc8424c1c
      Boot Start        End    Sectors  Size Id Type
sdc1  *       64 2930272064 2930272001  1.4T  7 HPFS/NTFS/exFAT

parted -lm (filtered): _________________________________________________________

sda:640GB:scsi:512:512:msdos:ATA WDC WD6400AARS-0:;
1:1049kB:538MB:537MB:fat32::boot;
2:539MB:640GB:640GB:::;
5:539MB:640GB:640GB:ext4::;
sdb:120GB:scsi:512:4096:msdos:ATA KINGSTON SUV400S:;
1:1049kB:116GB:116GB:ext4::;
2:116GB:120GB:4107MB:::;
5:116GB:120GB:4107MB:linux-swap(v1)::;
sdc:1500GB:scsi:512:512:msdos:Samsung M3 Portable:;
1:32.8kB:1500GB:1500GB:ntfs::boot;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL   PARTLABEL
sda                                                                                               
├─sda1 vfat     FEF1-15EC                            00013f18-01                                  
├─sda2                                               00013f18-02                                  
└─sda5 ext4     ad0136c9-5f88-48e8-b33e-295289c52576 00013f18-05                                  
sdb                                                                                               
├─sdb1 ext4     78040eb1-2f41-4323-b586-2e54860db90b a25d219b-01                                  
├─sdb2                                               a25d219b-02                                  
└─sdb5 swap     ffbde46a-35d4-470e-b09f-77cdfb727c5e a25d219b-05                                  
sdc                                                                                               
└─sdc1 ntfs     869CA3AC9CA39569                     c8424c1c-01                          SAMSUNG 

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
sda5              439.9G  20% /
sdb1               49.5G  48% /mnt/boot-sav/sdb1
sdc1              469.3G  66% /mnt/usb-Samsung_M3_Portable_0E6D7DE305000193-0:0-part1

Mount options: __________________________________________________________________

sda5              rw,relatime,errors=remount-ro
sdb1              rw,relatime
sdc1              rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096

====================== sda5/boot/grub/grub.cfg (filtered) ======================

Ubuntu   ad0136c9-5f88-48e8-b33e-295289c52576
Ubuntu, avec Linux 5.11.0-40-generic   ad0136c9-5f88-48e8-b33e-295289c52576
Ubuntu, avec Linux 5.11.0-38-generic   ad0136c9-5f88-48e8-b33e-295289c52576
Ubuntu 18.04.6 LTS (18.04) (sur sdb1)   78040eb1-2f41-4323-b586-2e54860db90b
Ubuntu (sur sdb1)   78040eb1-2f41-4323-b586-2e54860db90b
Ubuntu, avec Linux 4.15.0-158-generic (sur sdb1)   78040eb1-2f41-4323-b586-2e54860db90b
Ubuntu, avec Linux 4.15.0-154-generic (sur sdb1)   78040eb1-2f41-4323-b586-2e54860db90b
Ubuntu, avec Linux 4.15.0-151-generic (sur sdb1)   78040eb1-2f41-4323-b586-2e54860db90b
### 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=ad0136c9-5f88-48e8-b33e-295289c52576 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=FEF1-15EC  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
/dev/disk/by-id/usb-Samsung_M3_Portable_0E6D7DE305000193-0:0-part1 /mnt/usb-Samsung_M3_Portable_0E6D7DE305000193-0:0-part1 auto nosuid,nodev,nofail,x-gvfs-show 0 0

======================= sda5/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=""

==================== sda5: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
 440.761547089 = 473.264107520  boot/grub/grub.cfg                             3
 388.862361908 = 417.537781760  boot/grub/i386-pc/core.img                     1
 443.989448547 = 476.730040320  boot/vmlinuz                                   1
 398.675457001 = 428.074512384  boot/vmlinuz-5.11.0-38-generic                 2
 443.989448547 = 476.730040320  boot/vmlinuz-5.11.0-40-generic                 1
 398.675457001 = 428.074512384  boot/vmlinuz.old                               2
 444.543758392 = 477.325225984  boot/initrd.img                                3
 443.361324310 = 476.055597056  boot/initrd.img-5.11.0-38-generic              5
 444.543758392 = 477.325225984  boot/initrd.img-5.11.0-40-generic              3
 443.361324310 = 476.055597056  boot/initrd.img.old                            5

===================== sda5: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 18151 août  12 11:18 10_linux
-rwxr-xr-x 1 root root 42359 janv. 13  2021 10_linux_zfs
-rwxr-xr-x 1 root root 12894 janv. 13  2021 20_linux_xen
-rwxr-xr-x 1 root root 12059 janv. 13  2021 30_os-prober
-rwxr-xr-x 1 root root  1424 janv. 13  2021 30_uefi-firmware
-rwxr-xr-x 1 root root   214 janv. 13  2021 40_custom
-rwxr-xr-x 1 root root   216 janv. 13  2021 41_custom

====================== sdb1/boot/grub/grub.cfg (filtered) ======================

Ubuntu   78040eb1-2f41-4323-b586-2e54860db90b
Ubuntu, avec Linux 4.15.0-158-generic   78040eb1-2f41-4323-b586-2e54860db90b
Ubuntu, avec Linux 4.15.0-154-generic   78040eb1-2f41-4323-b586-2e54860db90b
Ubuntu, avec Linux 4.15.0-151-generic   78040eb1-2f41-4323-b586-2e54860db90b
Ubuntu 20.04.3 LTS (20.04) (sur sda5)   ad0136c9-5f88-48e8-b33e-295289c52576
Ubuntu (sur sda5)   ad0136c9-5f88-48e8-b33e-295289c52576
Ubuntu, avec Linux 5.11.0-38-generic (sur sda5)   ad0136c9-5f88-48e8-b33e-295289c52576
Ubuntu, avec Linux 5.11.0-37-generic (sur sda5)   ad0136c9-5f88-48e8-b33e-295289c52576
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb1/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb1 during installation
UUID=78040eb1-2f41-4323-b586-2e54860db90b /               ext4    errors=remount-ro 0       1
# swap was on /dev/sdb5 during installation
UUID=ffbde46a-35d4-470e-b09f-77cdfb727c5e none            swap    sw              0       0
/dev/disk/by-id/usb-Kingston_DT_101_G2_001CC0EC3466FB91171E2568-0:0-part1 /mnt/usb-Kingston_DT_101_G2_001CC0EC3466FB91171E2568-0:0-part1 auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-id/usb-General_USB_Flash_Disk_6611030000218278-0:0 /mnt/usb-General_USB_Flash_Disk_6611030000218278-0:0 auto nosuid,nodev,nofail,x-gvfs-show 0 0

======================= sdb1/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

==================== sdb1: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
  74.211956024 = 79.684481024   boot/grub/grub.cfg                             2
  72.454669952 = 77.797609472   boot/grub/i386-pc/core.img                     1
  67.368221283 = 72.336076800   boot/vmlinuz-4.15.0-151-generic                1
   1.415096283 = 1.519448064    boot/vmlinuz-4.15.0-154-generic                1
   0.743221283 = 0.798027776    boot/vmlinuz-4.15.0-158-generic                1
   0.743221283 = 0.798027776    vmlinuz                                        1
   1.415096283 = 1.519448064    vmlinuz.old                                    1
   1.801563263 = 1.934413824    boot/initrd.img-4.15.0-151-generic             6
   4.628311157 = 4.969611264    boot/initrd.img-4.15.0-154-generic             5
   1.042373657 = 1.119240192    boot/initrd.img-4.15.0-158-generic             3
   1.042373657 = 1.119240192    initrd.img                                     3
   4.628311157 = 4.969611264    initrd.img.old                                 5

===================== sdb1: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 12808 févr. 24  2021 10_linux
-rwxr-xr-x 1 root root 11298 févr. 24  2021 20_linux_xen
-rwxr-xr-x 1 root root 12059 févr. 24  2021 30_os-prober
-rwxr-xr-x 1 root root  1418 févr. 24  2021 30_uefi-firmware
-rwxr-xr-x 1 root root   214 févr. 24  2021 40_custom
-rwxr-xr-x 1 root root   216 févr. 24  2021 41_custom


Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi-amd64-signed of
sda5,
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.
Alternatively, you may want to retry after deactivating the [Separate /usr partition:] option.
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 L'OS actuellement utilisé - Ubuntu 20.04.3 LTS CurrentSession 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.

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

#3 Le 25/11/2021, à 15:46

dd

Re : ubuntu met 30min à démarrer

Merci,
Le mystère s'épaissit..


OS: Ubuntu 20.04 focal / Kernel: x86_64 Linux 5.8.0-63-generic
Shell: bash 5.0.17 / DE: GNOME 3.36.5
CPU: Intel Core i3 540 @ 4x 3.067GHz
GPU: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)

Hors ligne

#4 Le 25/11/2021, à 16:38

geole

Re : ubuntu met 30min à démarrer

Bonjour
Pour mieux voir les points d'achoppement au démarrage, peux-tu donner  ces retours

systemd-analyze time
systemd-analyze blame | head -25
systemd-analyze critical-chain
journalctl -b --no-pager -p err
ls -l /var/crash

Pour avoir une idée de l'état du disque dur, tu vas installer l'application smartmontools avec cette commande

sudo apt-get install --no-install-recommends smartmontools 

et tu publieras le retour de ces commandes

sudo smartctl  -s on -a /dev/sda
sudo smartctl  -s on -a /dev/sdb
sudo smartctl  -s on -a /dev/sdc

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

#5 Le 25/11/2021, à 16:39

iznobe

Re : ubuntu met 30min à démarrer

Bonjour , si c ' est un probleme de disque , le boot-info ne sera pas d ' une grande utilité .

il faudrait , a partir d ' un session live USB , lancer une verification de tes disques et donner un rapport smartctl de tes disques .
une fois demarrer en live session , passer la commande suivante :

sudo fsck -f -c -v /dev/sda1

ainsi que pour toutes les partitions au format ext .
c ' est un peu long , mais ca corrigera les erreurs .
plus d' explication dans la doc : https://doc.ubuntu-fr.org/fsck

Pour les rapports des disques :
la doc est ici https://doc.ubuntu-fr.org/smartmontools
pour chaque disque :

sudo smartctl -s on -a /dev/sda
sudo smartctl -s on -a /dev/sdb
sudo smartctl -s on -a /dev/sdc

Dernière modification par iznobe (Le 25/11/2021, à 16:40)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#6 Le 25/11/2021, à 16:44

geole

Re : ubuntu met 30min à démarrer

Pourquoi as-tu cette ligne dans ton fichier /etc/fstab

/dev/disk/by-id/usb-Samsung_M3_Portable_0E6D7DE305000193-0:0-part1 /mnt/usb-Samsung_M3_Portable_0E6D7DE305000193-0:0-part1 auto nosuid,nodev,nofail,x-gvfs-show 0 0

Normalement les disques sur support USB n'ont pas à être définis car ils doivent se monter automatiquement lorsqu'on les branche.

Dernière modification par geole (Le 25/11/2021, à 16:59)


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

#7 Le 25/11/2021, à 16:57

iznobe

Re : ubuntu met 30min à démarrer

geole a écrit :

Pourquoi as-tu cette ligne dans ton fichier /etc/fstab

/dev/disk/by-id/usb-Samsung_M3_Portable_0E6D7DE305000193-0:0-part1 /mnt/usb-Samsung_M3_Portable_0E6D7DE305000193-0:0-part1 auto nosuid,nodev,nofail,x-gvfs-show 0 0

Normalement les disques sur support n'ont pas à être définis car ils doivent se monter automatiquement lorsqu'on les branche.

+1 et
j ' ajouterai que si le support n ' est pas connecté , c ' est surement pour ca qu ' il passe demi heure a le chercher ...

Dernière modification par iznobe (Le 25/11/2021, à 16:57)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#8 Le 25/11/2021, à 19:35

dd

Re : ubuntu met 30min à démarrer

Merci pour vos messages à tous.

Je réponds d'abord (dans l'ordre) à @geole avec les liens vers les résultats :

https://drop.infini.fr/r/EZomYFkv3_#0Pq … +/qozlhSs=
https://drop.infini.fr/r/nhpZfGDW_j#MC+ … rTH6dnCcc=


OS: Ubuntu 20.04 focal / Kernel: x86_64 Linux 5.8.0-63-generic
Shell: bash 5.0.17 / DE: GNOME 3.36.5
CPU: Intel Core i3 540 @ 4x 3.067GHz
GPU: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)

Hors ligne

#9 Le 25/11/2021, à 19:36

dd

Re : ubuntu met 30min à démarrer

@iznobe
Mon PC ne veut démarrer sur aucun de mes supports live USB


OS: Ubuntu 20.04 focal / Kernel: x86_64 Linux 5.8.0-63-generic
Shell: bash 5.0.17 / DE: GNOME 3.36.5
CPU: Intel Core i3 540 @ 4x 3.067GHz
GPU: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)

Hors ligne

#10 Le 25/11/2021, à 19:39

dd

Re : ubuntu met 30min à démarrer

@geole et @geole
ce support était monté 2 fois (1 fois automatiquement / 1 fois comme en /dev/disk/by-id/usb-Samsung_M3_Portable_0E6D7DE305000193-0:0-part1)
J'ai démonté les 2 mais cela ne règle pas mon problème de lenteur.

Je vais redémarrer pour voir.

Merci


OS: Ubuntu 20.04 focal / Kernel: x86_64 Linux 5.8.0-63-generic
Shell: bash 5.0.17 / DE: GNOME 3.36.5
CPU: Intel Core i3 540 @ 4x 3.067GHz
GPU: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)

Hors ligne

#11 Le 25/11/2021, à 19:46

geole

Re : ubuntu met 30min à démarrer

Il était possible de faire directement un copier/coller de la réponse dans la discussion

journalctl -b --no-pager -p errdd@ddpc:/$ systemd-analyze time
Startup finished in 13.681s (kernel) + 2min 13.961s (userspace) = 2min 27.643s
graphical.target reached after 2min 13.950s in userspace 
dd@ddpc:/$ systemd-analyze blame | head -25
1min 34.444s mysql.service                                        
1min 16.454s apt-daily.service                                    
     59.105s logrotate.service                                    
     42.239s man-db.service                                       
     41.376s fwupd-refresh.service                                
     40.777s plymouth-quit-wait.service                           
     33.920s postfix@-.service                                    
     22.813s udisks2.service                                      
     21.972s networkd-dispatcher.service                          
     21.520s dev-sda5.device                                      
     19.863s phpsessionclean.service                              
     15.118s accounts-daemon.service                              
     13.032s NetworkManager-wait-online.service                   
     12.569s apache2.service                                      
     12.095s motd-news.service                                    
     10.560s NetworkManager.service                               
     10.348s ModemManager.service                                 
      9.418s polkit.service                                       
      9.176s avahi-daemon.service                                 
      8.241s switcheroo-control.service                           
      8.232s thermald.service                                     
      8.230s systemd-logind.service                               
      8.229s wpa_supplicant.service                               
      8.212s ua-timer.service                                     
      5.639s gpu-manager.service                                  
[code]dd@ddpc:/$ 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.[/code]

graphical.target @2min 13.950s
└─multi-user.target @2min 13.950s
  └─mysql.service @39.505s +1min 34.444s
    └─network.target @39.200s
      └─NetworkManager.service @28.639s +10.560s
        └─dbus.service @28.634s
          └─basic.target @28.460s
            └─sockets.target @28.460s
              └─uuidd.socket @28.458s
                └─sysinit.target @28.262s
                  └─systemd-timesyncd.service @27.978s +284ms
                    └─systemd-tmpfiles-setup.service @26.124s +1.696s
                      └─local-fs.target @26.119s
                        └─boot-efi.mount @26.077s +41ms
                          └─systemd-fsck@dev-disk-by\x2duuid-FEF1\x2d15EC.servi>
                            └─dev-disk-by\x2duuid-FEF1\x2d15EC.device @25.891s
dd@ddpc:/$ journalctl -b --no-pager -p err
-- Logs begin at Mon 2021-10-04 18:48:36 CEST, end at Thu 2021-11-25 19:22:00 CET. --
nov. 23 15:13:38 ddpc kernel: sd 4:0:0:0: [sdc] No Caching mode page found
nov. 23 15:13:38 ddpc kernel: sd 4:0:0:0: [sdc] Assuming drive cache: write through
nov. 23 15:15:14 ddpc pulseaudio[1030]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
nov. 23 15:16:55 ddpc systemd[991]: Failed to start GNOME Shell on X11.
nov. 23 15:18:31 ddpc systemd[991]: Failed to start GNOME Shell on X11.
nov. 23 15:20:06 ddpc systemd[991]: Failed to start GNOME Shell on X11.
nov. 23 17:39:34 ddpc pulseaudio[104036]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
nov. 23 17:39:55 ddpc gdm-password][104479]: gkr-pam: unable to locate daemon control file
nov. 23 17:40:20 ddpc pulseaudio[104489]: GetManagedObjects() failed: org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)
nov. 23 17:40:25 ddpc gdm-password][105348]: gkr-pam: unable to locate daemon control file
nov. 23 17:40:51 ddpc pulseaudio[105360]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
nov. 25 17:16:48 ddpc kernel: ata1.00: SRST failed (errno=-16)
nov. 25 17:17:12 ddpc kernel: sd 4:0:0:0: [sdc] No Caching mode page found
nov. 25 17:17:12 ddpc kernel: sd 4:0:0:0: [sdc] Assuming drive cache: write through
nov. 25 17:20:46 ddpc kernel: Buffer I/O error on dev sdc3, logical block 557056, lost sync page write
nov. 25 17:20:46 ddpc kernel: JBD2: Error -5 detected when updating journal superblock for sdc3-8.
nov. 25 17:20:46 ddpc kernel: Aborting journal on device sdc3-8.
nov. 25 17:20:46 ddpc kernel: Buffer I/O error on dev sdc3, logical block 557056, lost sync page write
nov. 25 17:20:46 ddpc kernel: JBD2: Error -5 detected when updating journal superblock for sdc3-8.
nov. 25 18:32:35 ddpc kernel: sd 4:0:0:0: [sdc] No Caching mode page found
nov. 25 18:32:35 ddpc kernel: sd 4:0:0:0: [sdc] Assuming drive cache: write through
dd@ddpc:/$ ls -l /var/crash
total 4160
-rw-r----- 1 dd       whoopsie 4252658 nov.  23 15:21 _usr_bin_nautilus.1000.crash
-rw-r--r-- 1 dd       whoopsie       0 nov.  23 14:54 _usr_bin_nautilus.1000.upload
-rw------- 1 whoopsie whoopsie      37 nov.  23 14:54 _usr_bin_nautilus.1000.uploaded

Des pistes à creuser pour quatre minutes

nov. 23 15:16:55 ddpc systemd[991]: Failed to start GNOME Shell on X11.
nov. 23 15:18:31 ddpc systemd[991]: Failed to start GNOME Shell on X11.
nov. 23 15:20:06 ddpc systemd[991]: Failed to start GNOME Shell on X11.

et surtout celle-ci

nov. 25 17:20:46 ddpc kernel: Buffer I/O error on dev sdc3, logical block 557056, lost sync page write
nov. 25 17:20:46 ddpc kernel: JBD2: Error -5 detected when updating journal superblock for sdc3-8.
nov. 25 18:32:35 ddpc kernel: sd 4:0:0:0: [sdc] No Caching mode page found

Dernière modification par geole (Le 25/11/2021, à 19:51)


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

#12 Le 25/11/2021, à 19:55

geole

Re : ubuntu met 30min à démarrer

dd@ddpc:/$ sudo smartctl  -s on -a /dev/sda
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.11.0-40-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Green (AF)
Device Model:     WDC WD6400AARS-00Y5B1
Serial Number:    WD-WCAV5C998464
LU WWN Device Id: 5 0014ee 204774e18
Firmware Version: 80.00A80
User Capacity:    640135028736 bytes [640 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Thu Nov 25 19:28:23 2021 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82)	Offline data collection activity
					was completed without error.
					Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(13200) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 154) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x3031)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   131   118   021    Pre-fail  Always       -       6450
  4 Start_Stop_Count        0x0032   096   096   000    Old_age   Always       -       4105
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   076   076   000    Old_age   Always       -       18139
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   096   096   000    Old_age   Always       -       4093
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       123
193 Load_Cycle_Count        0x0032   001   001   000    Old_age   Always       -       879502
194 Temperature_Celsius     0x0022   111   101   000    Old_age   Always       -       36
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After canning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

Le disque est en bon état.

dd@ddpc:/$ sudo smartctl  -s on -a /dev/sdb
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.11.0-40-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Kingston SSDNow UV400
Device Model:     KINGSTON SUV400S37120G
Serial Number:    50026B766C023CE1
LU WWN Device Id: 0 550380 440010000
Firmware Version: 0C3J96R9
User Capacity:    120034123776 bytes [120 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    Solid State Device
Form Factor:      M.2
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-4, ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Thu Nov 25 19:28:32 2021 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(    5) seconds.
Offline data collection
capabilities: 			 (0x71) SMART execute Offline immediate.
					No Auto Offline data collection support.
					Suspend Offline collection upon new
					command.
					No Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 (   5) minutes.
Conveyance self-test routine
recommended polling time: 	 (   0) minutes.
SCT capabilities: 	       (0x003d)	SCT Status supported.
					SCT Error Recovery Control supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 48
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   100   100   000    Pre-fail  Always       -       110
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       6338
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       1110
100 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       2651712
101 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       1031616
170 Reserved_Block_Count    0x0032   100   100   000    Old_age   Always       -       0
171 Program_Fail_Count      0x0032   100   100   000    Old_age   Always       -       0
172 Erase_Fail_Count        0x0032   100   100   000    Old_age   Always       -       0
174 Unexpect_Power_Loss_Ct  0x0032   100   100   000    Old_age   Always       -       27
175 Program_Fail_Count_Chip 0x0032   100   100   000    Old_age   Always       -       0
176 Erase_Fail_Count_Chip   0x0032   100   100   000    Old_age   Always       -       0
177 Wear_Leveling_Count     0x0032   096   096   000    Old_age   Always       -       1563
178 Used_Rsvd_Blk_Cnt_Chip  0x0002   100   100   000    Old_age   Always       -       0
180 Unused_Rsvd_Blk_Cnt_Tot 0x0002   100   100   000    Old_age   Always       -       624
183 Runtime_Bad_Block       0x0032   093   093   000    Old_age   Always       -       48
187 Reported_Uncorrect      0x0033   100   100   000    Pre-fail  Always       -       0
194 Temperature_Celsius     0x0022   034   100   000    Old_age   Always       -       34 (Min/Max 13/44)
195 Hardware_ECC_Recovered  0x0032   100   100   000    Old_age   Always       -       110
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
199 UDMA_CRC_Error_Count    0x0012   100   100   000    Old_age   Always       -       0
201 Unc_Read_Error_Rate     0x0032   100   100   000    Old_age   Always       -       0
204 Soft_ECC_Correction     0x0032   100   100   000    Old_age   Always       -       110
231 SSD_Life_Left           0x0032   093   093   000    Old_age   Always       -       7
233 Media_Wearout_Indicator 0x0032   100   100   000    Old_age   Always       -       4769
234 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       2027
241 Total_LBAs_Written      0x0032   100   100   000    Old_age   Always       -       4193
242 Total_LBAs_Read         0x0032   100   100   000    Old_age   Always       -       3478
250 Read_Retry_Count        0x0032   100   100   000    Old_age   Always       -       110

SMART Error Log Version: 0
No Errors Logged

SMART Self-test log structure revision number 0
Warning: ATA Specification requires self-test log structure revision number = 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

Le disque est en bon état.

dd@ddpc:/$ sudo smartctl  -s on -a /dev/sdc
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.11.0-40-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/sdc failed: No such device

Pourquoi cela?

Dernière modification par geole (Le 25/11/2021, à 22:44)


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

#13 Le 25/11/2021, à 20:01

iznobe

Re : ubuntu met 30min à démarrer

Bizzarre ces rapports smart ...
SDB :

Rotation Rate:    Solid State Device
Form Factor:      M.2

id de peripherique : /dev/sdb , j ' aurais pluto vu ca , genre sur /dev/nvme0n1 . A priori c' est un SSD SATA au format M.2 , donc normal .

SDC pas de disque , pourtant sur le boot info , j ' y ai vu un systeme de fichier NTFS .

Sur le boot-info , on voit que tu as installé ubuntu 20.04.3 LTS sur SDA5 , qui est un disque dur a plateau , alors que ton disque SDB ( le SSD ) est genre 5 a 10 fois plus rapide .

Si tu veux demarrer ton ubuntu 20.04 , il faut l' installer sur le SSD , celui de 120 Go .

Dernière modification par iznobe (Le 25/11/2021, à 20:12)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#14 Le 25/11/2021, à 22:48

geole

Re : ubuntu met 30min à démarrer

Je n'ai pas de piste pour expliquer les trentes minutes du temps de mise en route.
Mais je viens de voir presque trente minutes.

ddpc:/$ ls -l /var/crash
-rw-r----- 1 dd       whoopsie 4252658 nov.  23 15:21 _usr_bin_nautilus.1000.crash
-rw-r--r-- 1 dd       whoopsie       0 nov.  23 14:54 _usr_bin_nautilus.1000.upload

Pour tenter de savoir ce qui se passe dans cet intervalle, peux-tu donner ce retour.

journalctl  --since  "2021-11-25 14:53" --until  "2021-11-25 15:22"   >Trace.txt && cat Trace.txt

Dernière modification par geole (Le 25/11/2021, à 23:31)


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

#15 Le 29/11/2021, à 11:59

dd

Re : ubuntu met 30min à démarrer

Merci @geole de tes recherches.

Je viens de redémarrer après 4 jours d'interruption et la commande ne retourne rien :

dd@ddpc:~$ journalctl  --since  "2021-11-25 14:53" --until  "2021-11-25 15:22"   >Trace.txt && cat Trace.txt
-- Logs begin at Mon 2021-10-04 18:48:36 CEST, end at Mon 2021-11-29 11:54:49 CET. --
-- No entries --

@iznobe
J'ai bien un Ubuntu 20 sur un live USB mais mon PC ne veut absolument pas booter dessus...


OS: Ubuntu 20.04 focal / Kernel: x86_64 Linux 5.8.0-63-generic
Shell: bash 5.0.17 / DE: GNOME 3.36.5
CPU: Intel Core i3 540 @ 4x 3.067GHz
GPU: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)

Hors ligne

#16 Le 29/11/2021, à 13:41

dd

Re : ubuntu met 30min à démarrer

[update]
j'ai réussi en ligne de commande à mettre à jour Ubuntu 18.4 qui est monté sur dev/sdb1
mais lorsque je veux démarrer dessus j'ai le message :

impossible de trouver 1 périphérique /dev/SDD1 vérifier device.map

Ubuntu 20 démarre sur /dev/sda1 mais est très lent


OS: Ubuntu 20.04 focal / Kernel: x86_64 Linux 5.8.0-63-generic
Shell: bash 5.0.17 / DE: GNOME 3.36.5
CPU: Intel Core i3 540 @ 4x 3.067GHz
GPU: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)

Hors ligne

#17 Le 29/11/2021, à 15:36

geole

Re : ubuntu met 30min à démarrer

Bonjour
Pour ton double boot, on va regarder  le contenu des installations avec boot-info

sudo add-apt-repository -y ppa:yannubuntu/boot-repair ; sudo apt update ; sudo apt install -y boot-info ; boot-info

Tu posteras l'URL qui sera générée

Pour la lenteur, peux-tu fournir toute la trace (C'est volumineux)

journalctl -xb > Log.txt && xdg-open Log.txt

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

#18 Le 29/11/2021, à 20:58

dd

Re : ubuntu met 30min à démarrer

Voici l'URL
https://paste.ubuntu.com/p/2HHwX6cmXB/

Même avec un sudo la commande n'est pas acceptée :
dd@ddpc:/$ sudo journalctl -xb > Log.txt && xdg-open Log.txt
bash: Log.txt: Permission denied

donc voici la première partie :

-- Logs begin at Fri 2021-10-08 15:12:54 CEST, end at Mon 2021-11-29 20:54:37 C>
nov. 29 13:20:14 ddpc kernel: microcode: microcode updated early to revision 0x>
nov. 29 13:20:14 ddpc kernel: Linux version 5.11.0-40-generic (buildd@lgw01-amd>
nov. 29 13:20:14 ddpc kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-5.11.0-40->
nov. 29 13:20:14 ddpc kernel: KERNEL supported cpus:
nov. 29 13:20:14 ddpc kernel:   Intel GenuineIntel
nov. 29 13:20:14 ddpc kernel:   AMD AuthenticAMD
nov. 29 13:20:14 ddpc kernel:   Hygon HygonGenuine
nov. 29 13:20:14 ddpc kernel:   Centaur CentaurHauls
nov. 29 13:20:14 ddpc kernel:   zhaoxin   Shanghai  
nov. 29 13:20:14 ddpc kernel: x86/fpu: x87 FPU will use FXSAVE
nov. 29 13:20:14 ddpc kernel: BIOS-provided physical RAM map:
nov. 29 13:20:14 ddpc kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009>
nov. 29 13:20:14 ddpc kernel: BIOS-e820: [mem 0x000000000009fc00-0x000000000009>
nov. 29 13:20:14 ddpc kernel: BIOS-e820: [mem 0x00000000000e4000-0x00000000000f>
nov. 29 13:20:14 ddpc kernel: BIOS-e820: [mem 0x0000000000100000-0x00000000bcf6>
nov. 29 13:20:14 ddpc kernel: BIOS-e820: [mem 0x00000000bcf70000-0x00000000bcf8>
nov. 29 13:20:14 ddpc kernel: BIOS-e820: [mem 0x00000000bcf88000-0x00000000bcfd>
nov. 29 13:20:14 ddpc kernel: BIOS-e820: [mem 0x00000000bcfdc000-0x00000000bd7f>
nov. 29 13:20:14 ddpc kernel: BIOS-e820: [mem 0x00000000bde00000-0x00000000bfff>
nov. 29 13:20:14 ddpc kernel: BIOS-e820: [mem 0x00000000fee00000-0x00000000fee0>
nov. 29 13:20:14 ddpc kernel: BIOS-e820: [mem 0x00000000ff800000-0x00000000ffff>
nov. 29 13:20:14 ddpc kernel: BIOS-e820: [mem 0x0000000100000000-0x0000000137ff>

merci


OS: Ubuntu 20.04 focal / Kernel: x86_64 Linux 5.8.0-63-generic
Shell: bash 5.0.17 / DE: GNOME 3.36.5
CPU: Intel Core i3 540 @ 4x 3.067GHz
GPU: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)

Hors ligne

#19 Le 29/11/2021, à 21:28

xubu1957

Re : ubuntu met 30min à démarrer

Bonjour,

Collage du Boot-info :

boot-info-4ppa130                                              [20211129_2051]

============================== 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
    ---------------------------------------------------------------------------
 => Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos1)/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:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sda5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.3 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img

sdb1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 18.04.6 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img

sdb2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sdb5: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sdc: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:   mount: /mnt/BootInfo/FD/sdc: /dev/sdc déjà monté ou point de montage actif.

sdd: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:   mount: /mnt/BootInfo/FD/sdd: /dev/sdd déjà monté ou point de montage actif.


================================ 2 OS detected =================================

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.3 LTS CurrentSession on sda5
OS#2:   Ubuntu 18.04.6 LTS on sdb1

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.11.0-40-generic root=UUID=ad0136c9-5f88-48e8-b33e-295289c52576 ro quiet splash vt.handoff=7


===================================== UEFI =====================================

This installed-session is not in EFI-mode.



============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sdb	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda5	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sdb1	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios

Partitions info (2/3): _________________________________________________________

sda5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb1	: isnotESP,	fstab-without-efi,	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
sdb1	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 596.18 GiB, 640135028736 bytes, 1250263728 sectors
Disk identifier: 0x00013f18
      Boot   Start        End    Sectors   Size Id Type
sda1  *       2048    1050623    1048576   512M  b W95 FAT32
sda2       1052670 1250263039 1249210370 595.7G  5 Extended
sda5       1052672 1250263039 1249210368 595.7G 83 Linux
Disk sdb: 111.81 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0xa25d219b
      Boot     Start       End   Sectors  Size Id Type
sdb1            2048 226416639 226414592  108G 83 Linux
sdb2       226418686 234440703   8022018  3.8G  5 Extended
sdb5       226418688 234440703   8022016  3.8G 82 Linux swap / Solaris
Disk sdc: 14.83 GiB, 15904666112 bytes, 31063801 sectors
Disk identifier: 0x2c534026
      Boot Start     End Sectors  Size Id Type
sdc1  *        0 1802239 1802240  880M  0 Empty
sdc2         964    5891    4928  2.4M ef EFI (FAT-12/16/32)
Disk sdd: 7.47 GiB, 8010194944 bytes, 15644912 sectors
Disk identifier: 0x38b1c112
      Boot   Start      End  Sectors  Size Id Type
sdd1  *          0  5619583  5619584  2.7G  0 Empty
sdd2          1700     9699     8000  3.9M ef EFI (FAT-12/16/32)
sdd3       5619712 15644911 10025200  4.8G 83 Linux

parted -lm (filtered): _________________________________________________________

sda:640GB:scsi:512:512:msdos:ATA WDC WD6400AARS-0:;
1:1049kB:538MB:537MB:fat32::boot;
2:539MB:640GB:640GB:::;
5:539MB:640GB:640GB:ext4::;
sdb:120GB:scsi:512:4096:msdos:ATA KINGSTON SUV400S:;
1:1049kB:116GB:116GB:ext4::;
2:116GB:120GB:4107MB:::;
5:116GB:120GB:4107MB:linux-swap(v1)::;
sdc:15.9GB:scsi:512:512:msdos:Verbatim STORE N GO:;
2:494kB:3017kB:2523kB:::esp;
sdd:8010MB:scsi:512:512:unknown:Kingston DT 101 G2:;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE  UUID                                 PARTUUID                             LABEL                      PARTLABEL
sda                                                                                                                 
├─sda1 vfat    FEF1-15EC                            00013f18-01                                                     
├─sda2                                              00013f18-02                                                     
└─sda5 ext4    ad0136c9-5f88-48e8-b33e-295289c52576 00013f18-05                                                     
sdb                                                                                                                 
├─sdb1 ext4    78040eb1-2f41-4323-b586-2e54860db90b a25d219b-01                                                     
├─sdb2                                              a25d219b-02                                                     
└─sdb5 swap    ffbde46a-35d4-470e-b09f-77cdfb727c5e a25d219b-05                                                     
sdc    iso9660 2020-06-13-00-42-55-00                                                    Boot-Repair-Disk 64bit     
├─sdc1 iso9660 2020-06-13-00-42-55-00               2c534026-01                          Boot-Repair-Disk 64bit     
└─sdc2 vfat    D055-8513                            2c534026-02                                                     
sdd    iso9660 2021-02-09-19-06-26-00                                                    Ubuntu 20.04.2.0 LTS amd64 
├─sdd1 iso9660 2021-02-09-19-06-26-00               38b1c112-01                          Ubuntu 20.04.2.0 LTS amd64 
├─sdd2 vfat    54C5-9C6C                            38b1c112-02                                                     
└─sdd3 ext4    edb19e47-5575-48c3-8501-5b3f67141ea8 38b1c112-03                          writable                   

df (filtered): _________________________________________________________________

        Avail Use% Mounted on
sda1     511M   0% /mnt/boot-sav/sda1
sda5   440.9G  20% /
sdb1    49.3G  48% /media/dd/78040eb1-2f41-4323-b586-2e54860db90b
sdc1        0 100% /media/dd/Boot-Repair-Disk 64bit
sdd1        0 100% /media/dd/Ubuntu 20.04.2.0 LTS amd64
sdd3     4.4G   0% /media/dd/writable

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
sdb1   rw,nosuid,nodev,relatime
sdc1   ro,nosuid,nodev,relatime,nojoliet,check=s,map=n,blocksize=2048,uid=1000,gid=1000,dmode=500,fmode=400,iocharset=utf8
sdd1   ro,nosuid,nodev,relatime,nojoliet,check=s,map=n,blocksize=2048,uid=1000,gid=1000,dmode=500,fmode=400,iocharset=utf8
sdd3   rw,nosuid,nodev,relatime

====================== sda5/boot/grub/grub.cfg (filtered) ======================

Ubuntu   ad0136c9-5f88-48e8-b33e-295289c52576
Ubuntu, avec Linux 5.11.0-40-generic   ad0136c9-5f88-48e8-b33e-295289c52576
Ubuntu, avec Linux 5.11.0-38-generic   ad0136c9-5f88-48e8-b33e-295289c52576
Ubuntu 18.04.6 LTS (18.04) (sur sdb1)   78040eb1-2f41-4323-b586-2e54860db90b
Ubuntu (sur sdb1)   78040eb1-2f41-4323-b586-2e54860db90b
Ubuntu, avec Linux 4.15.0-158-generic (sur sdb1)   78040eb1-2f41-4323-b586-2e54860db90b
Ubuntu, avec Linux 4.15.0-154-generic (sur sdb1)   78040eb1-2f41-4323-b586-2e54860db90b
Ubuntu, avec Linux 4.15.0-151-generic (sur sdb1)   78040eb1-2f41-4323-b586-2e54860db90b
### 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=ad0136c9-5f88-48e8-b33e-295289c52576 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=FEF1-15EC  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
/dev/disk/by-id/usb-Samsung_M3_Portable_0E6D7DE305000193-0:0-part1 /mnt/usb-Samsung_M3_Portable_0E6D7DE305000193-0:0-part1 auto nosuid,nodev,nofail,x-gvfs-show 0 0

======================= sda5/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=""

==================== sda5: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
 440.761547089 = 473.264107520  boot/grub/grub.cfg                             3
 388.862361908 = 417.537781760  boot/grub/i386-pc/core.img                     1
 443.989448547 = 476.730040320  boot/vmlinuz                                   1
 398.675457001 = 428.074512384  boot/vmlinuz-5.11.0-38-generic                 2
 443.989448547 = 476.730040320  boot/vmlinuz-5.11.0-40-generic                 1
 398.675457001 = 428.074512384  boot/vmlinuz.old                               2
 444.543758392 = 477.325225984  boot/initrd.img                                3
 443.361324310 = 476.055597056  boot/initrd.img-5.11.0-38-generic              5
 444.543758392 = 477.325225984  boot/initrd.img-5.11.0-40-generic              3
 443.361324310 = 476.055597056  boot/initrd.img.old                            5

===================== sda5: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 18151 août  12 11:18 10_linux
-rwxr-xr-x 1 root root 42359 janv. 13  2021 10_linux_zfs
-rwxr-xr-x 1 root root 12894 janv. 13  2021 20_linux_xen
-rwxr-xr-x 1 root root 12059 janv. 13  2021 30_os-prober
-rwxr-xr-x 1 root root  1424 janv. 13  2021 30_uefi-firmware
-rwxr-xr-x 1 root root   214 janv. 13  2021 40_custom
-rwxr-xr-x 1 root root   216 janv. 13  2021 41_custom

====================== sdb1/boot/grub/grub.cfg (filtered) ======================

Ubuntu   78040eb1-2f41-4323-b586-2e54860db90b
Ubuntu, avec Linux 4.15.0-162-generic   78040eb1-2f41-4323-b586-2e54860db90b
Ubuntu, avec Linux 4.15.0-158-generic   78040eb1-2f41-4323-b586-2e54860db90b
Ubuntu, avec Linux 4.15.0-154-generic   78040eb1-2f41-4323-b586-2e54860db90b
Ubuntu, avec Linux 4.15.0-151-generic   78040eb1-2f41-4323-b586-2e54860db90b
Ubuntu 20.04.3 LTS (20.04) (sur sda5)   ad0136c9-5f88-48e8-b33e-295289c52576
Ubuntu (sur sda5)   ad0136c9-5f88-48e8-b33e-295289c52576
Ubuntu, avec Linux 5.11.0-40-generic (sur sda5)   ad0136c9-5f88-48e8-b33e-295289c52576
Ubuntu, avec Linux 5.11.0-38-generic (sur sda5)   ad0136c9-5f88-48e8-b33e-295289c52576
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb1/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb1 during installation
UUID=78040eb1-2f41-4323-b586-2e54860db90b /               ext4    errors=remount-ro 0       1
# swap was on /dev/sdb5 during installation
UUID=ffbde46a-35d4-470e-b09f-77cdfb727c5e none            swap    sw              0       0
/dev/disk/by-id/usb-Kingston_DT_101_G2_001CC0EC3466FB91171E2568-0:0-part1 /mnt/usb-Kingston_DT_101_G2_001CC0EC3466FB91171E2568-0:0-part1 auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-id/usb-General_USB_Flash_Disk_6611030000218278-0:0 /mnt/usb-General_USB_Flash_Disk_6611030000218278-0:0 auto nosuid,nodev,nofail,x-gvfs-show 0 0

======================= sdb1/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

==================== sdb1: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
  78.196079254 = 83.962400768   boot/grub/grub.cfg                             2
  72.454669952 = 77.797609472   boot/grub/i386-pc/core.img                     1
  67.368221283 = 72.336076800   boot/vmlinuz-4.15.0-151-generic                1
   1.415096283 = 1.519448064    boot/vmlinuz-4.15.0-154-generic                1
   0.743221283 = 0.798027776    boot/vmlinuz-4.15.0-158-generic                1
   5.555721283 = 5.965410304    boot/vmlinuz-4.15.0-162-generic                2
   5.555721283 = 5.965410304    vmlinuz                                        2
   0.743221283 = 0.798027776    vmlinuz.old                                    1
   1.801563263 = 1.934413824    boot/initrd.img-4.15.0-151-generic             6
   4.628311157 = 4.969611264    boot/initrd.img-4.15.0-154-generic             5
   1.042373657 = 1.119240192    boot/initrd.img-4.15.0-158-generic             3
  79.006492615 = 84.832575488   boot/initrd.img-4.15.0-162-generic             6
  79.006492615 = 84.832575488   initrd.img                                     6
   1.042373657 = 1.119240192    initrd.img.old                                 3

===================== sdb1: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 12808 févr. 24  2021 10_linux
-rwxr-xr-x 1 root root 11298 févr. 24  2021 20_linux_xen
-rwxr-xr-x 1 root root 12059 févr. 24  2021 30_os-prober
-rwxr-xr-x 1 root root  1418 févr. 24  2021 30_uefi-firmware
-rwxr-xr-x 1 root root   214 févr. 24  2021 40_custom
-rwxr-xr-x 1 root root   216 févr. 24  2021 41_custom


======================== Unknown MBRs/Boot Sectors/etc =========================

Unknown BootLoader on sdc

00000000  33 ed 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |3...............|
00000010  90 90 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |................|
00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
00000060  83 e1 01 74 0b 66 c7 06  f3 06 b4 42 eb 15 eb 02  |...t.f.....B....|
00000070  31 c9 5a 51 b4 08 cd 13  5b 0f b6 c6 40 50 83 e1  |1.ZQ....[...@P..|
00000080  3f 51 f7 e1 53 52 50 bb  00 7c b9 04 00 66 a1 b0  |?Q..SRP..|...f..|
00000090  07 e8 44 00 0f 82 80 00  66 40 80 c7 02 e2 f2 66  |..D.....f@.....f|
000000a0  81 3e 40 7c fb c0 78 70  75 09 fa bc ec 7b ea 44  |.>@|..xpu....{.D|
000000b0  7c 00 00 e8 83 00 69 73  6f 6c 69 6e 75 78 2e 62  ||.....isolinux.b|
000000c0  69 6e 20 6d 69 73 73 69  6e 67 20 6f 72 20 63 6f  |in missing or co|
000000d0  72 72 75 70 74 2e 0d 0a  66 60 66 31 d2 66 03 06  |rrupt...f`f1.f..|
000000e0  f8 7b 66 13 16 fc 7b 66  52 66 50 06 53 6a 01 6a  |.{f...{fRfP.Sj.j|
000000f0  10 89 e6 66 f7 36 e8 7b  c0 e4 06 88 e1 88 c5 92  |...f.6.{........|
00000100  f6 36 ee 7b 88 c6 08 e1  41 b8 01 02 8a 16 f2 7b  |.6.{....A......{|
00000110  cd 13 8d 64 10 66 61 c3  e8 1e 00 4f 70 65 72 61  |...d.fa....Opera|
00000120  74 69 6e 67 20 73 79 73  74 65 6d 20 6c 6f 61 64  |ting system load|
00000130  20 65 72 72 6f 72 2e 0d  0a 5e ac b4 0e 8a 3e 62  | error...^....>b|
00000140  04 b3 07 cd 10 3c 0a 75  f1 cd 18 f4 eb fd 00 00  |.....<.u........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  04 17 00 00 00 00 00 00  26 40 53 2c 00 00 80 00  |........&@S,....|
000001c0  01 00 00 3f e0 6f 00 00  00 00 00 80 1b 00 00 fe  |...?.o..........|
000001d0  ff ff ef fe ff ff c4 03  00 00 40 13 00 00 00 00  |..........@.....|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200

Unknown BootLoader on sdd

00000000  45 52 08 00 00 00 90 90  00 00 00 00 00 00 00 00  |ER..............|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
00000060  83 e1 01 74 0b 66 c7 06  f3 06 b4 42 eb 15 eb 02  |...t.f.....B....|
00000070  31 c9 5a 51 b4 08 cd 13  5b 0f b6 c6 40 50 83 e1  |1.ZQ....[...@P..|
00000080  3f 51 f7 e1 53 52 50 bb  00 7c b9 04 00 66 a1 b0  |?Q..SRP..|...f..|
00000090  07 e8 44 00 0f 82 80 00  66 40 80 c7 02 e2 f2 66  |..D.....f@.....f|
000000a0  81 3e 40 7c fb c0 78 70  75 09 fa bc ec 7b ea 44  |.>@|..xpu....{.D|
000000b0  7c 00 00 e8 83 00 69 73  6f 6c 69 6e 75 78 2e 62  ||.....isolinux.b|
000000c0  69 6e 20 6d 69 73 73 69  6e 67 20 6f 72 20 63 6f  |in missing or co|
000000d0  72 72 75 70 74 2e 0d 0a  66 60 66 31 d2 66 03 06  |rrupt...f`f1.f..|
000000e0  f8 7b 66 13 16 fc 7b 66  52 66 50 06 53 6a 01 6a  |.{f...{fRfP.Sj.j|
000000f0  10 89 e6 66 f7 36 e8 7b  c0 e4 06 88 e1 88 c5 92  |...f.6.{........|
00000100  f6 36 ee 7b 88 c6 08 e1  41 b8 01 02 8a 16 f2 7b  |.6.{....A......{|
00000110  cd 13 8d 64 10 66 61 c3  e8 1e 00 4f 70 65 72 61  |...d.fa....Opera|
00000120  74 69 6e 67 20 73 79 73  74 65 6d 20 6c 6f 61 64  |ting system load|
00000130  20 65 72 72 6f 72 2e 0d  0a 5e ac b4 0e 8a 3e 62  | error...^....>b|
00000140  04 b3 07 cd 10 3c 0a 75  f1 cd 18 f4 eb fd 00 00  |.....<.u........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  80 b6 05 00 00 00 00 00  12 c1 b1 38 00 00 80 00  |...........8....|
000001c0  01 00 00 ab e0 fc 00 00  00 00 80 bf 55 00 00 fe  |............U...|
000001d0  ff ff ef fe ff ff a4 06  00 00 40 1f 00 00 00 ce  |..........@.....|
000001e0  72 5d 83 d8 fb cd 00 c0  55 00 f0 f8 98 00 00 00  |r]......U.......|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200


Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi-amd64-signed of
sda5,
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.
Alternatively, you may want to retry after deactivating the [Separate /usr partition:] option.
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 L'OS actuellement utilisé - Ubuntu 20.04.3 LTS CurrentSession 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.

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

#20 Le 30/11/2021, à 13:12

geole

Re : ubuntu met 30min à démarrer

Bonjour

dd a écrit :

dd@ddpc:/$ sudo journalctl -xb > Log.txt && xdg-open Log.txt
bash: Log.txt: Permission denied

Ce n'est pas normal d'avoir ce message d'erreur. De plus il est inutile de préfixer par sudo!!
Pour tenter de trouver,  donne les retours de ces commandes

ls -ls /home
ls -ls $HOME
echo écrire > $HOME/Log.txt && cat $HOME/Log.txt

et retentes la commande

journalctl -xb > $HOME/Log.txt && xdg-open $HOME/Log.txt

Pour le boot-info, il y a pas mal de choses à  voir

===================================== UEFI =====================================
This installed-session is not in EFI-mode.

=> 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. 
 => Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos1)/boot/grub. 

Dans un tel contexte, le boot-info ne permet pas de savoir les priorités que tu as mis dans le bios
     SDA en premier et SDB en second
ou
    SDB en premier et SDA en second
Il faudrait que tu le dises.    Je pense que  logiquement,  c'est SDB Mais  aucune preuve
Merci de le dire car, on va certainement modifier quelques trucs.
En effet,  tu as deux O.S et deux disques.
C'est donc une très bonne chose de mettre un O.S par disque. Cela permet de toujours avoir un O.S. présent lorsqu'un disque devient H.S. MAIS

sda:640GB:scsi:512:512:msdos:ATA WDC WD6400AARS-0:;
sdb:120GB:scsi:512:4096:msdos:ATA KINGSTON SUV400S:;

Donc un SSD rapide et un disque dur lent
Dans un tel contexte, je recommande de mettre systématiquement les O.S. sur le SSD et les données personnelles sur le disque dur
Vu les espaces occupés

df (filtered): _________________________________________________________________
        Avail Use% Mounted on
sda5   440.9G  20% /
sdb1    49.3G  48% /media/dd/78040eb1-2f41-4323-b586-2e54860db90

On devrait pouvoir avoir deux partitions de 60 Go sur le SSD. Il  faudra d'abord créer la partition  DATA commune aux deux O.S. et y transférer les données.
J'en profite pour te dire qu'en présence de plusieurs O.S., il est recommandé de fabriquer une partition de données communes.
Merci de dire ce que tu souhaites faire pour ces deux points.

Tu as aussi deux O.S.

================================ 2 OS detected =================================
OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.3 LTS CurrentSession on sda5
OS#2:   Ubuntu 18.04.6 LTS on sdb1

Ils ont un grand défaut, Ils veulent tous les deux être le chef. Cela se marche alors un  peu sur les pieds
( j'en ai vu le début: La version 20.04 ne connaît que deux noyaux de la version 18.04 alors qu'il y en a quatre de présents!)
Merci de dire celui que tu veux considérer comme le superviseur.
Si  Version 18.04, Le boot prioritaire doit être réglé sur SDB
Si  Version 20.04, Le boot prioritaire doit être réglé sur SDA tant que cette version reste sur le disque dur

J'ai rencontré des anomalies dans les deux fichiers /etc/fstab
==> On n'a pas à définir les points de montage des supports externes.
De plus,  la codification est compliquée avec risque d'erreur.
==> Tu utiliseras GPARTED pour mettre des étiquettes simples et non identiques dans les partitions que tu veux brancher.

========================== sda5/etc/fstab (filtered) ===========================
UUID=ad0136c9-5f88-48e8-b33e-295289c52576 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=FEF1-15EC  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
/dev/disk/by-id/usb-Samsung_M3_Portable_0E6D7DE305000193-0:0-part1 /mnt/usb-Samsung_M3_Portable_0E6D7DE305000193-0:0-part1 auto nosuid,nodev,nofail,x-gvfs-show 0 0

La dernière ligne sera à enlever. Mais je ne pense pas que cela soit la cause des trente minutes

========================= sdb1/etc/fstab (filtered) ===========================
UUID=78040eb1-2f41-4323-b586-2e54860db90b /               ext4    errors=remount-ro 0       1
# swap was on /dev/sdb5 during installation
UUID=ffbde46a-35d4-470e-b09f-77cdfb727c5e none            swap    sw              0       0
/dev/disk/by-id/usb-Kingston_DT_101_G2_001CC0EC3466FB91171E2568-0:0-part1 /mnt/usb-Kingston_DT_101_G2_001CC0EC3466FB91171E2568-0:0-part1 auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-id/usb-General_USB_Flash_Disk_6611030000218278-0:0 /mnt/usb-General_USB_Flash_Disk_6611030000218278-0:0 auto nosuid,nodev,nofail,x-gvfs-show 0 0

Les deux dernières lignes seront à enlever. Mais je ne pense pas que cela soit la cause des trente minutes

La version 18.04  dispose de quatre noyaux

====================== sdb1/boot/grub/grub.cfg (filtered) ======================
Ubuntu, avec Linux 4.15.0-162-generic   78040eb1-2f41-4323-b586-2e54860db90b
Ubuntu, avec Linux 4.15.0-158-generic   78040eb1-2f41-4323-b586-2e54860db90b
Ubuntu, avec Linux 4.15.0-154-generic   78040eb1-2f41-4323-b586-2e54860db90b
Ubuntu, avec Linux 4.15.0-151-generic   78040eb1-2f41-4323-b586-2e54860db90b

Il y en a deux de trop, à éliminer avec cette commande  (en étant connecté  sous 18.04)

sudo apt autoremove --purge

En conclusion
Je n'ai pas de piste pour les 30 minutes et je ne comprends pas pourquoi la version 18.04 plante avec ce message d'erreur.

impossible de trouver 1 périphérique /dev/SDD1 vérifier device.map

A moins que cela ne soit pas un plantage, mais un simple message d'erreur.

Dernière modification par geole (Le 30/11/2021, à 13:56)


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