Pages : 1
#1 Le 15/09/2019, à 22:18
- PatriceH
lenteur au démarrage
Bonjour,
Je ne sais pas si je suis dans le bon forum mais voilà mon problème.
J'ai du récemment ré-installer Ubuntu.
Depuis le démarrage de l'ordi est ultra lent.
Le démarrage prend 2mn16s
patrice@patrice-eMachines-G640:~$ systemd-analyze time
Startup finished in 39.219s (kernel) + 1min 36.977s (userspace) = 2min 16.196s
graphical.target reached after 59.815s in userspace
et voici la liste des services et le temps qu'ils mettent à se lancer
patrice@patrice-eMachines-G640:~$ systemd-analyze blame
45.603s apt-daily.service
24.337s dev-mapper-ubuntu\x2d\x2dvg\x2droot.device
23.793s plymouth-quit-wait.service
16.123s systemd-journal-flush.service
15.594s systemd-sysctl.service
14.126s systemd-tmpfiles-setup-dev.service
13.741s lvm2-monitor.service
9.566s snapd.service
8.085s NetworkManager-wait-online.service
7.255s apt-daily-upgrade.service
6.641s networkd-dispatcher.service
5.628s NetworkManager.service
5.424s dev-loop16.device
5.347s dev-loop13.device
5.126s dev-loop10.device
5.061s dev-loop12.device
5.061s dev-loop9.device
5.058s dev-loop15.device
5.057s dev-loop14.device
5.050s dev-loop11.device
5.039s keyboard-setup.service
5.024s dev-loop8.device
4.547s dev-loop17.device
4.497s dev-loop7.device
4.414s dev-loop3.device
4.268s udisks2.service
3.827s dev-loop1.device
3.777s dev-loop6.device
3.758s dev-loop5.device
3.691s apparmor.service
3.649s dev-loop0.device
3.616s thermald.service
3.510s dev-loop2.device
3.491s dev-loop4.device
3.228s systemd-udevd.service
3.213s grub-common.service
2.586s accounts-daemon.service
2.562s ModemManager.service
2.218s dns-clean.service
2.171s wpa_supplicant.service
2.140s plymouth-read-write.service
1.624s snap-gnome\x2dcharacters-103.mount
1.546s systemd-modules-load.service
1.512s snap-gnome\x2d3\x2d26\x2d1604-92.mount
1.490s fwupd.service
1.414s gpu-manager.service
1.413s snap-gnome\x2dsystem\x2dmonitor-51.mount
1.325s snap-core-7396.mount
1.203s snap-canonical\x2dlivepatch-81.mount
1.172s systemd-journald.service
1.157s snap-core18-1098.mount
1.153s console-setup.service
1.149s rsyslog.service
1.103s snap-gnome\x2dcharacters-317.mount
1.048s systemd-random-seed.service
1.039s snap-gnome\x2d3\x2d26\x2d1604-70.mount
950ms snap-gnome\x2dcalculator-406.mount
905ms snap-gnome\x2d3\x2d28\x2d1804-71.mount
862ms snap-gtk\x2dcommon\x2dthemes-319.mount
841ms apport.service
817ms snap-core-7713.mount
778ms user@1000.service
709ms snap-core18-1144.mount
678ms colord.service
560ms systemd-tmpfiles-setup.service
540ms snap-gnome\x2dsystem\x2dmonitor-100.mount
504ms snap-gnome\x2dlogs-73.mount
483ms polkit.service
478ms avahi-daemon.service
478ms gdm.service
461ms ufw.service
453ms systemd-logind.service
451ms snap-gtk\x2dcommon\x2dthemes-1313.mount
448ms systemd-resolved.service
433ms lvm2-pvscan@8:1.service
408ms snap-gnome\x2dcalculator-501.mount
394ms snapd.seeded.service
385ms packagekit.service
372ms systemd-rfkill.service
346ms systemd-timesyncd.service
307ms upower.service
299ms snap-gnome\x2dlogs-61.mount
262ms speech-dispatcher.service
478ms gdm.service
461ms ufw.service
453ms systemd-logind.service
451ms snap-gtk\x2dcommon\x2dthemes-1313.mount
448ms systemd-resolved.service
433ms lvm2-pvscan@8:1.service
408ms snap-gnome\x2dcalculator-501.mount
394ms snapd.seeded.service
385ms packagekit.service
372ms systemd-rfkill.service
346ms systemd-timesyncd.service
307ms upower.service
299ms snap-gnome\x2dlogs-61.mount
262ms speech-dispatcher.service
224ms systemd-remount-fs.service
187ms dev-mqueue.mount
176ms blk-availability.service
173ms systemd-update-utmp.service
164ms networking.service
161ms kmod-static-nodes.service
160ms systemd-tmpfiles-clean.service
152ms systemd-udev-trigger.service
138ms bolt.service
124ms sys-kernel-debug.mount
120ms dev-hugepages.mount
107ms plymouth-start.service
91ms motd-news.service
83ms dev-mapper-ubuntu\x2d\x2dvg\x2dswap_1.swap
82ms alsa-restore.service
75ms pppd-dns.service
31ms setvtrgb.service
30ms snapd.socket
26ms kerneloops.service
14ms ureadahead-stop.service
13ms systemd-backlight@backlight:acpi_video0.service
11ms systemd-user-sessions.service
10ms systemd-update-utmp-runlevel.service
10ms rtkit-daemon.service
6ms systemd-backlight@backlight:radeon_bl0.service
4ms sys-kernel-config.mount
4ms sys-fs-fuse-connections.mount
Est-ce que quelqu'un peut m'aider à y mettre bon ordre.
Je suis inscrit depuis 2008, mais mes tentatives pour passer à Linux ont rarement dépassées les 3 mois. J'en suis à ma cinquième tentative et j'espère que là je serai plus persévérant.
Grâce au forum j'ai réussi à régler la plupart de mes problèmes mais j'en ai encore plusieurs. le dernier en date : un disque dur externe en lecture seule.
Hors ligne
#2 Le 16/09/2019, à 10:27
- malbo
Re : lenteur au démarrage
Bonjour,
Je te prie de coller la commande suivante dans un terminal :
cat /etc/initramfs-tools/conf.d/resume
et de valider avec la touche Entrée
Tu donneras le retour de cette commande dans ta réponse. Il est possible que ce retour contienne "Aucun fichier ou dossier de ce type ".
Motif de ma demande : je soupçonne un problème dû à LVM comme dans ce fil : https://forum.ubuntu-fr.org/viewtopic.php?id=2036533
Dernière modification par malbo (Le 16/09/2019, à 10:29)
Hors ligne
#3 Le 16/09/2019, à 13:53
- PatriceH
Re : lenteur au démarrage
Voilà
cat /etc/initramfs-tools/conf.d/resume
RESUME=UUID=b9aff09c-5b41-423d-b9f7-69fdd0976569
Merci de t’occuper de ce problème. J'avais déjà suivi une conversation du même type où tu étais intervenu.
Je suis inscrit depuis 2008, mais mes tentatives pour passer à Linux ont rarement dépassées les 3 mois. J'en suis à ma cinquième tentative et j'espère que là je serai plus persévérant.
Grâce au forum j'ai réussi à régler la plupart de mes problèmes mais j'en ai encore plusieurs. le dernier en date : un disque dur externe en lecture seule.
Hors ligne
#4 Le 16/09/2019, à 14:12
- malbo
Re : lenteur au démarrage
Je pense que tu es bien victime du problème que je soupçonnais. Je te prie de faire un Boot-Info depuis une session de ton Ubuntu installé et de donner l'URL de ce Boot-Info dans ta réponse.
Hors ligne
#5 Le 16/09/2019, à 14:57
- PatriceH
Re : lenteur au démarrage
Voilà
Le rapport boot-info
Je suis inscrit depuis 2008, mais mes tentatives pour passer à Linux ont rarement dépassées les 3 mois. J'en suis à ma cinquième tentative et j'espère que là je serai plus persévérant.
Grâce au forum j'ai réussi à régler la plupart de mes problèmes mais j'en ai encore plusieurs. le dernier en date : un disque dur externe en lecture seule.
Hors ligne
#6 Le 16/09/2019, à 18:31
- malbo
Re : lenteur au démarrage
Ton Boot-Info est là :
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
(lvmid/jH69BA-lR3O-cPYp-OmMb-iWDw-IoIv-rK7quQ/aPqtht-fSEi-xArm-Ayet-mtUp-wp
9H-nsTLKe)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos diskfilter lvm biosdisk
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: LVM2_member
Boot sector type: -
Boot sector info:
ubuntu-vg-root: ________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 18.04.3 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
ubuntu-vg-swap_1: ______________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 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 * 2,048 488,396,799 488,394,752 8e Linux LVM
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/loop1 squashfs
/dev/loop10 squashfs
/dev/loop11 squashfs
/dev/loop12 squashfs
/dev/loop13 squashfs
/dev/loop14 squashfs
/dev/loop15 squashfs
/dev/loop16 squashfs
/dev/loop17 squashfs
/dev/loop2 squashfs
/dev/loop3 squashfs
/dev/loop4 squashfs
/dev/loop5 squashfs
/dev/loop6 squashfs
/dev/loop7 squashfs
/dev/loop8 squashfs
/dev/loop9 squashfs
/dev/mapper/ubuntu--vg-root 04e05d6b-3114-4b22-8089-c3d4aee5b804 ext4
/dev/mapper/ubuntu--vg-swap_1 b9aff09c-5b41-423d-b9f7-69fdd0976569 swap
/dev/sda1 Ze9dRx-CqjJ-zAFG-8tW9-nRfL-KNfp-80f87o LVM2_member
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Sep 16 14:42 ata-HL-DT-STDVDRAM_GT31N_KYBA3VF1544 -> ../../sr0
lrwxrwxrwx 1 root root 9 Sep 16 14:53 ata-WDC_WD2500BEVT-22A23T0_WD-WX11A50M2333 -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 16 14:53 ata-WDC_WD2500BEVT-22A23T0_WD-WX11A50M2333-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 16 14:53 dm-name-ubuntu--vg-root -> ../../dm-0
lrwxrwxrwx 1 root root 10 Sep 16 14:53 dm-name-ubuntu--vg-swap_1 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Sep 16 14:53 dm-uuid-LVM-jH69BAlR3OcPYpOmMbiWDwIoIvrK7quQaPqthtfSEixArmAyetmtUpwp9HnsTLKe -> ../../dm-0
lrwxrwxrwx 1 root root 10 Sep 16 14:53 dm-uuid-LVM-jH69BAlR3OcPYpOmMbiWDwIoIvrK7quQeV7kvvVLCa9xuZP2QAahFJeLIueIPpt8 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Sep 16 14:53 lvm-pv-uuid-Ze9dRx-CqjJ-zAFG-8tW9-nRfL-KNfp-80f87o -> ../../sda1
lrwxrwxrwx 1 root root 9 Sep 16 14:53 wwn-0x50014ee20484b81c -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 16 14:53 wwn-0x50014ee20484b81c-part1 -> ../../sda1
========================= "ls -R /dev/mapper/" output: =========================
/dev/mapper:
control
ubuntu--vg-root
ubuntu--vg-swap_1
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/mapper/ubuntu--vg-root / ext4 (rw,relatime,errors=remount-ro,data=ordered)
====================== ubuntu-vg-root/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
# GRUB lacks write support for lvm, so recordfail support is disabled.
}
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 lvm
insmod ext2
set root='lvmid/jH69BA-lR3O-cPYp-OmMb-iWDw-IoIv-rK7quQ/aPqtht-fSEi-xArm-Ayet-mtUp-wp9H-nsTLKe'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/jH69BA-lR3O-cPYp-OmMb-iWDw-IoIv-rK7quQ/aPqtht-fSEi-xArm-Ayet-mtUp-wp9H-nsTLKe' 04e05d6b-3114-4b22-8089-c3d4aee5b804
else
search --no-floppy --fs-uuid --set=root 04e05d6b-3114-4b22-8089-c3d4aee5b804
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
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
if [ $grub_platform = efi ]; then
set timeout=30
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
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
if background_color 44,0,30,0; then
clear
fi
### 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-04e05d6b-3114-4b22-8089-c3d4aee5b804' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod lvm
insmod ext2
set root='lvmid/jH69BA-lR3O-cPYp-OmMb-iWDw-IoIv-rK7quQ/aPqtht-fSEi-xArm-Ayet-mtUp-wp9H-nsTLKe'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/jH69BA-lR3O-cPYp-OmMb-iWDw-IoIv-rK7quQ/aPqtht-fSEi-xArm-Ayet-mtUp-wp9H-nsTLKe' 04e05d6b-3114-4b22-8089-c3d4aee5b804
else
search --no-floppy --fs-uuid --set=root 04e05d6b-3114-4b22-8089-c3d4aee5b804
fi
linux /boot/vmlinuz-4.15.0-62-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.15.0-62-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-04e05d6b-3114-4b22-8089-c3d4aee5b804' {
menuentry 'Ubuntu, avec Linux 4.15.0-62-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-62-generic-advanced-04e05d6b-3114-4b22-8089-c3d4aee5b804' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod lvm
insmod ext2
set root='lvmid/jH69BA-lR3O-cPYp-OmMb-iWDw-IoIv-rK7quQ/aPqtht-fSEi-xArm-Ayet-mtUp-wp9H-nsTLKe'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/jH69BA-lR3O-cPYp-OmMb-iWDw-IoIv-rK7quQ/aPqtht-fSEi-xArm-Ayet-mtUp-wp9H-nsTLKe' 04e05d6b-3114-4b22-8089-c3d4aee5b804
else
search --no-floppy --fs-uuid --set=root 04e05d6b-3114-4b22-8089-c3d4aee5b804
fi
echo 'Chargement de Linux 4.15.0-62-generic…'
linux /boot/vmlinuz-4.15.0-62-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.15.0-62-generic
}
menuentry 'Ubuntu, with Linux 4.15.0-62-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-62-generic-recovery-04e05d6b-3114-4b22-8089-c3d4aee5b804' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod lvm
insmod ext2
set root='lvmid/jH69BA-lR3O-cPYp-OmMb-iWDw-IoIv-rK7quQ/aPqtht-fSEi-xArm-Ayet-mtUp-wp9H-nsTLKe'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/jH69BA-lR3O-cPYp-OmMb-iWDw-IoIv-rK7quQ/aPqtht-fSEi-xArm-Ayet-mtUp-wp9H-nsTLKe' 04e05d6b-3114-4b22-8089-c3d4aee5b804
else
search --no-floppy --fs-uuid --set=root 04e05d6b-3114-4b22-8089-c3d4aee5b804
fi
echo 'Chargement de Linux 4.15.0-62-generic…'
linux /boot/vmlinuz-4.15.0-62-generic root=/dev/mapper/ubuntu--vg-root ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.15.0-62-generic
}
menuentry 'Ubuntu, avec Linux 4.15.0-60-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-60-generic-advanced-04e05d6b-3114-4b22-8089-c3d4aee5b804' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod lvm
insmod ext2
set root='lvmid/jH69BA-lR3O-cPYp-OmMb-iWDw-IoIv-rK7quQ/aPqtht-fSEi-xArm-Ayet-mtUp-wp9H-nsTLKe'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/jH69BA-lR3O-cPYp-OmMb-iWDw-IoIv-rK7quQ/aPqtht-fSEi-xArm-Ayet-mtUp-wp9H-nsTLKe' 04e05d6b-3114-4b22-8089-c3d4aee5b804
else
search --no-floppy --fs-uuid --set=root 04e05d6b-3114-4b22-8089-c3d4aee5b804
fi
echo 'Chargement de Linux 4.15.0-60-generic…'
linux /boot/vmlinuz-4.15.0-60-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.15.0-60-generic
}
menuentry 'Ubuntu, with Linux 4.15.0-60-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-60-generic-recovery-04e05d6b-3114-4b22-8089-c3d4aee5b804' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod lvm
insmod ext2
set root='lvmid/jH69BA-lR3O-cPYp-OmMb-iWDw-IoIv-rK7quQ/aPqtht-fSEi-xArm-Ayet-mtUp-wp9H-nsTLKe'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/jH69BA-lR3O-cPYp-OmMb-iWDw-IoIv-rK7quQ/aPqtht-fSEi-xArm-Ayet-mtUp-wp9H-nsTLKe' 04e05d6b-3114-4b22-8089-c3d4aee5b804
else
search --no-floppy --fs-uuid --set=root 04e05d6b-3114-4b22-8089-c3d4aee5b804
fi
echo 'Chargement de Linux 4.15.0-60-generic…'
linux /boot/vmlinuz-4.15.0-60-generic root=/dev/mapper/ubuntu--vg-root ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-4.15.0-60-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+ ###
menuentry 'Memory test (memtest86+)' {
insmod part_msdos
insmod lvm
insmod ext2
set root='lvmid/jH69BA-lR3O-cPYp-OmMb-iWDw-IoIv-rK7quQ/aPqtht-fSEi-xArm-Ayet-mtUp-wp9H-nsTLKe'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/jH69BA-lR3O-cPYp-OmMb-iWDw-IoIv-rK7quQ/aPqtht-fSEi-xArm-Ayet-mtUp-wp9H-nsTLKe' 04e05d6b-3114-4b22-8089-c3d4aee5b804
else
search --no-floppy --fs-uuid --set=root 04e05d6b-3114-4b22-8089-c3d4aee5b804
fi
knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_msdos
insmod lvm
insmod ext2
set root='lvmid/jH69BA-lR3O-cPYp-OmMb-iWDw-IoIv-rK7quQ/aPqtht-fSEi-xArm-Ayet-mtUp-wp9H-nsTLKe'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/jH69BA-lR3O-cPYp-OmMb-iWDw-IoIv-rK7quQ/aPqtht-fSEi-xArm-Ayet-mtUp-wp9H-nsTLKe' 04e05d6b-3114-4b22-8089-c3d4aee5b804
else
search --no-floppy --fs-uuid --set=root 04e05d6b-3114-4b22-8089-c3d4aee5b804
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### 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 ###
--------------------------------------------------------------------------------
========================== ubuntu-vg-root/etc/fstab: ===========================
--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/ubuntu--vg-root / ext4 errors=remount-ro 0 1
/dev/mapper/ubuntu--vg-swap_1 none swap sw 0 0
--------------------------------------------------------------------------------
============== ubuntu-vg-root: Location of files loaded by Grub: ===============
GiB - GB File Fragment(s)
16.322463989 = 17.526112256 boot/grub/grub.cfg 1
4.435428619 = 4.762505216 boot/grub/i386-pc/core.img 1
4.281192780 = 4.596895744 boot/vmlinuz-4.15.0-60-generic 1
104.351505280 = 112.046575616 boot/vmlinuz-4.15.0-62-generic 2
104.351505280 = 112.046575616 vmlinuz 2
4.281192780 = 4.596895744 vmlinuz.old 1
104.467765808 = 112.171409408 boot/initrd.img-4.15.0-60-generic 1
5.514640808 = 5.921300480 boot/initrd.img-4.15.0-62-generic 6
5.514640808 = 5.921300480 initrd.img 6
104.467765808 = 112.171409408 initrd.img.old 1
=============================== StdErr Messages: ===============================
File descriptor 9 (/proc/4507/mountinfo) leaked on lvs invocation. Parent PID 11324: bash
File descriptor 63 (pipe:[74431]) leaked on lvs invocation. Parent PID 11324: bash
File descriptor 9 (/proc/4507/mountinfo) leaked on lvchange invocation. Parent PID 11948: bash
File descriptor 63 (pipe:[74431]) leaked on lvchange invocation. Parent PID 11948: bash
File descriptor 9 (/proc/4507/mountinfo) leaked on lvchange invocation. Parent PID 11948: bash
File descriptor 63 (pipe:[74431]) leaked on lvchange invocation. Parent PID 11948: bash
ADDITIONAL INFORMATION :
=================== log of boot-info 20190916_1453 ===================
boot-info version : 4ppa66
boot-sav version : 4ppa66
boot-sav-extra version : 4ppa66
glade2script version : 3.2.3~ppa4
BLKID BEFORE LVM ACTIVATION:
/dev/sda1: UUID="Ze9dRx-CqjJ-zAFG-8tW9-nRfL-KNfp-80f87o" TYPE="LVM2_member" PARTUUID="ad5d3678-01"
/dev/mapper/ubuntu--vg-root: UUID="04e05d6b-3114-4b22-8089-c3d4aee5b804" TYPE="ext4"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/loop8: TYPE="squashfs"
/dev/loop9: TYPE="squashfs"
/dev/loop10: TYPE="squashfs"
/dev/loop11: TYPE="squashfs"
/dev/loop12: TYPE="squashfs"
/dev/loop13: TYPE="squashfs"
/dev/loop14: TYPE="squashfs"
/dev/loop15: TYPE="squashfs"
/dev/loop16: TYPE="squashfs"
/dev/loop17: TYPE="squashfs"
/dev/mapper/ubuntu--vg-swap_1: UUID="b9aff09c-5b41-423d-b9f7-69fdd0976569" TYPE="swap"
MODPROBE
VGSCAN
File descriptor 9 (/proc/4507/mountinfo) leaked on vgscan invocation. Parent PID 4521: /bin/bash
Reading volume groups from cache.
Found volume group "ubuntu-vg" using metadata type lvm2
VGCHANGE
File descriptor 9 (/proc/4507/mountinfo) leaked on vgchange invocation. Parent PID 4521: /bin/bash
2 logical volume(s) in volume group "ubuntu-vg" now active
File descriptor 9 (/proc/4507/mountinfo) leaked on lvscan invocation. Parent PID 4521: /bin/bash
LVSCAN:
ACTIVE '/dev/ubuntu-vg/root' [<231.93 GiB] inherit
ACTIVE '/dev/ubuntu-vg/swap_1' [980.00 MiB] inherit
Gtk-Message: 14:53:11.831: GtkDialog mapped without a transient parent. This is discouraged.
Y a-t-il un RAID sur cet ordinateur ? no
File descriptor 9 (/proc/4507/mountinfo) leaked on lvs invocation. Parent PID 6191: /bin/sh
boot-info is executed in installed-session (Ubuntu 18.04.3 LTS, bionic, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-4.15.0-62-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=1
Set sda as corresponding disk of mapper/ubuntu--vg-root
Set sda as corresponding disk of mapper/ubuntu--vg-root
=================== os-prober:
/dev/mapper/ubuntu--vg-root:L'OS actuellement utilisé - Ubuntu 18.04.3 LTS CurrentSession:linux
=================== blkid:
/dev/sda1: UUID="Ze9dRx-CqjJ-zAFG-8tW9-nRfL-KNfp-80f87o" TYPE="LVM2_member" PARTUUID="ad5d3678-01"
/dev/mapper/ubuntu--vg-root: UUID="04e05d6b-3114-4b22-8089-c3d4aee5b804" TYPE="ext4"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/loop8: TYPE="squashfs"
/dev/loop9: TYPE="squashfs"
/dev/loop10: TYPE="squashfs"
/dev/loop11: TYPE="squashfs"
/dev/loop12: TYPE="squashfs"
/dev/loop13: TYPE="squashfs"
/dev/loop14: TYPE="squashfs"
/dev/loop15: TYPE="squashfs"
/dev/loop16: TYPE="squashfs"
/dev/loop17: TYPE="squashfs"
/dev/mapper/ubuntu--vg-swap_1: UUID="b9aff09c-5b41-423d-b9f7-69fdd0976569" TYPE="swap"
Set sda as corresponding disk of mapper/ubuntu--vg-root
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
=================== /etc/grub.d/ :
drwxr-xr-x 2 root root 4096 sept. 9 13:06 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"
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
# 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:
mapper/ubuntu--vg-root : sda, 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, .
sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
=================== parted -lm:
BYT;
/dev/sda:250GB:scsi:512:512:msdos:ATA WDC WD2500BEVT-2:;
1:1049kB:250GB:250GB:::boot, lvm;
BYT;
/dev/mapper/ubuntu--vg-swap_1:1028MB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:1028MB:1028MB:linux-swap(v1)::;
BYT;
/dev/mapper/ubuntu--vg-root:249GB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:249GB:249GB:ext4::;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
loop0 loop squashfs 956K
loop1 loop squashfs 42,8M
loop2 loop squashfs 54,4M
loop3 loop squashfs 4M
loop4 loop squashfs 140,9M
loop5 loop squashfs 3,7M
loop6 loop squashfs 88,7M
loop7 loop squashfs 4,2M
loop8 loop squashfs 89M
loop9 loop squashfs 13M
loop10 loop squashfs 8,4M
loop11 loop squashfs 54,4M
loop12 loop squashfs 1008K
loop13 loop squashfs 140,7M
loop14 loop squashfs 3,7M
loop15 loop squashfs 34,7M
loop16 loop squashfs 149,9M
loop17 loop squashfs 14,8M
sda disk 232,9G
sda1 part LVM2_member 232,9G
sr0 rom 1024M
dm-0 lvm ext4 231,9G
dm-1 lvm swap 980M
KNAME ROTA RO RM STATE MOUNTPOINT
loop0 1 1 0 /snap/gnome-logs/73
loop1 1 1 0 /snap/gtk-common-themes/1313
loop2 1 1 0 /snap/core18/1098
loop3 1 1 0 /snap/gnome-calculator/406
loop4 1 1 0 /snap/gnome-3-26-1604/70
loop5 1 1 0 /snap/gnome-system-monitor/100
loop6 1 1 0 /snap/core/7396
loop7 1 1 0 /snap/gnome-calculator/501
loop8 1 1 0 /snap/core/7713
loop9 1 1 0 /snap/gnome-characters/103
loop10 1 1 0 /snap/canonical-livepatch/81
loop11 1 1 0 /snap/core18/1144
loop12 1 1 0 /snap/gnome-logs/61
loop13 1 1 0 /snap/gnome-3-26-1604/92
loop14 1 1 0 /snap/gnome-system-monitor/51
loop15 1 1 0 /snap/gtk-common-themes/319
loop16 1 1 0 /snap/gnome-3-28-1804/71
loop17 1 1 0 /snap/gnome-characters/317
sda 1 0 0 running
sda1 1 0 0
sr0 1 0 1 running
dm-0 1 0 0 running /
dm-1 1 0 0 running [SWAP]
=================== 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=1963436k,nr_inodes=490859,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=403920k,mode=755)
/dev/mapper/ubuntu--vg-root on / type ext4 (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/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
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/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
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)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=45,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13014)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
/var/lib/snapd/snaps/gtk-common-themes_1313.snap on /snap/gtk-common-themes/1313 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core18_1098.snap on /snap/core18/1098 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-calculator_406.snap on /snap/gnome-calculator/406 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-system-monitor_100.snap on /snap/gnome-system-monitor/100 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-calculator_501.snap on /snap/gnome-calculator/501 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-characters_103.snap on /snap/gnome-characters/103 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/canonical-livepatch_81.snap on /snap/canonical-livepatch/81 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-logs_73.snap on /snap/gnome-logs/73 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-26-1604_70.snap on /snap/gnome-3-26-1604/70 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core_7396.snap on /snap/core/7396 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core_7713.snap on /snap/core/7713 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core18_1144.snap on /snap/core18/1144 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-logs_61.snap on /snap/gnome-logs/61 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-system-monitor_51.snap on /snap/gnome-system-monitor/51 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_319.snap on /snap/gtk-common-themes/319 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-characters_317.snap on /snap/gnome-characters/317 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-26-1604_92.snap on /snap/gnome-3-26-1604/92 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-28-1804_71.snap on /snap/gnome-3-28-1804/71 type squashfs (ro,nodev,relatime,x-gdu.hide)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=403916k,mode=700,uid=1000,gid=1000)
tmpfs on /run/snapd/ns type tmpfs (rw,nosuid,noexec,relatime,size=403920k,mode=755)
nsfs on /run/snapd/ns/canonical-livepatch.mnt type nsfs (rw)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
=================== ls:
/sys/block/dm-0 (filtered): alignment_offset bdi capability dev discard_alignment dm ext_range hidden holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/dm-1 (filtered): alignment_offset bdi capability dev discard_alignment dm 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/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
/dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dm-0 dm-1 dri dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 initctl input kmsg kvm lightnvm log mapper mcelog media0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout ubuntu-vg uhid uinput urandom usb userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 zero
ls /dev/mapper: control ubuntu--vg-root ubuntu--vg-swap_1
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 1.9G 0 1.9G 0% /dev
tmpfs tmpfs 395M 1.7M 393M 1% /run
/dev/mapper/ubuntu--vg-root ext4 228G 7.0G 209G 4% /
tmpfs tmpfs 2.0G 42M 1.9G 3% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/loop1 squashfs 43M 43M 0 100% /snap/gtk-common-themes/1313
/dev/loop2 squashfs 55M 55M 0 100% /snap/core18/1098
/dev/loop3 squashfs 4.2M 4.2M 0 100% /snap/gnome-calculator/406
/dev/loop5 squashfs 3.8M 3.8M 0 100% /snap/gnome-system-monitor/100
/dev/loop7 squashfs 4.3M 4.3M 0 100% /snap/gnome-calculator/501
/dev/loop9 squashfs 13M 13M 0 100% /snap/gnome-characters/103
/dev/loop10 squashfs 8.5M 8.5M 0 100% /snap/canonical-livepatch/81
/dev/loop0 squashfs 1.0M 1.0M 0 100% /snap/gnome-logs/73
/dev/loop4 squashfs 141M 141M 0 100% /snap/gnome-3-26-1604/70
/dev/loop6 squashfs 89M 89M 0 100% /snap/core/7396
/dev/loop8 squashfs 90M 90M 0 100% /snap/core/7713
/dev/loop11 squashfs 55M 55M 0 100% /snap/core18/1144
/dev/loop12 squashfs 1.0M 1.0M 0 100% /snap/gnome-logs/61
/dev/loop14 squashfs 3.8M 3.8M 0 100% /snap/gnome-system-monitor/51
/dev/loop15 squashfs 35M 35M 0 100% /snap/gtk-common-themes/319
/dev/loop17 squashfs 15M 15M 0 100% /snap/gnome-characters/317
/dev/loop13 squashfs 141M 141M 0 100% /snap/gnome-3-26-1604/92
/dev/loop16 squashfs 150M 150M 0 100% /snap/gnome-3-28-1804/71
tmpfs tmpfs 395M 24K 395M 1% /run/user/1000
=================== fdisk -l:
Disk /dev/loop0: 956 KiB, 978944 bytes, 1912 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
Disk /dev/loop1: 42.8 MiB, 44879872 bytes, 87656 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
Disk /dev/loop2: 54.4 MiB, 57069568 bytes, 111464 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
Disk /dev/loop3: 4 MiB, 4218880 bytes, 8240 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
Disk /dev/loop4: 140.9 MiB, 147722240 bytes, 288520 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
Disk /dev/loop5: 3.7 MiB, 3825664 bytes, 7472 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
Disk /dev/loop6: 88.7 MiB, 92983296 bytes, 181608 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
Disk /dev/loop7: 4.2 MiB, 4403200 bytes, 8600 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
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 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: 0xad5d3678
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 488396799 488394752 232.9G 8e Linux LVM
Disk /dev/mapper/ubuntu--vg-root: 231.9 GiB, 249028411392 bytes, 486383616 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
Disk /dev/loop8: 89 MiB, 93327360 bytes, 182280 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
Disk /dev/loop9: 13 MiB, 13619200 bytes, 26600 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
Disk /dev/loop10: 8.4 MiB, 8839168 bytes, 17264 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
Disk /dev/loop11: 54.4 MiB, 57065472 bytes, 111456 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
Disk /dev/loop12: 1008 KiB, 1032192 bytes, 2016 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
Disk /dev/loop13: 140.7 MiB, 147501056 bytes, 288088 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
Disk /dev/loop14: 3.7 MiB, 3887104 bytes, 7592 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
Disk /dev/loop15: 34.7 MiB, 36323328 bytes, 70944 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
Disk /dev/loop16: 149.9 MiB, 157192192 bytes, 307016 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
Disk /dev/loop17: 14.8 MiB, 15462400 bytes, 30200 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
Disk /dev/mapper/ubuntu--vg-swap_1: 980 MiB, 1027604480 bytes, 2007040 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
=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to enable-lvm) and reinstall the grub2 of mapper/ubuntu--vg-root into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s
=================== User settings
The settings chosen by the user will not act on the boot.
On y voit que b9aff09c-5b41-423d-b9f7-69fdd0976569 est bien l'UUID de la partition swap. D'autre part, il s'agit d'une installation de la version 18.04. Le bug ne se produit qu'avec cette version (il ne se produit pas avec les versions précédentes) EDIT le 17-09-2019 : plus précisément, seules les versions 18.04 et 18.04.1 sont affectées par le bug #1768230. Ce bug a été corrigée pour les versions suivantes (18.04.2, 18.04.3)
On va pouvoir appliquer la "Second method" de cette page "Slow boot with SSD and LVM on new install of 18.04"
Pour éditer le fichier à modifier avec Gedit, il faudra passer la commande suivante dans un terminal (utilise le copier-coller) :
EDIT le 17-09-19 : commande rectifiée (j'avais oublié "resume" en fin de ligne)
gedit admin:///etc/initramfs-tools/conf.d/resume
La modif consiste à modifier la ligne :
RESUME=UUID=b9aff09c-5b41-423d-b9f7-69fdd0976569
pour qu'elle devienne :
RESUME=none
Puis enregistrer dans Gedit avant de le quitter.
Ensuite, il faudra passer la commande :
sudo update-initramfs -u
Et quand le résultat de cette commande est terminé, tu pourras rebooter
Dernière modification par malbo (Le 17/09/2019, à 07:26)
Hors ligne
#7 Le 16/09/2019, à 21:14
- PatriceH
Re : lenteur au démarrage
Merci beaucoup. Ca a marché. Il manquait juste resume dans la ligne
gedit admin:///etc/initramfs-tools/conf.d/
ce qui m'a fait cherché un peu
Mon démarrage se fait maintenant en 1'5" (soit 2 fois plus rapide)
Startup finished in 4.362s (kernel) + 1min 927ms (userspace) = 1min 5.290s
graphical.target reached after 1min 673ms in userspace
Je suis inscrit depuis 2008, mais mes tentatives pour passer à Linux ont rarement dépassées les 3 mois. J'en suis à ma cinquième tentative et j'espère que là je serai plus persévérant.
Grâce au forum j'ai réussi à régler la plupart de mes problèmes mais j'en ai encore plusieurs. le dernier en date : un disque dur externe en lecture seule.
Hors ligne
#8 Le 17/09/2019, à 06:46
- malbo
Re : lenteur au démarrage
Oups. Je rectifie mon post #6 (j'ajoute "resume" en fin de ligne)
Le résultat obtenu est bien ce qui était attendu, à savoir que le temps "kernel" est devenu 4.362s (ton post #7) alors qu'il était initialement de 39.219s (post #1), tu as gagné plus de 30 secondes sur le temps de démarrage. C'est toujours bon à prendre.
Cela dit, je ne comprends pas pourquoi tu as fait une installation avec LVM : tu aurais dû faire une installation automatique de Ubuntu 18.04 avec le choix "Effacer le disque et installer Ubuntu" mais sans cocher la case "Utiliser LVM pour la nouvelle installation de Ubuntu" : cela aurait créé une seule partition occupant toute la place sur le disque parce que depuis cette version 18.04, l'installateur ne crée pas de partition SWAP mais un fichier SWAP (*) qui se trouve dans la partition racine. Je n'arrive pas à voir l'intérêt de LVM dans ton cas.
(*) c'est mentionné au paragraphe Other base system changes since 16.04 LTS des ReleaseNotes de 18.04 : "For new installs, a swap file will be used by default instead of a swap partition"
Dernière modification par malbo (Le 17/09/2019, à 07:29)
Hors ligne
#9 Le 17/09/2019, à 08:34
- PatriceH
Re : lenteur au démarrage
A vrai dire je ne savais même pas que j'avais fait une installation LVM. Je vais être bon pour refaire une installation sans LVM.
Peut-on faire une réinstallation sans perdre ses fichiers de données ?
En tout cas un grand merci.
Patrice
Je suis inscrit depuis 2008, mais mes tentatives pour passer à Linux ont rarement dépassées les 3 mois. J'en suis à ma cinquième tentative et j'espère que là je serai plus persévérant.
Grâce au forum j'ai réussi à régler la plupart de mes problèmes mais j'en ai encore plusieurs. le dernier en date : un disque dur externe en lecture seule.
Hors ligne
#10 Le 17/09/2019, à 09:37
- malbo
Re : lenteur au démarrage
Je ne pense pas qu'il soit possible de remplacer ton install faite en LVM2 par une install classique en conservant les données. Donc il serait obligatoire de sauvegarder tes données sur un support externe (disque dur externe ou clé USB) avant de te lancer dans une installation classique toute neuve et toute propre de Ubuntu 18.04 pour remplacer l'install actuelle. Si tu décides de le faire, tu pourras faire l'install comme j'ai indiqué dans le post #8 (choix "Effacer le disque et installer Ubuntu"). Mais rien ne t'oblige à te lancer là-dedans : moi je t'ai exprimé mon opinion sur ton install (je ne vois pas l'intérêt de LVM dans ton cas) mais tu peux très bien décider de rester avec ton install actuelle.
EDIT : si un aidant qui passe peut m'expliquer comment on peut se retrouver avec une install de Ubuntu 18.04 faite en LVM sans savoir qu'on a fait une install en LVM, moi je veux bien l'info. Pour moi, il est nécessaire de cocher la case "Utiliser LVM pour la nouvelle installation de Ubuntu" pendant l'installation pour en arriver là. Donc sauf à cocher n'importe quoi lors de l'install, je ne comprends pas.
Dernière modification par malbo (Le 17/09/2019, à 09:42)
Hors ligne
#11 Le 17/09/2019, à 11:28
- PatriceH
Re : lenteur au démarrage
En fait j'ai réparé une ancienne installation qui de mémoire était en dualboot (mais je ne suis pas sûr, j'ai deux ordinateurs d'un sous W10/Ubuntu et l'autre sous Ubuntu seul).
Je vais suivre ton conseil car tout ce qui simplifie est le bienvenu.
Patrice
Je suis inscrit depuis 2008, mais mes tentatives pour passer à Linux ont rarement dépassées les 3 mois. J'en suis à ma cinquième tentative et j'espère que là je serai plus persévérant.
Grâce au forum j'ai réussi à régler la plupart de mes problèmes mais j'en ai encore plusieurs. le dernier en date : un disque dur externe en lecture seule.
Hors ligne
#12 Le 17/09/2019, à 12:03
- PatriceH
Re : lenteur au démarrage
Je ne pourrai pas m'occuper de cela avant le 1er octobre.
A bientôt
Je suis inscrit depuis 2008, mais mes tentatives pour passer à Linux ont rarement dépassées les 3 mois. J'en suis à ma cinquième tentative et j'espère que là je serai plus persévérant.
Grâce au forum j'ai réussi à régler la plupart de mes problèmes mais j'en ai encore plusieurs. le dernier en date : un disque dur externe en lecture seule.
Hors ligne
Pages : 1