[Résolu] Plus de 25 minutes pour démarrer !!!

Forum de support pour les utilisateurs francophones

Moderator: Laurent85

Forum rules
Topics in this forum are automatically closed 6 months after creation.
franck35
Level 3
Level 3
Posts: 157
Joined: Thu Jan 09, 2020 6:16 am

[Résolu] Plus de 25 minutes pour démarrer !!!

Post by franck35 »

Bonjour,

Le démarrage de LinuxMint est très long, plus de 25 minutes !!!

Ce n'est que lorsque l'ordinateur est éteint et que je le mets en marche.
Si je passe par le bios, le démarrage est normal. Quand je fais un Menu>Quitter>Redémarrer, même chose.

Je vous donne les retours des commandes "systemd-analyze" et "systemd-analyze blame" :

Code: Select all

franck@franck-T200TA:~$ sudo systemd-analyze
[sudo] Mot de passe de franck :           
Startup finished in 2.515s (firmware) + 26min 10.142s (loader) + 7.826s (kernel) + 3.981s (userspace) = 26min 24.467s
graphical.target reached after 3.950s in userspace

Code: Select all

franck@franck-T200TA:~$ systemd-analyze blame
          1.872s systemd-journal-flush.service
          1.752s lvm2-monitor.service
          1.145s dev-mmcblk2p2.device
           838ms ubuntu-system-adjustments.service
           764ms networkd-dispatcher.service
           611ms upower.service
           572ms udisks2.service
           549ms systemd-rfkill.service
           522ms NetworkManager.service
           458ms accounts-daemon.service
           452ms grub-common.service
           427ms systemd-udev-trigger.service
           419ms systemd-resolved.service
           386ms ModemManager.service
           379ms keyboard-setup.service
           376ms bluetooth.service
           354ms networking.service
           337ms systemd-logind.service
           320ms hddtemp.service
           283ms lightdm.service
           276ms gpu-manager.service
           270ms apparmor.service
           270ms thermald.service
log file: ystemd-analyze blamesystemd-analyze blame
Je vous remercie pour votre aide.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Desktop Dell Optiflex 790 (2012)_LMDE 6 Xfce_CPU : Intel Core i5-2400_RAM : 8 Go_SSD 240 Go (LM) + DD 750 Go (Data)
Laptop Dell Latitude E5540 (2014)_LMDE 6 Xfce_CPU : Intel Core i5-4210U_ RAM : 4 Go_ SSD 120 Go
Eirikr70
Level 1
Level 1
Posts: 13
Joined: Sat Jan 25, 2020 4:07 pm

Re: Plus de 25 minutes pour démarrer !!!

Post by Eirikr70 »

Bonjour Franck,
Je ne sais pas ce que tu as fait à ton loader, mais il est malade. Mon démarrage prend 1 min et 8 sec :

Code: Select all

eric@eric-X302UA:~$ sudo systemd-analyze
[sudo] Mot de passe de eric :         
Startup finished in 5.645s (firmware) + 12.645s (loader) + 6.505s (kernel) + 43.658s (userspace) = 1min 8.455s
graphical.target reached after 43.629s in userspace
Tu n'aurais pas inséré un programme au démarrage en omettant le "&" ?
franck35
Level 3
Level 3
Posts: 157
Joined: Thu Jan 09, 2020 6:16 am

Re: Plus de 25 minutes pour démarrer !!!

Post by franck35 »

Bonjour Eirik,

Non, je n'ai rien ajouté, mis à part les mise à jour du gestionnaire.
Desktop Dell Optiflex 790 (2012)_LMDE 6 Xfce_CPU : Intel Core i5-2400_RAM : 8 Go_SSD 240 Go (LM) + DD 750 Go (Data)
Laptop Dell Latitude E5540 (2014)_LMDE 6 Xfce_CPU : Intel Core i5-4210U_ RAM : 4 Go_ SSD 120 Go
Eirikr70
Level 1
Level 1
Posts: 13
Joined: Sat Jan 25, 2020 4:07 pm

Re: Plus de 25 minutes pour démarrer !!!

Post by Eirikr70 »

Tu es en dual boot ou tu ne disposes que de Linux Mint ?
franck35
Level 3
Level 3
Posts: 157
Joined: Thu Jan 09, 2020 6:16 am

Re: Plus de 25 minutes pour démarrer !!!

Post by franck35 »

Je n'ai que LinuxMint, installé sur l'eMMC de la tablette.
Desktop Dell Optiflex 790 (2012)_LMDE 6 Xfce_CPU : Intel Core i5-2400_RAM : 8 Go_SSD 240 Go (LM) + DD 750 Go (Data)
Laptop Dell Latitude E5540 (2014)_LMDE 6 Xfce_CPU : Intel Core i5-4210U_ RAM : 4 Go_ SSD 120 Go
Eirikr70
Level 1
Level 1
Posts: 13
Joined: Sat Jan 25, 2020 4:07 pm

