[SOLVED] Long time to boot

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
eneo99
Level 1
Level 1
Posts: 5
Joined: Thu Jul 07, 2016 8:33 am

[SOLVED] Long time to boot

Post by eneo99 » Mon Nov 19, 2018 3:55 pm

Hello
I bought a new computer (Medion Akoya P62020). I deleted Windows and installed Linux Mint 19 Tara on the SSD. I use the LVM. Apart from the boot speed the computer runs very well. The computer boots for about 4-5 seconds, but then pauses almost exactly for 30 seconds and then continues.

see between
[ 4.800624]
and
[ 37.403476]
in the
syslog.txt.tar
(92 KiB) Downloaded 8 times
I think the computer is waiting for something and gets a time out after 30 seconds.

How can I fix the waiting?
What is the computer waiting for?

Many thanks in advance for every tip.
eneo99
Last edited by eneo99 on Sat Nov 24, 2018 2:47 pm, edited 1 time in total.

HaveaMint
Level 4
Level 4
Posts: 477
Joined: Fri Feb 02, 2018 9:56 pm
Location: Somewhere in the USA
Contact:

Re: Long time to boot

Post by HaveaMint » Mon Nov 19, 2018 5:12 pm

Code: Select all

systemd-analyze blame
in terminal will tell you.
"Tune for maximum Smoke and then read the Instructions".

eneo99
Level 1
Level 1
Posts: 5
Joined: Thu Jul 07, 2016 8:33 am

Re: Long time to boot

Post by eneo99 » Tue Nov 20, 2018 3:28 am

Code: Select all

~$ systemd-analyze
Startup finished in 37.572s (kernel) + 7.778s (userspace) = 45.351s
graphical.target reached after 7.775s in userspace

Code: Select all

~$ systemd-analyze blame
          6.499s NetworkManager-wait-online.service
           526ms apt-daily-upgrade.service
           335ms dev-mapper-mint\x2d\x2dvg\x2droot.device
           294ms systemd-logind.service
           269ms udisks2.service
           193ms media-thomas-FRITZ.NAS.mount
           170ms systemd-journal-flush.service
           162ms systemd-timesyncd.service
           159ms NetworkManager.service
           143ms systemd-resolved.service
           116ms networkd-dispatcher.service
           102ms ubuntu-system-adjustments.service
            95ms lvm2-pvscan@8:18.service
            94ms ModemManager.service
            94ms grub-common.service
            92ms accounts-daemon.service
            79ms lvm2-pvscan@252:0.service
            74ms bluetooth.service
            74ms thermald.service
            69ms pppd-dns.service
            68ms avahi-daemon.service
            68ms systemd-udevd.service
            65ms rsyslog.service
            65ms systemd-udev-trigger.service
            64ms virtualbox.service
            61ms lvm2-monitor.service
            61ms lm-sensors.service
            58ms gpu-manager.service
            57ms apparmor.service
            54ms keyboard-setup.service
            45ms wpa_supplicant.service
            44ms systemd-fsck@dev-disk-by\x2duuid-5A2C\x2dF21B.service
            35ms upower.service
            34ms systemd-rfkill.service
            32ms systemd-modules-load.service
            32ms systemd-tmpfiles-setup.service
            32ms ufw.service
            31ms sys-kernel-debug.mount
            31ms dev-hugepages.mount
            29ms dns-clean.service
            28ms user@1000.service
            27ms networking.service
            26ms systemd-journald.service
            26ms systemd-remount-fs.service
            25ms kmod-static-nodes.service
            25ms colord.service
            20ms dev-mqueue.mount
            20ms blk-availability.service
            17ms alsa-restore.service
            15ms boot-efi.mount
            15ms systemd-tmpfiles-setup-dev.service
            15ms hddtemp.service
            14ms apport.service
            13ms polkit.service
            12ms plymouth-read-write.service
            11ms speech-dispatcher.service
            11ms systemd-fsck@dev-mapper-mint\x2d\x2dvg2\x2dhome.service
            10ms lightdm.service
             8ms home.mount
             8ms systemd-sysctl.service
             7ms ureadahead-stop.service
             7ms systemd-random-seed.service
             7ms kerneloops.service
             6ms systemd-user-sessions.service
             5ms dev-mapper-mint\x2d\x2dvg\x2dswap_1.swap
             4ms console-setup.service
             4ms sys-fs-fuse-connections.mount
             4ms sys-kernel-config.mount
             3ms systemd-update-utmp.service
             2ms systemd-update-utmp-runlevel.service
             2ms openvpn.service
             2ms rtkit-daemon.service
             1ms setvtrgb.service
             1ms plymouth-quit-wait.service

