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 17/04/2019, à 07:08

winux

[RÉSOLU] Lubuntu très très lent au démarrage (~4mn)

Bonjour
J'ai passé pas mal de temps sur le net pour essayer de trouver une solution, mais rien de bien probant si ce n'est 2 commandes qui attestent cette lenteur, mais je ne sais pas quoi faire ensuite.

J'ai bien sûr essayé, ainsi que conseillé, de bouger la souris au démarrage + Ctrl ou Shift pour les Pbs d'entropie mais no change !!

j'ai  donc installé 2 vieux PC en Lubuntu pour des copines et apparemment le plus vieux tourne mieux. Il est en 32 bits (pas le choix) et démarre en 1mn10 ce qui est acceptable pour son âge.

Par contre le 2e, objet de ce post, est en 32 ou 64 bits, j'ai donc installé la 64 bits et il met près de 4mn pour démarrer. Les commandes suivantes vous inspirent-elles pour voir d'où ça vient ?
merci d'avance

 gerard@PC-labo:~$ sudo systemd-analyze
[sudo] Mot de passe de gerard : 
Startup finished in 39.439s (kernel) + 3min 4.923s (userspace) = 3min 44.362s
graphical.target reached after 1min 43.696s in userspace
gerard@PC-labo:~$ sudo systemd-analyze blame
         57.261s apt-daily.service
         20.802s dev-sdb3.device
         20.055s systemd-journal-flush.service
         16.682s ufw.service
         15.105s systemd-udevd.service
          4.485s NetworkManager.service
          4.285s networkd-dispatcher.service
          3.896s udisks2.service
          2.498s ModemManager.service
          2.431s accounts-daemon.service
          2.096s postfix@-.service
          2.035s grub-common.service
          2.001s keyboard-setup.service
          1.831s apt-daily-upgrade.service
          1.762s apport.service
          1.518s wpa_supplicant.service
          1.368s NetworkManager-wait-online.service
          1.332s apparmor.service
          1.229s systemd-tmpfiles-setup-dev.service
          1.191s dev-hugepages.mount
          1.190s sys-kernel-debug.mount
          1.162s systemd-remount-fs.service
          1.161s dev-mqueue.mount
lines 1-23
  