Re: Plus de 25 minutes pour démarrer !!!

Post by Eirikr70 »

Je suis très loin d'être expert, mais je te suggérerais un sudo update-grub après une petite lecture de cet article : https://doc.ubuntu-fr.org/grub-pc
Tiens-moi au courant.
Eirikr70
Level 1
Level 1
Posts: 13
Joined: Sat Jan 25, 2020 4:07 pm

Re: Plus de 25 minutes pour démarrer !!!

Post by Eirikr70 »

Leminway
Level 3
Level 3
Posts: 184
Joined: Wed Jan 22, 2020 12:27 pm
Location: France

Re: Plus de 25 minutes pour démarrer !!!

Post by Leminway »

A mon avis tu es un droid qui s'est trompé d'ordre spatio temporel. Je vois pas d'autres explications. :mrgreen:
franck35
Level 3
Level 3
Posts: 157
Joined: Thu Jan 09, 2020 6:16 am

Re: Plus de 25 minutes pour démarrer !!!

Post by franck35 »

Bonjour Eric,

Le "sudo update-grub" et le "Boot-repair" ne donnent rien.
Desktop Dell Optiflex 790 (2012)_LMDE 6 Xfce_CPU : Intel Core i5-2400_RAM : 8 Go_SSD 240 Go (LM) + DD 750 Go (Data)
Laptop Dell Latitude E5540 (2014)_LMDE 6 Xfce_CPU : Intel Core i5-4210U_ RAM : 4 Go_ SSD 120 Go
Laurent85
Level 17
Level 17
Posts: 7081
Joined: Tue May 26, 2015 10:11 am

Re: Plus de 25 minutes pour démarrer !!!

Post by Laurent85 »

Bonjour,
Les 26' de loader correspondent au bootloader. La première hypothèse est une corruption d'un des fichiers, réinstalle grub.
Image
franck35
Level 3
Level 3
Posts: 157
Joined: Thu Jan 09, 2020 6:16 am

Re: Plus de 25 minutes pour démarrer !!!

Post by franck35 »

Bonjour,

Ok, je vais réinstaller grub. Mais comme je débute avec Linux, je dois utiliser quelles commandes ?
sudo os-prober
sudo update-grub
sudo grub-install /dev/mmcblk2

Pour info, j'ai ce défaut depuis l'installation de LM sur mon ordinateur.

Merci.
Desktop Dell Optiflex 790 (2012)_LMDE 6 Xfce_CPU : Intel Core i5-2400_RAM : 8 Go_SSD 240 Go (LM) + DD 750 Go (Data)
Laptop Dell Latitude E5540 (2014)_LMDE 6 Xfce_CPU : Intel Core i5-4210U_ RAM : 4 Go_ SSD 120 Go
Laurent85
Level 17
Level 17
Posts: 7081
Joined: Tue May 26, 2015 10:11 am

Re: Plus de 25 minutes pour démarrer !!!

Post by Laurent85 »

franck35 wrote: Mon Feb 03, 2020 5:12 pm Ok, je vais réinstaller grub. Mais comme je débute avec Linux, je dois utiliser quelles commandes ?
Je me pose des questions sur ton matériel. Dans ta signature il y est indiqué bios uefi 32 bit. Comment as-tu fait pour installer LM sachant que l'installateur ne gère pas les bios uefi 32 bit ?
Image
franck35
Level 3
Level 3
Posts: 157
Joined: Thu Jan 09, 2020 6:16 am

Re: Plus de 25 minutes pour démarrer !!!

Post by franck35 »

Bonjour,

J'ai ajouté un fichier bootia32.efi dans le dossier EFI/BOOT de la clef bootable.
A l'origine, ce dossier contient les fichiers BOOTx64.efi et grubx64.efi que j'ai conservé.
Avec je ne sais plus quelle commande, j'ai vu que c'était un bios UEFI sans CSM.
Desktop Dell Optiflex 790 (2012)_LMDE 6 Xfce_CPU : Intel Core i5-2400_RAM : 8 Go_SSD 240 Go (LM) + DD 750 Go (Data)
Laptop Dell Latitude E5540 (2014)_LMDE 6 Xfce_CPU : Intel Core i5-4210U_ RAM : 4 Go_ SSD 120 Go
Laurent85
Level 17
Level 17
Posts: 7081
Joined: Tue May 26, 2015 10:11 am

Re: Plus de 25 minutes pour démarrer !!!

Post by Laurent85 »

Rapporte toi à ce message pour l'installation viewtopic.php?p=1588381#p1588381
Image
franck35
Level 3
Level 3
Posts: 157
Joined: Thu Jan 09, 2020 6:16 am

Re: Plus de 25 minutes pour démarrer !!!

Post by franck35 »

Bonjour,

Avant de réinstaller Grub, par curiosité, j'ai regardé lequel était en place. C'est grubia32.efi.