Code: Select all

~$ inxi -Fxz
System:    Host: pc02 Kernel: 4.15.0-39-generic x86_64 bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.9 (Gtk 3.22.30-1ubuntu1) Distro: Linux Mint 19 Tara
Machine:   Device: desktop System: MEDION product: MD34100/2543 serial: N/A
           Mobo: MEDION model: B360H4-EM v: V1.0 serial: N/A
           UEFI: American Megatrends v: 360H4W0X.107 date: 07/27/2018
CPU:       6 core Intel Core i5-8400 (-MCP-) arch: Skylake rev.10 cache: 9216 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 33696
           clock speeds: max: 4000 MHz 1: 800 MHz 2: 800 MHz 3: 800 MHz 4: 800 MHz 5: 800 MHz 6: 800 MHz
Graphics:  Card: Intel Device 3e92 bus-ID: 00:02.0
           Display Server: x11 (X.Org 1.19.6 ) drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1920x1080@143.98hz
           OpenGL: renderer: Mesa DRI Intel HD Graphics (Coffeelake 3x8 GT2)
           version: 4.5 Mesa 18.0.5 Direct Render: Yes
Audio:     Card Intel Device a348 driver: snd_hda_intel bus-ID: 00:1f.3 Sound: ALSA v: k4.15.0-39-generic
Network:   Card-1: Intel Device a370 driver: iwlwifi bus-ID: 00:14.3
           IF: wlo1 state: down mac: <filter>
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: 3000 bus-ID: 02:00.0
           IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 1194.7GB (17.9% used)
           ID-1: /dev/nvme0n1 model: INTEL_MEMPEK1W016GA size: 14.4GB
           ID-2: /dev/sda model: TOSHIBA_DT01ACA1 size: 1000.2GB
           ID-3: /dev/sdb model: INTEL_SSDSCKKF18 size: 180.0GB
Partition: ID-1: / size: 152G used: 27G (19%) fs: ext4 dev: /dev/dm-0
           ID-2: /home size: 916G used: 161G (19%) fs: ext4 dev: /dev/dm-2
           ID-3: swap-1 size: 12.73GB used: 0.00GB (0%) fs: swap dev: /dev/dm-1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 52.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 331 Uptime: 8 min Memory: 1708.0/11863.0MB Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56

eneo99
Level 1
Level 1
Posts: 5
Joined: Thu Jul 07, 2016 8:33 am

Re: Long time to boot

Post by eneo99 » Tue Nov 20, 2018 6:38 am

I've been adding up all the seconds under.

Code: Select all

~$ systemd-analyze blame
...
sum 11.006s
I can't find beyond the 30 second pause.

The 45.351s fit for the start.

Code: Select all

~$ systemd-analyze
Startup finished in 37.572s (kernel) + 7.778s (userspace) = 45.351s
graphical.target reached after 7.775s in userspace

eneo99
Level 1
Level 1
Posts: 5
Joined: Thu Jul 07, 2016 8:33 am

Re: Long time to boot

Post by eneo99 » Sat Nov 24, 2018 2:44 pm

https://bugs.launchpad.net/ubuntu/+sour ... ug/1768230

sudo vi /etc/initramfs-tools/conf.d/resume
.. changed from RESUME=UUID=fc884607-f0ef-458a-b3c7-3791113c3a64
.. to RESUME=/dev/mint-vg/swap_1
sudo update-initramfs -u

Post Reply

Return to “Newbie Questions”