Un petit lscpu pour le matos (pas récent je vous l'accorde), mais une fois démarré il va bien !!

 gerard@PC-labo:~$ lscpu
Architecture :                          x86_64
Mode(s) opératoire(s) des processeurs : 32-bit, 64-bit
Boutisme :                              Little Endian
Processeur(s) :                         1
Liste de processeur(s) en ligne :       0
Thread(s) par cœur :                    1
Cœur(s) par socket :                    1
Socket(s) :                             1
Nœud(s) NUMA :                          1
Identifiant constructeur :              AuthenticAMD
Famille de processeur :                 15
Modèle :                                4
Nom de modèle :                         AMD Athlon(tm) 64 Processor 3000+
Révision :                              10
Vitesse du processeur en MHz :          2009.582
BogoMIPS :                              4019.16
Cache L1d :                             64K
Cache L1i :                             64K
Cache L2 :                              512K
Nœud NUMA 0 de processeur(s) :          0
Drapaux :                               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow rep_good nopl cpuid 3dnowprefetch vmmcall
gerard@PC-labo:~$ 
 

Dernière modification par winux (Le 18/04/2019, à 21:55)


http://i3.tinypic.com/4g8nio8.png
Livebox fibre - 980 Mbps mesurés -  Triple  boot : Ub 20.04 / Mint 20.2 / W10 - Ecran : Samsung 22" -
CM : Gigabyte P67A UD3 B3 - CPU : Intel Quad Core i5 3.3 GHz - GPU : nVidia Gigabyte N430
RAM : 8 Go DDR3 - SSD de 240 Go - 2 HD de 1 To chacun

Hors ligne

#2 Le 17/04/2019, à 07:56

winux

Re : [RÉSOLU] Lubuntu très très lent au démarrage (~4mn)

j'oubliais, pour compléter

 gerard@PC-labo:~$ free
              total       utilisé      libre     partagé tamp/cache   disponible
Mem:        2041632     1065868      211148       56284      764616      760640
Partition d'échange:           0           0           0
gerard@PC-labo:~$ uname -a
Linux PC-labo 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
gerard@PC-labo:~$ 
 

Il a 2 Go de RAM alors que le plus "rapide" n'en n'en qu'un seul, paradoxal non ?
l'autre différence est que le plus lent est installé en 64 bits, mais cela explique-t-il une telle différence de temps de démarrage ???

Merci pour vos lumières et @+


http://i3.tinypic.com/4g8nio8.png
Livebox fibre - 980 Mbps mesurés -  Triple  boot : Ub 20.04 / Mint 20.2 / W10 - Ecran : Samsung 22" -
CM : Gigabyte P67A UD3 B3 - CPU : Intel Quad Core i5 3.3 GHz - GPU : nVidia Gigabyte N430
RAM : 8 Go DDR3 - SSD de 240 Go - 2 HD de 1 To chacun

Hors ligne

#3 Le 17/04/2019, à 08:18

rogn...

Re : [RÉSOLU] Lubuntu très très lent au démarrage (~4mn)

Salut.
Que cela soient en 32 ou 64 bits, tu auras le même problème. Je vois surtout ceci :

57.261s apt-daily.service

Est-ce que sur ton système les mises à jour se téléchargent et s'installent automatiquement ?

#4 Le 17/04/2019, à 08:24

winux

Re : [RÉSOLU] Lubuntu très très lent au démarrage (~4mn)

et un petit boot-repair pour faire bonne mesure
Je sais que certains d'entre vous, à juste titre quand on sait le lire, en sont fans !!
http://paste.ubuntu.com/p/8vxMJ2PgCr/

En le lisant, bien que néophyte sur la question, j'ai vu des trucs !!!

Grub2 (v2.00) is installed in the MBR of /dev/sda
Grub2 (v2.00) is installed in the MBR of /dev/sdb

Est-ce normal que le Grub soit sur mes 2 disques ?

Ensuite j'ai vu ça

[boot loader]
timeout=30

n'est-ce pas une partie du problème ?

Pour info
sur sda
j'ai un vieux XP dont je ne me sers plus et que je puis virer si c'est lui la source des Pb
sur sdb
un vieux XP que j'ai upgradé en W7
et mon Lubuntu 18.04.2

Merci pour votre aide
@+


http://i3.tinypic.com/4g8nio8.png
Livebox fibre - 980 Mbps mesurés -  Triple  boot : Ub 20.04 / Mint 20.2 / W10 - Ecran : Samsung 22" -
CM : Gigabyte P67A UD3 B3 - CPU : Intel Quad Core i5 3.3 GHz - GPU : nVidia Gigabyte N430
RAM : 8 Go DDR3 - SSD de 240 Go - 2 HD de 1 To chacun

Hors ligne

#5 Le 17/04/2019, à 08:32

winux

Re : [RÉSOLU] Lubuntu très très lent au démarrage (~4mn)

rogn... a écrit :

Je vois surtout ceci :

57.261s apt-daily.service

Est-ce que sur ton système les mises à jour se téléchargent et s'installent automatiquement ?

Salut rogn... merci pour ta réponse
Oui j'ai vu moi aussi ces 57s qui m'ont paru plombantes, mais ne sachant trop ce que c'était je m'en suis remis aux experts.
Bref, automatiquement je ne sais pas car chaque jour, dès que j'ouvre le PC, je commence par cliquer sur l'icône "A" pour mettre à jour, c'est devenu un réflexe.
Pas sûr que ma réponse t'aide beaucoup !!??


http://i3.tinypic.com/4g8nio8.png
Livebox fibre - 980 Mbps mesurés -  Triple  boot : Ub 20.04 / Mint 20.2 / W10 - Ecran : Samsung 22" -
CM : Gigabyte P67A UD3 B3 - CPU : Intel Quad Core i5 3.3 GHz - GPU : nVidia Gigabyte N430
RAM : 8 Go DDR3 - SSD de 240 Go - 2 HD de 1 To chacun

Hors ligne

#6 Le 17/04/2019, à 08:45

malbo

Re : [RÉSOLU] Lubuntu très très lent au démarrage (~4mn)

Bonjour,
Je colle ci-dessous le Boot-Info dont tu as donné le lien dans le post #4 :

 Boot Info Script 8f991e4 + Boot-Repair extra info      [Boot-Info 25oct2017]


============================= 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 /boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk search_fs_uuid
    ---------------------------------------------------------------------------
    
    config script
    ---------------------------------------------------------------------------
    search.fs_uuid 50771b4d-689b-433f-8fcb-b783112d0df7 root hd1,msdos3 
    set prefix=($root)'/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 (,msdos3)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 7/2008: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows XP
    Boot files:        /boot.ini /bootmgr /Boot/BCD /ntldr /NTDETECT.COM

sdb1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 2000/XP: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /Windows/System32/winload.exe

sdb2: __________________________________________________________________________

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

sdb3: __________________________________________________________________________

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

sdb4: __________________________________________________________________________

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

sdb5: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Unknown
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 18.7 GiB, 20020396032 bytes, 39102336 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *             63    39,086,144    39,086,082   7 NTFS / exFAT / HPFS


Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1                  63    81,922,047    81,921,985   7 NTFS / exFAT / HPFS
/dev/sdb2          81,922,048    86,018,047     4,096,000  82 Linux swap / Solaris
/dev/sdb3    *     86,018,048   126,980,095    40,962,048  83 Linux
/dev/sdb4         126,980,096   234,440,703   107,460,608   5 Extended
/dev/sdb5         126,982,144   147,462,143    20,480,000   7 NTFS / exFAT / HPFS


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        74E418A5E4186B9C                       ntfs       XP
/dev/sdb1        7424E07324E039AE                       ntfs       W7
/dev/sdb2        473d2409-de90-4490-bc28-a18a997bab59   swap       Swap
/dev/sdb3        50771b4d-689b-433f-8fcb-b783112d0df7   ext3       Lub18.04.02
/dev/sdb5        1D405B0F57B89C82                       ntfs       Data-Perso

========================= "ls -l /dev/disk/by-id" output: ======================

total 0
lrwxrwxrwx 1 root root  9 Apr 17 07:02 ata-HL-DT-ST_GCE-8526B -> ../../sr1
lrwxrwxrwx 1 root root  9 Apr 17 07:02 ata-PIONEER_DVD-RW_DVR-109 -> ../../sr0
lrwxrwxrwx 1 root root  9 Apr 17 09:04 ata-ST3120026A_4JT0J26F -> ../../sdb
lrwxrwxrwx 1 root root 10 Apr 17 09:04 ata-ST3120026A_4JT0J26F-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Apr 17 09:04 ata-ST3120026A_4JT0J26F-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Apr 17 09:04 ata-ST3120026A_4JT0J26F-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Apr 17 09:04 ata-ST3120026A_4JT0J26F-part4 -> ../../sdb4
lrwxrwxrwx 1 root root 10 Apr 17 09:04 ata-ST3120026A_4JT0J26F-part5 -> ../../sdb5
lrwxrwxrwx 1 root root  9 Apr 17 09:04 ata-ST320413A_7ED23BDD -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 17 09:04 ata-ST320413A_7ED23BDD-part1 -> ../../sda1

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/sdb3        /                        ext3       (rw,relatime,errors=remount-ro,data=ordered)
/dev/sdb5        /media/DATA-GG           fuseblk    (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)


================================ sda1/boot.ini: ================================

--------------------------------------------------------------------------------
;
;Warning: Boot.ini is used on Windows XP and earlier operating systems.
;Warning: Use BCDEDIT.exe to modify Windows Vista boot options.
;
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professionnel" /NOEXECUTE=OPTIN /FASTDETECT
--------------------------------------------------------------------------------

=========================== sdb3/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd1,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos3 --hint-efi=hd1,msdos3 --hint-baremetal=ahci1,msdos3  50771b4d-689b-433f-8fcb-b783112d0df7
else
  search --no-floppy --fs-uuid --set=root 50771b4d-689b-433f-8fcb-b783112d0df7
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=640x480,1024x768,1280x1024
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=10
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 10 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=1
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-50771b4d-689b-433f-8fcb-b783112d0df7' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd1,msdos3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos3 --hint-efi=hd1,msdos3 --hint-baremetal=ahci1,msdos3  50771b4d-689b-433f-8fcb-b783112d0df7
	else
	  search --no-floppy --fs-uuid --set=root 50771b4d-689b-433f-8fcb-b783112d0df7
	fi
        linux	/boot/vmlinuz-4.15.0-47-generic root=UUID=50771b4d-689b-433f-8fcb-b783112d0df7 ro  quiet splash video=SVIDEO-1:d $vt_handoff
	initrd	/boot/initrd.img-4.15.0-47-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-50771b4d-689b-433f-8fcb-b783112d0df7' {
	menuentry 'Ubuntu, avec Linux 4.15.0-47-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-47-generic-advanced-50771b4d-689b-433f-8fcb-b783112d0df7' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos3 --hint-efi=hd1,msdos3 --hint-baremetal=ahci1,msdos3  50771b4d-689b-433f-8fcb-b783112d0df7
		else
		  search --no-floppy --fs-uuid --set=root 50771b4d-689b-433f-8fcb-b783112d0df7
		fi
		echo	'Chargement de Linux 4.15.0-47-generic…'
	        linux	/boot/vmlinuz-4.15.0-47-generic root=UUID=50771b4d-689b-433f-8fcb-b783112d0df7 ro  quiet splash video=SVIDEO-1:d $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-47-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-47-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-47-generic-recovery-50771b4d-689b-433f-8fcb-b783112d0df7' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos3 --hint-efi=hd1,msdos3 --hint-baremetal=ahci1,msdos3  50771b4d-689b-433f-8fcb-b783112d0df7
		else
		  search --no-floppy --fs-uuid --set=root 50771b4d-689b-433f-8fcb-b783112d0df7
		fi
		echo	'Chargement de Linux 4.15.0-47-generic…'
	        linux	/boot/vmlinuz-4.15.0-47-generic root=UUID=50771b4d-689b-433f-8fcb-b783112d0df7 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-47-generic
	}
	menuentry 'Ubuntu, avec Linux 4.15.0-29-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-29-generic-advanced-50771b4d-689b-433f-8fcb-b783112d0df7' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos3 --hint-efi=hd1,msdos3 --hint-baremetal=ahci1,msdos3  50771b4d-689b-433f-8fcb-b783112d0df7
		else
		  search --no-floppy --fs-uuid --set=root 50771b4d-689b-433f-8fcb-b783112d0df7
		fi
		echo	'Chargement de Linux 4.15.0-29-generic…'
	        linux	/boot/vmlinuz-4.15.0-29-generic root=UUID=50771b4d-689b-433f-8fcb-b783112d0df7 ro  quiet splash video=SVIDEO-1:d $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-29-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-29-generic-recovery-50771b4d-689b-433f-8fcb-b783112d0df7' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos3 --hint-efi=hd1,msdos3 --hint-baremetal=ahci1,msdos3  50771b4d-689b-433f-8fcb-b783112d0df7
		else
		  search --no-floppy --fs-uuid --set=root 50771b4d-689b-433f-8fcb-b783112d0df7
		fi
		echo	'Chargement de Linux 4.15.0-29-generic…'
	        linux	/boot/vmlinuz-4.15.0-29-generic root=UUID=50771b4d-689b-433f-8fcb-b783112d0df7 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-29-generic
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 8 (sur /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-74E418A5E4186B9C' {
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  74E418A5E4186B9C
	else
	  search --no-floppy --fs-uuid --set=root 74E418A5E4186B9C
	fi
	parttool ${root} hidden-
	drivemap -s (hd0) ${root}
	chainloader +1
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sdb3/etc/fstab: ================================

--------------------------------------------------------------------------------
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

# / is on /dev/sdb3
UUID=50771b4d-689b-433f-8fcb-b783112d0df7      /               ext3    errors=remount-ro 0       1

# Data-Perso  is on /dev/sdb5
UUID=1D405B0F57B89C82      /media/DATA-GG      ntfs-3g   defaults,utf8,umask=000,gid=46  0  1 

# swap is on /dev/sdb7
UUID=afda27bd-e819-4805-8590-3f9877904884      none            swap    sw              0       0

/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

  47.913208008 = 51.446415360   boot/grub/grub.cfg                             2
  48.558696747 = 52.139503616   boot/grub/i386-pc/core.img                     1
  52.649162292 = 56.531607552   boot/vmlinuz-4.15.0-29-generic                 6
  54.914943695 = 58.964471808   boot/vmlinuz-4.15.0-47-generic                 7
  54.914943695 = 58.964471808   vmlinuz                                        7
  52.649162292 = 56.531607552   vmlinuz.old                                    6
  56.348762512 = 60.504023040   boot/initrd.img-4.15.0-29-generic              9
  57.567531586 = 61.812666368   boot/initrd.img-4.15.0-47-generic              6
  57.567531586 = 61.812666368   initrd.img                                     6
  56.348762512 = 60.504023040   initrd.img.old                                 9

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

Unknown BootLoader on sdb4

00000000  32 34 e7 26 ed 19 48 83  82 cb 91 ec 28 42 1a e5  |24.&..H.....(B..|
00000010  4f 49 2b 16 6a 88 34 4c  4d 8e fd 31 4d 7b 60 80  |OI+.j.4LM..1M{`.|
00000020  2e fa 27 e8 ff e7 d7 15  4d e8 b7 ed 67 89 4e d2  |..'.....M...g.N.|
00000030  24 90 b6 b8 24 e4 92 b9  c1 d2 d2 9c 54 22 f3 f2  |$...$.......T"..|
00000040  bf 4f d7 be b3 b7 8f 3a  cc 22 f3 65 23 38 6d e6  |.O.....:.".e#8m.|
00000050  97 3a b2 0f 91 c9 49 a3  e6 42 0a 39 1d cb bb 52  |.:....I..B.9...R|
00000060  b8 82 bd f9 a1 58 c4 7e  b0 fe 8d b8 00 06 b3 88  |.....X.~........|
00000070  b9 ca 54 d5 2d 19 f9 ef  82 bb 6a 36 fc f5 74 c7  |..T.-.....j6..t.|
00000080  f9 2d 9e 7d 2c 15 65 37  f6 88 79 61 40 9f 0f 35  |.-.},.e7..ya@..5|
00000090  f3 63 50 3d e5 c1 8a 57  a3 dc 8b a1 f5 45 98 0e  |.cP=...W.....E..|
000000a0  12 2b bd 34 25 b7 76 a0  15 0f 4b ce 40 66 75 3e  |.+.4%.v...K.@fu>|
000000b0  ae bc 36 3b 4c 1f 67 11  20 08 9c 0f e5 84 a7 98  |..6;L.g. .......|
000000c0  73 c4 02 9d 74 e6 74 3d  1c 86 31 e0 47 7a 01 82  |s...t.t=..1.Gz..|
000000d0  9f 6b ca 2f de 3d c4 0c  70 36 8c 30 82 5f 25 40  |.k./.=..p6.0._%@|
000000e0  bd 81 a8 f6 d9 f7 e8 22  41 31 e0 c9 8c 3a b6 76  |......."A1...:.v|
000000f0  76 d9 a4 55 2a a4 8c 15  44 88 6d 01 e2 e8 44 c9  |v..U*...D.m...D.|
00000100  f5 0d bc f0 27 72 a3 36  d5 09 9b 58 cb 8a 7e b1  |....'r.6...X..~.|
00000110  5f c4 16 66 9d 0e f1 32  97 b7 37 b5 99 63 9b 3d  |_..f...2..7..c.=|
00000120  73 58 e2 13 10 71 21 e0  f1 c5 14 34 79 e0 fb b3  |sX...q!....4y...|
00000130  5f 87 b2 09 ea 28 81 7a  69 86 1b ba f5 7e cb 96  |_....(.zi....~..|
00000140  3f 6e 82 f1 fa 69 f2 7e  4c b3 17 20 71 e0 f7 29  |?n...i.~L.. q..)|
00000150  ce a7 75 49 5e e6 04 ac  8a 1b 3a 90 d2 af 9c 0e  |..uI^.....:.....|
00000160  4a 29 68 a2 d0 cb 6a 6a  cf f5 60 ab ac 26 40 8b  |J)h...jj..`..&@.|
00000170  2e 8d ec 90 70 fe 3f 57  7a d3 f4 b0 d3 7f 9d df  |....p.?Wz.......|
00000180  d9 77 48 50 fa 06 53 58  81 6d d4 d6 11 cc 66 28  |.wHP..SX.m....f(|
00000190  3b 54 cf 8a b4 6d ce 69  8c 36 de f0 5f 73 53 11  |;T...m.i.6.._sS.|
000001a0  4a 59 3c 38 2b fb fd e7  56 72 d4 0d a0 12 5b de  |JY<8+...Vr....[.|
000001b0  c4 ba 77 06 f3 b2 d3 6b  a9 fb 35 d0 52 96 00 fe  |..w....k..5.R...|
000001c0  ff ff 07 fe ff ff 00 08  00 00 00 80 38 01 00 00  |............8...|
000001d0  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 sdb5

00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 98 91 07  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 7f 38 01 00 00 00 00  |..........8.....|
00000030  04 00 00 00 00 00 00 00  ff 87 13 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  82 9c b8 57 0f 5b 40 1d  |...........W.[@.|
00000050  00 00 00 00 0e 1f be 71  7c ac 22 c0 74 0b 56 b4  |.......q|.".t.V.|
00000060  0e bb 07 00 cd 10 5e eb  f0 32 e4 cd 16 cd 19 eb  |......^..2......|
00000070  fe 54 68 69 73 20 69 73  20 6e 6f 74 20 61 20 62  |.This is not a b|
00000080  6f 6f 74 61 62 6c 65 20  64 69 73 6b 2e 20 50 6c  |ootable disk. Pl|
00000090  65 61 73 65 20 69 6e 73  65 72 74 20 61 20 62 6f  |ease insert a bo|
000000a0  6f 74 61 62 6c 65 20 66  6c 6f 70 70 79 20 61 6e  |otable floppy an|
000000b0  64 0d 0a 70 72 65 73 73  20 61 6e 79 20 6b 65 79  |d..press any key|
000000c0  20 74 6f 20 74 72 79 20  61 67 61 69 6e 20 2e 2e  | to try again ..|
000000d0  2e 20 0d 0a 00 00 00 00  00 00 00 00 00 00 00 00  |. ..............|
000000e0  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



ADDITIONAL INFORMATION :
=================== log of boot-info 20190417_0903 ===================
boot-info version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
boot-info is executed in installed-session (Ubuntu 18.04.2 LTS, bionic, Ubuntu, x86_64)
CPU op-mode(s):      32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-4.15.0-47-generic root=UUID=50771b4d-689b-433f-8fcb-b783112d0df7 ro quiet splash video=SVIDEO-1:d vt.handoff=1

=================== os-prober:
/dev/sdb3:L'OS actuellement utilisé - Ubuntu 18.04.2 LTS CurrentSession:linux
/dev/sda1:Windows 8:Windows:chain

=================== blkid:
/dev/sda1: LABEL="XP" UUID="74E418A5E4186B9C" TYPE="ntfs" PARTUUID="2de9fd87-01"
/dev/sdb1: LABEL="W7" UUID="7424E07324E039AE" TYPE="ntfs" PARTUUID="9515e672-01"
/dev/sdb2: LABEL="Swap" UUID="473d2409-de90-4490-bc28-a18a997bab59" TYPE="swap" PARTUUID="9515e672-02"
/dev/sdb3: LABEL="Lub18.04.02" UUID="50771b4d-689b-433f-8fcb-b783112d0df7" TYPE="ext3" PARTUUID="9515e672-03"
/dev/sdb5: LABEL="Data-Perso" UUID="1D405B0F57B89C82" TYPE="ntfs" PTTYPE="dos" PARTUUID="9515e672-05"


2 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.

Windows not detected by os-prober on sdb1.

=================== /etc/grub.d/ :
drwxr-xr-x  2 root root     4096 avril  8 23:26 grub.d
total 80
-rwxr-xr-x 1 root root 10046 mars  18 17:11 00_header
-rwxr-xr-x 1 root root  6258 juil. 16  2018 05_debian_theme
-rwxr-xr-x 1 root root 12693 juil. 17  2018 10_linux
-rwxr-xr-x 1 root root 11298 juil. 17  2018 20_linux_xen
-rwxr-xr-x 1 root root  1992 janv. 28  2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 juil. 17  2018 30_os-prober
-rwxr-xr-x 1 root root  1418 juil. 17  2018 30_uefi-firmware
-rwxr-xr-x 1 root root   214 juil. 17  2018 40_custom
-rwxr-xr-x 1 root root   216 juil. 17  2018 41_custom
-rw-r--r-- 1 root root   483 juil. 17  2018 README




=================== /etc/default/grub :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

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 video=SVIDEO-1:d"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=640x480,1024x768,1280x1024

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"




=================== UEFI/Legacy mode:
This installed-session is not in EFI-mode.
SecureBoot disabled.


=================== PARTITIONS & DISKS:
sdb3	: sdb,	not-sepboot,	grubenv-ok	grub2,	grub-pc ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	not-far,	notbiosboot, .
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	ntldr,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sda1.
sdb1	: sdb,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sdb1.
sdb5	: sdb,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /media/DATA-GG.

sdb	: not-GPT,	BIOSboot-not-needed,	has-no-EFIpart, 	not-usb,	not-mmc, has-os,	63 sectors * 512 bytes
sda	: not-GPT,	BIOSboot-not-needed,	has-no-EFIpart, 	not-usb,	not-mmc, has-os,	63 sectors * 512 bytes


=================== parted -lm:

BYT;
/dev/sda:20.0GB:scsi:512:512:msdos:ATA ST320413A:;
1:32.3kB:20.0GB:20.0GB:ntfs::boot;

BYT;
/dev/sdb:120GB:scsi:512:512:msdos:ATA ST3120026A:;
1:32.3kB:41.9GB:41.9GB:ntfs::;
2:41.9GB:44.0GB:2097MB:linux-swap(v1)::;
3:44.0GB:65.0GB:21.0GB:ext3::boot;
4:65.0GB:120GB:55.0GB:::;
5:65.0GB:75.5GB:10.5GB:ntfs::;

=================== lsblk:
KNAME TYPE FSTYPE   SIZE LABEL
fd0   disk            4K
sda   disk         18,7G
sda1  part ntfs    18,7G XP
sdb   disk        111,8G
sdb1  part ntfs    39,1G W7
sdb2  part swap       2G Swap
sdb3  part ext3    19,5G Lub18.04.02
sdb4  part            1K
sdb5  part ntfs     9,8G Data-Perso
sr0   rom          1024M
sr1   rom          1024M

KNAME ROTA RO RM STATE   MOUNTPOINT
fd0      1  0  1
sda      1  0  0 running
sda1     1  0  0         /mnt/boot-sav/sda1
sdb      1  0  0 running
sdb1     1  0  0         /mnt/boot-sav/sdb1
sdb2     1  0  0
sdb3     1  0  0         /
sdb4     1  0  0
sdb5     1  0  0         /media/DATA-GG
sr0      1  0  1 running
sr1      1  0  1 running


=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=999148k,nr_inodes=249787,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=204164k,mode=755)
/dev/sdb3 on / type ext3 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=27,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=12459)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sdb5 on /media/DATA-GG type fuseblk (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=204160k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdb1 on /mnt/boot-sav/sdb1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)


=================== ls:
/sys/block/fd0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity power queue range removable ro sda1 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity power queue range removable ro sdb1 sdb2 sdb3 sdb4 sdb5 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sr1 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  agpgart autofs block bsg btrfs-control bus cdrom cdrw char console core cpu_dma_latency cuse disk dmmidi1 dri dvd dvdrw ecryptfs fb0 fd fd0 full fuse fw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 initctl input kmsg lightnvm log mapper mcelog mem memory_bandwidth midi1 mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sdb sdb1 sdb2 sdb3 sdb4 sdb5 sg0 sg1 sg2 sg3 shm snapshot snd sr0 sr1 stderr stdin stdout uhid uinput urandom userio vfio vga_arbiter vhci vhost-net vhost-vsock zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda1
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 3f 00 00 00  |........?...?...|
00000020  00 00 00 00 80 00 80 00  01 68 54 02 00 00 00 00  |.........hT.....|
00000030  00 00 0c 00 00 00 00 00  80 46 25 00 00 00 00 00  |.........F%.....|
00000040  f6 00 00 00 01 00 00 00  9c 6b 18 e4 a5 18 e4 74  |.........k.....t|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 01 90 90 66 60 1e  |(........_...f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a0 f8 01 e8 09 00  |...u...fa.......|
00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 41 20  |t.............A |
00000190  64 69 73 6b 20 72 65 61  64 20 65 72 72 6f 72 20  |disk read error |
000001a0  6f 63 63 75 72 72 65 64  00 0d 0a 42 4f 4f 54 4d  |occurred...BOOTM|
000001b0  47 52 20 69 73 20 6d 69  73 73 69 6e 67 00 0d 0a  |GR is missing...|
000001c0  42 4f 4f 54 4d 47 52 20  69 73 20 63 6f 6d 70 72  |BOOTMGR is compr|
000001d0  65 73 73 65 64 00 0d 0a  50 72 65 73 73 20 43 74  |essed...Press Ct|
000001e0  72 6c 2b 41 6c 74 2b 44  65 6c 20 74 6f 20 72 65  |rl+Alt+Del to re|
000001f0  73 74 61 72 74 0d 0a 00  8c a9 be d6 00 00 55 aa  |start.........U.|
00000200

=================== hexdump -n512 -C /dev/sdb1
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 3f 00 00 00  |........?...?...|
00000020  00 00 00 00 80 00 80 00  b8 07 e2 04 00 00 00 00  |................|
00000030  00 00 0c 00 00 00 00 00  92 a7 61 00 00 00 00 00  |..........a.....|
00000040  f6 00 00 00 01 00 00 00  ae 39 e0 24 73 e0 24 74  |.........9.$s.$t|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb b8 c0 07  |.....3.....|....|
00000060  8e d8 e8 16 00 b8 00 0d  8e c0 33 db c6 06 0e 00  |..........3.....|
00000070  10 e8 53 00 68 00 0d 68  6a 02 cb 8a 16 24 00 b4  |..S.h..hj....$..|
00000080  08 cd 13 73 05 b9 ff ff  8a f1 66 0f b6 c6 40 66  |...s......f...@f|
00000090  0f b6 d1 80 e2 3f f7 e2  86 cd c0 ed 06 41 66 0f  |.....?.......Af.|
000000a0  b7 c9 66 f7 e1 66 a3 20  00 c3 b4 41 bb aa 55 8a  |..f..f. ...A..U.|
000000b0  16 24 00 cd 13 72 0f 81  fb 55 aa 75 09 f6 c1 01  |.$...r...U.u....|
000000c0  74 04 fe 06 14 00 c3 66  60 1e 06 66 a1 10 00 66  |t......f`..f...f|
000000d0  03 06 1c 00 66 3b 06 20  00 0f 82 3a 00 1e 66 6a  |....f;. ...:..fj|
000000e0  00 66 50 06 53 66 68 10  00 01 00 80 3e 14 00 00  |.fP.Sfh.....>...|
000000f0  0f 85 0c 00 e8 b3 ff 80  3e 14 00 00 0f 84 61 00  |........>.....a.|
00000100  b4 42 8a 16 24 00 16 1f  8b f4 cd 13 66 58 5b 07  |.B..$.......fX[.|
00000110  66 58 66 58 1f eb 2d 66  33 d2 66 0f b7 0e 18 00  |fXfX..-f3.f.....|
00000120  66 f7 f1 fe c2 8a ca 66  8b d0 66 c1 ea 10 f7 36  |f......f..f....6|
00000130  1a 00 86 d6 8a 16 24 00  8a e8 c0 e4 06 0a cc b8  |......$.........|
00000140  01 02 cd 13 0f 82 19 00  8c c0 05 20 00 8e c0 66  |........... ...f|
00000150  ff 06 10 00 ff 0e 0e 00  0f 85 6f ff 07 1f 66 61  |..........o...fa|
00000160  c3 a0 f8 01 e8 09 00 a0  fb 01 e8 03 00 fb eb fe  |................|
00000170  b4 01 8b f0 ac 3c 00 74  09 b4 0e bb 07 00 cd 10  |.....<.t........|
00000180  eb f2 c3 0d 0a 45 72 72  2e 20 6c 65 63 74 75 72  |.....Err. lectur|
00000190  65 20 64 69 73 71 75 65  00 0d 0a 4e 54 4c 44 52  |e disque...NTLDR|
000001a0  20 6d 61 6e 71 75 65 00  0d 0a 4e 54 4c 44 52 20  | manque...NTLDR |
000001b0  65 73 74 20 63 6f 6d 70  72 65 73 73 82 00 0d 0a  |est compress....|
000001c0  45 6e 74 72 65 7a 20 43  74 72 6c 2b 41 6c 74 2b  |Entrez Ctrl+Alt+|
000001d0  53 75 70 70 72 20 70 6f  75 72 20 72 65 64 82 6d  |Suppr pour red.m|
000001e0  61 72 72 65 72 0d 0a 00  0d 0a 00 00 00 00 00 00  |arrer...........|
000001f0  00 00 00 00 00 00 00 00  83 99 a8 be 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sdb5
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 98 91 07  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 7f 38 01 00 00 00 00  |..........8.....|
00000030  04 00 00 00 00 00 00 00  ff 87 13 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  82 9c b8 57 0f 5b 40 1d  |...........W.[@.|
00000050  00 00 00 00 0e 1f be 71  7c ac 22 c0 74 0b 56 b4  |.......q|.".t.V.|
00000060  0e bb 07 00 cd 10 5e eb  f0 32 e4 cd 16 cd 19 eb  |......^..2......|
00000070  fe 54 68 69 73 20 69 73  20 6e 6f 74 20 61 20 62  |.This is not a b|
00000080  6f 6f 74 61 62 6c 65 20  64 69 73 6b 2e 20 50 6c  |ootable disk. Pl|
00000090  65 61 73 65 20 69 6e 73  65 72 74 20 61 20 62 6f  |ease insert a bo|
000000a0  6f 74 61 62 6c 65 20 66  6c 6f 70 70 79 20 61 6e  |otable floppy an|
000000b0  64 0d 0a 70 72 65 73 73  20 61 6e 79 20 6b 65 79  |d..press any key|
000000c0  20 74 6f 20 74 72 79 20  61 67 61 69 6e 20 2e 2e  | to try again ..|
000000d0  2e 20 0d 0a 00 00 00 00  00 00 00 00 00 00 00 00  |. ..............|
000000e0  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

=================== df -Th:

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  976M     0  976M   0% /dev
tmpfs          tmpfs     200M  1.2M  199M   1% /run
/dev/sdb3      ext3       20G  5.8G   13G  32% /
tmpfs          tmpfs     997M   50M  948M   5% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     997M     0  997M   0% /sys/fs/cgroup
/dev/sdb5      fuseblk   9.8G  136M  9.7G   2% /media/DATA-GG
tmpfs          tmpfs     200M   24K  200M   1% /run/user/1000
/dev/sda1      fuseblk    19G   12G  7.6G  60% /mnt/boot-sav/sda1
/dev/sdb1      fuseblk    40G   24G   16G  61% /mnt/boot-sav/sdb1

=================== fdisk -l:
Disk /dev/sda: 18.7 GiB, 20020396032 bytes, 39102336 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x2de9fd87

Device     Boot Start      End  Sectors  Size Id Type
/dev/sda1  *       63 39086144 39086082 18.7G  7 HPFS/NTFS/exFAT


Disk /dev/sdb: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x9515e672

Device     Boot     Start       End   Sectors  Size Id Type
/dev/sdb1              63  81922047  81921985 39.1G  7 HPFS/NTFS/exFAT
/dev/sdb2        81922048  86018047   4096000    2G 82 Linux swap / Solaris
/dev/sdb3  *     86018048 126980095  40962048 19.5G 83 Linux
/dev/sdb4       126980096 234440703 107460608 51.2G  5 Extended
/dev/sdb5       126982144 147462143  20480000  9.8G  7 HPFS/NTFS/exFAT



(zenity:11897): dbind-WARNING **: 09:04:30.653: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
Gtk-Message: 09:04:31.446: GtkDialog mapped without a transient parent. This is discouraged.
User choice: Est-ce que sdb (ATA ST3120026A) est un disque amovible ? no




=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sdb3 into the MBRs of all disks (except live-disks and removable disks without OS).
Additional repair would be performed: unhide-bootmenu-10s   fix-windows-boot


=================== Final advice in case of suggested repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le disque sdb (ATA ST3120026A) !


=================== User settings
The settings chosen by the user will not act on the boot.

Je te suggère de passer la commande suivante dans un terminal :

sudo apt update

Tu laisses mouliner et quand c'est fini, tu passes cette autre commande :

sudo apt full-upgrade

Pareil, tu laisses mouliner et quand c'est fini, tu redémarres l'ordi et tu ouvres une session de ton Lubuntu.
Tu passes la commande :

sudo systemd-analyze

Puis la commande :

sudo systemd-analyze blame

Et tu colles le résultat complet de ces deux commandes pour qu'on puisse comparer avec ce que tu as obtenu dans le post #1

Hors ligne

#7 Le 17/04/2019, à 09:21

winux

Re : [RÉSOLU] Lubuntu très très lent au démarrage (~4mn)

Bonjour et merci pour ta réponse Malbo
Après avoir passé les 2 premières commandes et rebooté voici le résultat

 gerard@PC-labo:~$ sudo systemd-analyze
[sudo] Mot de passe de gerard : 
Startup finished in 39.414s (kernel) + 3min 5.294s (userspace) = 3min 44.709s
graphical.target reached after 1min 50.189s in userspace

gerard@PC-labo:~$ sudo systemd-analyze blame
[sudo] Mot de passe de gerard : 
         11.081s dev-sdb3.device
         10.977s networkd-dispatcher.service
         10.587s ufw.service
          8.040s NetworkManager.service
          7.341s ModemManager.service
          6.038s systemd-journal-flush.service
          5.994s accounts-daemon.service
          4.772s udisks2.service
          3.730s apparmor.service
          3.677s lightdm.service
          3.646s plymouth-quit-wait.service
          3.627s plymouth-start.service
          3.576s wpa_supplicant.service
          3.258s NetworkManager-wait-online.service
          2.743s plymouth-read-write.service
          2.606s grub-common.service
          2.222s postfix@-.service
          2.202s systemd-udevd.service
          2.152s avahi-daemon.service
          2.077s rsyslog.service
          2.074s pppd-dns.service
          2.045s gpu-manager.service
          1.899s polkit.service
          1.784s keyboard-setup.service
          1.770s apport.service
          1.197s ssh.service
          1.197s dev-hugepages.mount
          1.193s sys-kernel-debug.mount
          1.192s dev-mqueue.mount
          1.163s systemd-remount-fs.service
          1.152s systemd-tmpfiles-setup-dev.service
          1.102s systemd-logind.service
          1.089s systemd-resolved.service
          1.077s systemd-timesyncd.service
           912ms user@1000.service
           883ms systemd-modules-load.service
           858ms systemd-update-utmp.service
           801ms media-DATA\x2dGG.mount
           611ms upower.service
           424ms systemd-tmpfiles-setup.service
           410ms systemd-journald.service
           360ms kerneloops.service
           280ms motd-news.service
           276ms sys-kernel-config.mount
           254ms sys-fs-fuse-connections.mount
           236ms systemd-user-sessions.service
           226ms systemd-sysctl.service
           205ms systemd-udev-trigger.service
           197ms systemd-random-seed.service
           162ms console-setup.service
           147ms kmod-static-nodes.service
           116ms setvtrgb.service
            97ms systemd-tmpfiles-clean.service
            76ms alsa-restore.service
            38ms ureadahead-stop.service
            23ms systemd-update-utmp-runlevel.service
lines 34-56/56 (END)

Dernière modification par winux (Le 17/04/2019, à 09:50)


http://i3.tinypic.com/4g8nio8.png
Livebox fibre - 980 Mbps mesurés -  Triple  boot : Ub 20.04 / Mint 20.2 / W10 - Ecran : Samsung 22" -
CM : Gigabyte P67A UD3 B3 - CPU : Intel Quad Core i5 3.3 GHz - GPU : nVidia Gigabyte N430
RAM : 8 Go DDR3 - SSD de 240 Go - 2 HD de 1 To chacun

Hors ligne

#8 Le 17/04/2019, à 09:36

winux

Re : [RÉSOLU] Lubuntu très très lent au démarrage (~4mn)

Je me suis amusé à faire un petit comparatif du top 7 gros consommateurs AVANT et APRES tes commandes
Ce qui est paradoxal c'est que le temps de démarrage est le même mais que les foyers d'attente se sont déplacés

 AVANT
         57.261s apt-daily.service --> a disparu du top 7
         20.802s dev-sdb3.device --> diminué de 9s après commandes
         20.055s systemd-journal-flush.service -->  diminué de 14s
         16.682s ufw.service --> diminué de 6s
         15.105s systemd-udevd.service --> n'est plus dans le top 7
          4.485s NetworkManager.service --> augmenté de 4s
          4.285s networkd-dispatcher.service --> n'est plus dans le top 7

APRES
         11.081s dev-sdb3.device
         10.977s networkd-dispatcher.service
         10.587s ufw.service
          8.040s NetworkManager.service
          7.341s ModemManager.service
          6.038s systemd-journal-flush.service
          5.994s accounts-daemon.service 

Autre constat que tout le monde peut faire :
sur les 3 mn 5s de userspace (le gros de mon Pb je pense)
1mn 50 est consacrée au délai avant d'atteindre l'interface graphique, c'est beaucoup non ?
mais d'où ça vient  ????

Dernière modification par winux (Le 17/04/2019, à 09:58)


http://i3.tinypic.com/4g8nio8.png
Livebox fibre - 980 Mbps mesurés -  Triple  boot : Ub 20.04 / Mint 20.2 / W10 - Ecran : Samsung 22" -
CM : Gigabyte P67A UD3 B3 - CPU : Intel Quad Core i5 3.3 GHz - GPU : nVidia Gigabyte N430
RAM : 8 Go DDR3 - SSD de 240 Go - 2 HD de 1 To chacun

Hors ligne

#9 Le 17/04/2019, à 11:12

malbo

Re : [RÉSOLU] Lubuntu très très lent au démarrage (~4mn)

Je t'ai fait faire les mises à jour parce que apt-daily.service semblait un contributeur important au temps de démarrage mais ça n'a servi à rien :
AVANT (ton post "1) :

Startup finished in 39.439s (kernel) + 3min 4.923s (userspace) = 3min 44.362s

APRÈS (ton post #7) : 

Startup finished in 39.414s (kernel) + 3min 5.294s (userspace) = 3min 44.709s

Il doit falloir chercher ailleurs mais je n'ai pas d'idée là...

Hors ligne

#10 Le 17/04/2019, à 11:14

winux

Re : [RÉSOLU] Lubuntu très très lent au démarrage (~4mn)

Très très bizarre cette affaire.
Je viens de redémarrer et j'ai encore des valeurs TRES différentes ??!!

gerard@PC-labo:~$ sudo systemd-analyze
[sudo] Mot de passe de gerard : 
Startup finished in 39.412s (kernel) + 3min 5.033s (userspace) = 3min 44.445s
graphical.target reached after 1min 43.749s in userspace
 gerard@PC-labo:~$ sudo systemd-analyze blame
         24.401s systemd-journal-flush.service
         24.281s dev-sdb3.device
         19.661s ufw.service
         13.289s systemd-udevd.service
          6.395s systemd-tmpfiles-setup-dev.service
          4.689s NetworkManager.service
          4.655s networkd-dispatcher.service
          4.228s udisks2.service
          3.440s accounts-daemon.service
          3.436s ModemManager.service
          2.239s apparmor.service
          2.047s plymouth-read-write.service
          2.045s postfix@-.service
          1.859s grub-common.service
          1.606s keyboard-setup.service
          1.592s media-DATA\x2dGG.mount
          1.433s NetworkManager-wait-online.service
          1.243s wpa_supplicant.service
          1.066s systemd-modules-load.service
          1.017s systemd-remount-fs.service
           969ms rsyslog.service
           968ms dev-mqueue.mount
           929ms gpu-manager.service
lines 1-23

Dernière modification par winux (Le 17/04/2019, à 11:17)


http://i3.tinypic.com/4g8nio8.png
Livebox fibre - 980 Mbps mesurés -  Triple  boot : Ub 20.04 / Mint 20.2 / W10 - Ecran : Samsung 22" -
CM : Gigabyte P67A UD3 B3 - CPU : Intel Quad Core i5 3.3 GHz - GPU : nVidia Gigabyte N430
RAM : 8 Go DDR3 - SSD de 240 Go - 2 HD de 1 To chacun

Hors ligne

#11 Le 17/04/2019, à 11:19

winux

Re : [RÉSOLU] Lubuntu très très lent au démarrage (~4mn)

Ok Malbo
bien vu ta réponse merci pour ta participation
Il ne me reste plus qu'à espérer que d'autres cadors vont passer par là !!
@+


http://i3.tinypic.com/4g8nio8.png
Livebox fibre - 980 Mbps mesurés -  Triple  boot : Ub 20.04 / Mint 20.2 / W10 - Ecran : Samsung 22" -
CM : Gigabyte P67A UD3 B3 - CPU : Intel Quad Core i5 3.3 GHz - GPU : nVidia Gigabyte N430
RAM : 8 Go DDR3 - SSD de 240 Go - 2 HD de 1 To chacun

Hors ligne

#12 Le 17/04/2019, à 11:28

piolet

Re : [RÉSOLU] Lubuntu très très lent au démarrage (~4mn)

vous pouvez aussi analyser par

systemd-analyze critical-chain 

lenovo T430 RAM 8Go Xubuntu 22.04 LTS

Hors ligne

#13 Le 17/04/2019, à 12:51

winux

Re : [RÉSOLU] Lubuntu très très lent au démarrage (~4mn)

merci pour ton entrée en scène piolet.
Effectivement cela donne une idée différente de tous ces temps qui s’accumulent.
J'espère que cela induira des pistes pour solutionner le Pb ??
@ bientôt

 gerard@PC-labo:~$ systemd-analyze critical-chain 
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @1min 43.782s
└─multi-user.target @1min 43.781s
  └─kerneloops.service @1min 41.720s +77ms
    └─network-online.target @1min 41.665s
      └─NetworkManager-wait-online.service @1min 40.238s +1.426s
        └─NetworkManager.service @1min 35.931s +4.265s
          └─dbus.service @1min 35.136s
            └─basic.target @1min 34.916s
              └─sockets.target @1min 34.916s
                └─avahi-daemon.socket @1min 34.914s
                  └─sysinit.target @1min 34.890s
                    └─apparmor.service @29.332s +849ms
                      └─local-fs.target @29.286s
                        └─run-user-1000-gvfs.mount @1min 46.318s
                          └─run-user-1000.mount @1min 43.745s
                            └─local-fs-pre.target @6.735s
                              └─keyboard-setup.service @4.773s +1.961s
                                └─systemd-journald.socket @4.728s
                                  └─system.slice @4.726s
                                    └─-.slice @4.691s
gerard@PC-labo:~$  

Comme elles n'apparaissent pas clairement, je recopie ci-dessous les lignes en rouges avec leur N° d'ordre.
3-kerneloops.service @1min 41.720s +77ms
5-NetworkManager-wait-online.service @1min 40.238s +1.426s
6-NetworkManager.service @1min 35.931s +4.265s
12-apparmor.service @29.332s +849ms
17-keyboard-setup.service @4.773s +1.961s

Dernière modification par winux (Le 18/04/2019, à 08:57)


http://i3.tinypic.com/4g8nio8.png
Livebox fibre - 980 Mbps mesurés -  Triple  boot : Ub 20.04 / Mint 20.2 / W10 - Ecran : Samsung 22" -
CM : Gigabyte P67A UD3 B3 - CPU : Intel Quad Core i5 3.3 GHz - GPU : nVidia Gigabyte N430
RAM : 8 Go DDR3 - SSD de 240 Go - 2 HD de 1 To chacun

Hors ligne

#14 Le 17/04/2019, à 12:56

grandtoubab

Re : [RÉSOLU] Lubuntu très très lent au démarrage (~4mn)

Salut
il faut analyser ce qui se passe pour l'utilisateur

systemd-analyze blame --user

Exemple
systemd-analyze blame --user
         15.030s alsa-restore.service
          9.387s pulseaudio.service
          1.981s tracker-store.service
           126ms gvfs-daemon.service
            68ms gvfs-udisks2-volume-monitor.service
            57ms gvfs-metadata.service
            34ms at-spi-dbus-bus.service
            28ms gvfs-mtp-volume-monitor.service
            26ms gvfs-afc-volume-monitor.service
            20ms gvfs-goa-volume-monitor.service
            19ms gvfs-gphoto2-volume-monitor.service
             8ms dbus.socket


Linux tout seul sur HP Pavilion DV7 et Acer Aspire T650, Canon MG3650 en wifi
Debian 11 Bullseye Gnome/Xorg, Gnome/Wayland avec SDDM
https://bidouilledebian.wordpress.com/
ON M'A VU DANS LE VERCORS, SAUTER A L'ELASTIQUE..... J'AI DANS LES BOTTES DES MONTAGNES DE QUESTIONS....

Hors ligne

#15 Le 17/04/2019, à 13:38

malbo

Re : [RÉSOLU] Lubuntu très très lent au démarrage (~4mn)

ça y est, j'ai trouvé la couille.
Dans le fstab, il y a cette ligne :

UUID=afda27bd-e819-4805-8590-3f9877904884      none            swap    sw              0       0

L'UUID afda27bd-e819-4805-8590-3f9877904884 ne correspond à aucune partition. Il faut corriger cette ligne pour remplacer cet UUID par l'UUID de la partition swap sdb2 qui est 473d2409-de90-4490-bc28-a18a997bab59 de sorte que cette ligne devienne :

UUID=473d2409-de90-4490-bc28-a18a997bab59      none            swap    sw              0       0

EDIT : pour ouvrir le fichier /etc/fstab dans l’éditeur de texte de Lubuntu avec pouvoir administrateur, je pense qu'il faut copier cette commande :

leafpad admin:///etc/fstab

et la coller dans un terminal puis valider par la touche Entrée. Ensuite, tu pourras faire la modif que j'ai détaillée ci-dessus.

Dernière modification par malbo (Le 17/04/2019, à 13:45)

Hors ligne

#16 Le 17/04/2019, à 14:04

winux

Re : [RÉSOLU] Lubuntu très très lent au démarrage (~4mn)

bien bien vu malbo, erreur stupide.
En effet mes partitions étaient devenues une usine à gaz, je les ai donc simplifiées, mais oublié de revoir mon fstab, je m'en souviendrai !!
Je passe désormais à 1mn 50, beaucoup plus acceptable bien que de 30s supérieur à mon PC le plus faible, mais bon on ne va pas chercher la petite bête.

Puis-je marquer résolu ou y a-t-il une possibilité d’améliorer ton score déjà très bon !!!
Grand merci à nouveau  ainsi qu'à tous ceux qui ont participé
@+


http://i3.tinypic.com/4g8nio8.png
Livebox fibre - 980 Mbps mesurés -  Triple  boot : Ub 20.04 / Mint 20.2 / W10 - Ecran : Samsung 22" -
CM : Gigabyte P67A UD3 B3 - CPU : Intel Quad Core i5 3.3 GHz - GPU : nVidia Gigabyte N430
RAM : 8 Go DDR3 - SSD de 240 Go - 2 HD de 1 To chacun

Hors ligne

#17 Le 17/04/2019, à 17:20

malbo

Re : [RÉSOLU] Lubuntu très très lent au démarrage (~4mn)

Ce serait bien de repasser la commande :

systemd-analyze critical-chain

Et coller le résultat dans ta réponse pour comparaison avec le résultat du post #13

Hors ligne

#18 Le 17/04/2019, à 17:50

lynn

Re : [RÉSOLU] Lubuntu très très lent au démarrage (~4mn)

Bonjour,

Tu peux toujours essayer de désactiver certains services qui ont l'air de plomber le démarrage ; Tu pourras les réactiver au besoin.

Pour commencer, je tenterais la désactivation de NetworkManager-wait-online.service.

sudo systemctl disable NetworkManager-wait-online.service

Redémarre et dis nous si c'est mieux.


«C'est pas parce qu'ils sont nombreux à avoir tort qu'ils ont raison!»

Coluche

Hors ligne

#19 Le 17/04/2019, à 20:59

winux

Re : [RÉSOLU] Lubuntu très très lent au démarrage (~4mn)

@malbo
Oui malbo j'y avais pensé mais j'ai été coincé tout l'am et je ne rentre que maintenant, voci
Tu espères me gratter encore qq secondes ??!! je suis preneur bien sûr !!

AVANT MODIF MALBO fstab

 gerard@PC-labo:~$ systemd-analyze critical-chain 
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @1min 43.782s
└─multi-user.target @1min 43.781s
  └─kerneloops.service @1min 41.720s +77ms
    └─network-online.target @1min 41.665s
      └─NetworkManager-wait-online.service @1min 40.238s +1.426s
        └─NetworkManager.service @1min 35.931s +4.265s
          └─dbus.service @1min 35.136s
            └─basic.target @1min 34.916s
              └─sockets.target @1min 34.916s
                └─avahi-daemon.socket @1min 34.914s
                  └─sysinit.target @1min 34.890s
                    └─apparmor.service @29.332s +849ms
                      └─local-fs.target @29.286s
                        └─run-user-1000-gvfs.mount @1min 46.318s
                          └─run-user-1000.mount @1min 43.745s
                            └─local-fs-pre.target @6.735s
                              └─keyboard-setup.service @4.773s +1.961s
                                └─systemd-journald.socket @4.728s
                                  └─system.slice @4.726s
                                    └─-.slice @4.691s
gerard@PC-labo:~$  

Comme elles n'apparaissent pas clairement, je recopie ci-dessous les lignes en rouges avec leur N° d'ordre.
3-kerneloops.service @1min 41.720s +77ms
5-NetworkManager-wait-online.service @1min 40.238s +1.426s
6-NetworkManager.service @1min 35.931s +4.265s
12-apparmor.service @29.332s +849ms
17-keyboard-setup.service @4.773s +1.961s

APRÈS MODIF MALBO fstab

 gerard@PC-labo:~$ systemd-analyze critical-chain 
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @41.372s
└─multi-user.target @41.371s
  └─kerneloops.service @39.278s +201ms
    └─network-online.target @39.246s
      └─NetworkManager-wait-online.service @37.803s +1.442s
        └─NetworkManager.service @33.317s +4.432s
          └─dbus.service @32.775s
            └─basic.target @32.747s
              └─sockets.target @32.747s
                └─cups.socket @32.747s
                  └─sysinit.target @32.713s
                    └─apparmor.service @31.094s +1.617s
                      └─local-fs.target @31.081s
                        └─run-user-1000-gvfs.mount @45.837s
                          └─run-user-1000.mount @42.012s
                            └─local-fs-pre.target @6.560s
                              └─systemd-tmpfiles-setup-dev.service @5.092s +1.46
                                └─kmod-static-nodes.service @4.847s +241ms
                                  └─systemd-journald.socket @4.760s
                                    └─system.slice @4.759s
 

si "graphical.target @41.372s" est la ligne 1
les articles en rouge sont à la ligne : 3-5-6-12-17-18

autre analyse

 gerard@PC-labo:~$ sudo systemd-analyze
Startup finished in 39.425s (kernel) + 47.205s (userspace) = 1min 26.630s
graphical.target reached after 41.372s in userspace
gerard@PC-labo:~$

et la petite dernière

 gerard@PC-labo:~$ sudo systemd-analyze blame
[sudo] Mot de passe de gerard : 
         25.416s dev-sdb3.device
         20.709s ufw.service
         19.085s systemd-journal-flush.service
         14.860s systemd-udevd.service
          7.941s apt-daily.service
          4.432s NetworkManager.service
          4.218s plymouth-start.service
          4.184s udisks2.service
          4.150s networkd-dispatcher.service
          3.191s accounts-daemon.service
          3.135s ModemManager.service
          2.068s postfix@-.service
          1.844s systemd-random-seed.service
          1.637s systemd-remount-fs.service
          1.617s apparmor.service
          1.609s keyboard-setup.service
          1.467s systemd-tmpfiles-setup-dev.service
          1.442s NetworkManager-wait-online.service
          1.395s plymouth-read-write.service
          1.369s wpa_supplicant.service
          1.309s avahi-daemon.service
          1.168s grub-common.service
          1.109s systemd-modules-load.service
lines 1-23
 

Dernière modification par winux (Le 18/04/2019, à 08:53)


http://i3.tinypic.com/4g8nio8.png
Livebox fibre - 980 Mbps mesurés -  Triple  boot : Ub 20.04 / Mint 20.2 / W10 - Ecran : Samsung 22" -
CM : Gigabyte P67A UD3 B3 - CPU : Intel Quad Core i5 3.3 GHz - GPU : nVidia Gigabyte N430
RAM : 8 Go DDR3 - SSD de 240 Go - 2 HD de 1 To chacun

Hors ligne

#20 Le 17/04/2019, à 21:10

winux

Re : [RÉSOLU] Lubuntu très très lent au démarrage (~4mn)

@lynn OK
mais cela aura-t-il une incidence sur  mes connexions réseau SSH vers les autres PC ?

 gerard@PC-labo:~$ sudo systemctl disable NetworkManager-wait-online.service
[sudo] Mot de passe de gerard : 
Removed /etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service.
gerard@PC-labo:~$ 
 

je reboote et reviens aux résultats

Dernière modification par winux (Le 17/04/2019, à 21:25)


http://i3.tinypic.com/4g8nio8.png
Livebox fibre - 980 Mbps mesurés -  Triple  boot : Ub 20.04 / Mint 20.2 / W10 - Ecran : Samsung 22" -
CM : Gigabyte P67A UD3 B3 - CPU : Intel Quad Core i5 3.3 GHz - GPU : nVidia Gigabyte N430
RAM : 8 Go DDR3 - SSD de 240 Go - 2 HD de 1 To chacun

Hors ligne

#21 Le 17/04/2019, à 21:19

winux

Re : [RÉSOLU] Lubuntu très très lent au démarrage (~4mn)

@lynn
Apparemment je gagne 5s dans le userspace
tu vois d'autres trucs à faire ?

AVANT

  gerard@PC-labo:~$ sudo systemd-analyze
Startup finished in 39.425s (kernel) + 47.205s (userspace) = 1min 26.630s
graphical.target reached after 41.372s in userspace
gerard@PC-labo:~$ 

APRES

 gerard@PC-labo:~$ sudo systemd-analyze
[sudo] Mot de passe de gerard : 
Startup finished in 39.446s (kernel) + 41.805s (userspace) = 1min 21.251s
graphical.target reached after 41.753s in userspace
gerard@PC-labo:~$ 
 

http://i3.tinypic.com/4g8nio8.png
Livebox fibre - 980 Mbps mesurés -  Triple  boot : Ub 20.04 / Mint 20.2 / W10 - Ecran : Samsung 22" -
CM : Gigabyte P67A UD3 B3 - CPU : Intel Quad Core i5 3.3 GHz - GPU : nVidia Gigabyte N430
RAM : 8 Go DDR3 - SSD de 240 Go - 2 HD de 1 To chacun

Hors ligne

#22 Le 18/04/2019, à 04:43

malbo

Re : [RÉSOLU] Lubuntu très très lent au démarrage (~4mn)

Bonjour,
Je te prie de déplacer ce que tu as collé par erreur dans le post #13 (la partie "AVANT MODIF MALBO fstab" et la partie "APRÈS MODIF MALBO fstab") pour mettre tout ça dans le post #19.

Hors ligne

#23 Le 18/04/2019, à 06:49

lynn

Re : [RÉSOLU] Lubuntu très très lent au démarrage (~4mn)

winux a écrit :

mais cela aura-t-il une incidence sur  mes connexions réseau SSH vers les autres PC ?

Qu'est-ce que ça donne avec ce service désactivé ? As-tu constaté quelque chose de différent ?

Sinon, 1 minute 21, c'est pas trop mal... enfin c'est mieux que les 3 minutes 44. tongue

Pour info, peux-tu poster l'ensemble de ton fstab ?


«C'est pas parce qu'ils sont nombreux à avoir tort qu'ils ont raison!»

Coluche

Hors ligne

#24 Le 18/04/2019, à 08:55

winux

Re : [RÉSOLU] Lubuntu très très lent au démarrage (~4mn)

malbo a écrit :

déplacer ce que tu as collé dans le post #13 (la partie "AVANT MODIF MALBO fstab" et la partie "APRÈS MODIF MALBO fstab") pour mettre tout ça dans le post #19.

Salut malbo
Voilà c'est fait, je vais remettre le #13 dans son état d'origine


http://i3.tinypic.com/4g8nio8.png
Livebox fibre - 980 Mbps mesurés -  Triple  boot : Ub 20.04 / Mint 20.2 / W10 - Ecran : Samsung 22" -
CM : Gigabyte P67A UD3 B3 - CPU : Intel Quad Core i5 3.3 GHz - GPU : nVidia Gigabyte N430
RAM : 8 Go DDR3 - SSD de 240 Go - 2 HD de 1 To chacun

Hors ligne

#25 Le 18/04/2019, à 09:19

winux

Re : [RÉSOLU] Lubuntu très très lent au démarrage (~4mn)

lynn a écrit :

Qu'est-ce que ça donne avec ce service désactivé ? As-tu constaté quelque chose de différent ?

Salut lynn
Effectivement je viens d'essayer mon réseau SSH aucun Pb. Je n'arrivais pas à me connecter sur un seul de mes PC mais c'est de ma faute. J'avais activé son Firewall mais oublié de débloquer le port 22, ça ne pouvait donc pas entrer ... normal !!

lynn a écrit :

Sinon, 1 minute 21, c'est pas trop mal... enfin c'est mieux que les 3 minutes 44. tongue

C'est clair que c'est nettement mieux. En fait je ne sais pas comment malbo a pu trouver ce détail fin, car sans lui je serai encore en train de ramer dans tous les sens car ça ne m'a pas effleuré une seconde qu'en déplaçant ma partition swap son UUID ne suivrait pas. Chaque fois que je vais sur ce forum, grâce au dévouement de ses acteurs, j'apprends qq chose et c'est hyper motivant !!

En fait je fais un constat doublement paradoxal
1- d'après la commande la durée de démarrage semble être de 1mn 26s

gerard@PC-labo:~$ sudo systemd-analyze
[sudo] Mot de passe de gerard : 
Startup finished in 41.203s (kernel) + 45.302s (userspace) = 1min 26.505s
graphical.target reached after 43.975s in userspace

mais dans la réalité, chrono en main
depuis l'appui sur bouton Power ON
jusqu'à toutes les icônes sur le bureau il se passe en fait 1mn 54s ????
Peut-être ne compte-t-il qu'à partir du moment où le menu GRUB apparaît, car avant d'après moi il ignore ce qui se passe ??

2- si je compare avec un autre "petit vieux" encore plus démuni : 1 Mo de RAM only
celui-ci démarre, chrono en main en 1mn 14s ???
Bizarre non ?
la seule différence est que mon "petit vieux" est en 32 bits car son archi n'accepte pas le 64 bits, c'est te dire son âge canonique et pourtant !!!

lynn a écrit :

Pour info, peux-tu poster l'ensemble de ton fstab ?

 # <file system> <mount point>   <type>  <options>       <dump>  <pass>

# / is on /dev/sdb3
UUID=50771b4d-689b-433f-8fcb-b783112d0df7      /               ext3    errors=remount-ro 0       1

# Data-Perso  is on /dev/sdb5
UUID=1D405B0F57B89C82      /media/DATA-GG      ntfs-3g   defaults,utf8,umask=000,gid=46  0  1 

# swap is on /dev/sdb2
UUID= 473d2409-de90-4490-bc28-a18a997bab59     none            swap    sw              0       0

/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0 

Dernière modification par winux (Le 18/04/2019, à 09:26)


http://i3.tinypic.com/4g8nio8.png
Livebox fibre - 980 Mbps mesurés -  Triple  boot : Ub 20.04 / Mint 20.2 / W10 - Ecran : Samsung 22" -
CM : Gigabyte P67A UD3 B3 - CPU : Intel Quad Core i5 3.3 GHz - GPU : nVidia Gigabyte N430
RAM : 8 Go DDR3 - SSD de 240 Go - 2 HD de 1 To chacun

Hors ligne