Retour pour un démarrage normal avec le bouton Marche. Le retour est identique aprés un Menu>Quitter>Redémarrer quelque soit la façon de démarrer :

Code: Select all

franck@franck-T200TA:~$ sudo efibootmgr -v
[sudo] Mot de passe de franck :           
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0001,0002,0003
Boot0000* ubuntu	HD(1,GPT,2393b801-ed42-4296-8ef1-2d603d591e24,0x800,0x100000)/File(\EFI\ubuntu\grubia32.efi)
Boot0001* UEFI:CD/DVD Drive	BBS(129,,0x0)
Boot0002* UEFI:Removable Device	BBS(130,,0x0)
Boot0003* UEFI:Network Device	BBS(131,,0x0)
franck@franck-T200TA:~$ 
Retour pour un démarrage par le bios :

Code: Select all

franck@franck-T200TA:~$ sudo efibootmgr -v
[sudo] Mot de passe de franck :           
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000
Boot0000* ubuntu	HD(1,GPT,2393b801-ed42-4296-8ef1-2d603d591e24,0x800,0x100000)/File(\EFI\ubuntu\grubia32.efi)
franck@franck-T200TA:~$ 
Desktop Dell Optiflex 790 (2012)_LMDE 6 Xfce_CPU : Intel Core i5-2400_RAM : 8 Go_SSD 240 Go (LM) + DD 750 Go (Data)
Laptop Dell Latitude E5540 (2014)_LMDE 6 Xfce_CPU : Intel Core i5-4210U_ RAM : 4 Go_ SSD 120 Go
franck35
Level 3
Level 3
Posts: 157
Joined: Thu Jan 09, 2020 6:16 am

Re: Plus de 25 minutes pour démarrer !!!

Post by franck35 »

Bonjour Laurent,

J'ai réinstallé grub avec les lignes de commandes que tu m'as donné. C'est toujours pareil.
Desktop Dell Optiflex 790 (2012)_LMDE 6 Xfce_CPU : Intel Core i5-2400_RAM : 8 Go_SSD 240 Go (LM) + DD 750 Go (Data)
Laptop Dell Latitude E5540 (2014)_LMDE 6 Xfce_CPU : Intel Core i5-4210U_ RAM : 4 Go_ SSD 120 Go
Laurent85
Level 17
Level 17
Posts: 7081
Joined: Tue May 26, 2015 10:11 am

Re: Plus de 25 minutes pour démarrer !!!

Post by Laurent85 »

Le problème ayant toujours existé c'est je pense lié à une incompatibilité entre ce bios et grub.

Essaie avec un autre chargeur, rEFInd https://www.rodsbooks.com/refind/getting.html
Télécharge l'archive usb flash drive, le fichier à écrire sur la clé usb est refind-flashdrive-0.11.4.img

Démarre sur la clé usb rEFInd, il y a un menu pour sélectionner le système à démarrer.
Image
franck35
Level 3
Level 3
Posts: 157
Joined: Thu Jan 09, 2020 6:16 am

Re: Plus de 25 minutes pour démarrer !!!

Post by franck35 »

Bonjour Laurent,

J'ai fait l'essai avec rEFInd. C'est bon.
LM démarre bien avec grubia32.efi et grub.efi.
Desktop Dell Optiflex 790 (2012)_LMDE 6 Xfce_CPU : Intel Core i5-2400_RAM : 8 Go_SSD 240 Go (LM) + DD 750 Go (Data)
Laptop Dell Latitude E5540 (2014)_LMDE 6 Xfce_CPU : Intel Core i5-4210U_ RAM : 4 Go_ SSD 120 Go
Laurent85
Level 17
Level 17
Posts: 7081
Joined: Tue May 26, 2015 10:11 am

Re: Plus de 25 minutes pour démarrer !!!

Post by Laurent85 »

Cool, installe le paquet refind pour ne pas avoir à utiliser la clé usb.
Image
franck35
Level 3
Level 3
Posts: 157
Joined: Thu Jan 09, 2020 6:16 am

Re: Plus de 25 minutes pour démarrer !!!

Post by franck35 »

Bonjour Laurent,

J'ai installé le paquet "refind" avec le gestionnaire de paquets. J'ai répondu "Oui" pour l'installer dans ESP comme c'était coché.
Lors du démarrage, je n'ai plus l'écran avec toutes les options comme avec la clé USB.
rEFInd est mal installé ou il faut faire autre(s) chose(s) ?
Merci.
Desktop Dell Optiflex 790 (2012)_LMDE 6 Xfce_CPU : Intel Core i5-2400_RAM : 8 Go_SSD 240 Go (LM) + DD 750 Go (Data)
Laptop Dell Latitude E5540 (2014)_LMDE 6 Xfce_CPU : Intel Core i5-4210U_ RAM : 4 Go_ SSD 120 Go
Locked

Return to “Français - French”