Mint 19 slow boot

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Mightyena
Level 1
Level 1
Posts: 4
Joined: Thu Dec 03, 2015 6:03 pm

Mint 19 slow boot

Post by Mightyena »

Hi, I've just installed Linux Mint 19 on my laptop, and it's taking a very long time to boot.
What happens is after I select Mint from the GRUB menu, it just sits at the mint logo with the dots for over 2 minutes, with no verbose text or disk activity, then the HDD LED will light up for a few seconds and it boots up the rest of the way in seconds.

Running off a Corsair Force SSD, and dual booting with Windows 7, so it's not a drive speed issue. System was installed in EFI mode, could that have anything to do with it?

Running systemd-analyze:

Code: Select all

james@James-X220:~$ systemd-analyze 
Startup finished in 36.895s (kernel) + 3min 469ms (userspace) = 3min 37.364s
graphical.target reached after 1min 30.931s in userspace

Code: Select all

james@James-X220:~$ systemd-analyze blame
           513ms dev-sda3.device
           371ms tlp.service
           367ms lightdm.service
           363ms plymouth-quit-wait.service
           317ms udisks2.service
           314ms networkd-dispatcher.service
           291ms systemd-logind.service
           285ms NetworkManager.service
           242ms gpu-manager.service
           227ms systemd-journal-flush.service
           204ms ModemManager.service
           203ms grub-common.service
           180ms ubuntu-system-adjustments.service
           173ms accounts-daemon.service
           115ms systemd-udev-trigger.service
           114ms keyboard-setup.service
           112ms avahi-daemon.service
           109ms hddtemp.service
           108ms systemd-timesyncd.service
           108ms systemd-resolved.service
           102ms apport.service
           101ms thermald.service
            96ms polkit.service
lines 1-23...skipping...
           513ms dev-sda3.device
           371ms tlp.service
           367ms lightdm.service
           363ms plymouth-quit-wait.service
           317ms udisks2.service
           314ms networkd-dispatcher.service
           291ms systemd-logind.service
           285ms NetworkManager.service
           242ms gpu-manager.service
           227ms systemd-journal-flush.service
           204ms ModemManager.service
           203ms grub-common.service
           180ms ubuntu-system-adjustments.service
           173ms accounts-daemon.service
           115ms systemd-udev-trigger.service
           114ms keyboard-setup.service
           112ms avahi-daemon.service
           109ms hddtemp.service
           108ms systemd-timesyncd.service
           108ms systemd-resolved.service
           102ms apport.service
           101ms thermald.service
            96ms polkit.service
            96ms bluetooth.service
            87ms wpa_supplicant.service
            86ms speech-dispatcher.service
            69ms systemd-fsck@dev-disk-by\x2duuid-544F\x2d063A.service
            65ms lm-sensors.service
            64ms systemd-journald.service
            63ms upower.service
            63ms apparmor.service
            58ms kerneloops.service
            58ms lvm2-monitor.service
            42ms user@1000.service
            38ms alsa-restore.service
            36ms systemd-modules-load.service
            35ms pppd-dns.service
            32ms systemd-udevd.service
            29ms kmod-static-nodes.service
            29ms dev-hugepages.mount
            29ms dns-clean.service
            29ms systemd-tmpfiles-setup.service
            28ms systemd-random-seed.service
            28ms sys-kernel-debug.mount
            28ms ufw.service
            27ms colord.service
            27ms networking.service
            22ms dev-mqueue.mount
            21ms blk-availability.service
            20ms systemd-remount-fs.service
            19ms boot-efi.mount
            19ms systemd-sysctl.service
            16ms systemd-tmpfiles-setup-dev.service
            15ms systemd-backlight@backlight:acpi_video0.service
            14ms plymouth-start.service
            13ms sys-kernel-config.mount
            13ms setvtrgb.service
            12ms ureadahead-stop.service
            11ms plymouth-read-write.service
             9ms rsyslog.service
             9ms dev-disk-by\x2duuid-af109ba1\x2dc917\x2d411c\x2d97bd\x2d181de22b4f9a.swap
System specs:

Code: Select all

james@James-X220:~$ inxi -Fxz
System:    Host: James-X220 Kernel: 4.15.0-38-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: laptop System: LENOVO product: 4290DP2 v: ThinkPad X220 serial: N/A
           Mobo: LENOVO model: 4290DP2 serial: N/A UEFI: LENOVO v: 8DET50WW (1.20 ) date: 07/07/2011
Battery    BAT0: charge: 54.1 Wh 95.1% condition: 56.9/62.2 Wh (92%) model: LGC 42T4865 status: Discharging
CPU:       Dual core Intel Core i5-2520M (-MT-MCP-) arch: Sandy Bridge rev.7 cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9968
           clock speeds: max: 3200 MHz 1: 2463 MHz 2: 2923 MHz 3: 1985 MHz 4: 1866 MHz
Graphics:  Card: Intel 2nd Generation Core Processor Family Integrated Graphics Controller bus-ID: 00:02.0
           Display Server: x11 (X.Org 1.19.6 ) drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.00hz
           OpenGL: renderer: Mesa DRI Intel Sandybridge Mobile version: 3.3 Mesa 18.0.5 Direct Render: Yes
Audio:     Card Intel 6 Series/C200 Series Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.15.0-38-generic
Network:   Card-1: Intel 82579LM Gigabit Network Connection driver: e1000e v: 3.2.6-k port: 5080 bus-ID: 00:19.0
           IF: enp0s25 state: down mac: <filter>
           Card-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi bus-ID: 03:00.0
           IF: wlp3s0 state: up mac: <filter>
Drives:    HDD Total Size: 128.0GB (15.6% used)
           ID-1: /dev/sda model: Corsair_Force_GS size: 128.0GB
Partition: ID-1: / size: 25G used: 15G (64%) fs: ext4 dev: /dev/sda3
           ID-2: swap-1 size: 4.30GB used: 0.00GB (0%) fs: swap dev: /dev/sda4james@James-X220:~$ inxi -Fxz
System:    Host: James-X220 Kernel: 4.15.0-38-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: laptop System: LENOVO product: 4290DP2 v: ThinkPad X220 serial: N/A
           Mobo: LENOVO model: 4290DP2 serial: N/A UEFI: LENOVO v: 8DET50WW (1.20 ) date: 07/07/2011
Battery    BAT0: charge: 54.1 Wh 95.1% condition: 56.9/62.2 Wh (92%) model: LGC 42T4865 status: Discharging
CPU:       Dual core Intel Core i5-2520M (-MT-MCP-) arch: Sandy Bridge rev.7 cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9968
           clock speeds: max: 3200 MHz 1: 2463 MHz 2: 2923 MHz 3: 1985 MHz 4: 1866 MHz
Graphics:  Card: Intel 2nd Generation Core Processor Family Integrated Graphics Controller bus-ID: 00:02.0
           Display Server: x11 (X.Org 1.19.6 ) drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.00hz
           OpenGL: renderer: Mesa DRI Intel Sandybridge Mobile version: 3.3 Mesa 18.0.5 Direct Render: Yes
Audio:     Card Intel 6 Series/C200 Series Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.15.0-38-generic
Network:   Card-1: Intel 82579LM Gigabit Network Connection driver: e1000e v: 3.2.6-k port: 5080 bus-ID: 00:19.0
           IF: enp0s25 state: down mac: <filter>
           Card-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi bus-ID: 03:00.0
           IF: wlp3s0 state: up mac: <filter>
Drives:    HDD Total Size: 128.0GB (15.6% used)
           ID-1: /dev/sda model: Corsair_Force_GS size: 128.0GB
Partition: ID-1: / size: 25G used: 15G (64%) fs: ext4 dev: /dev/sda3
           ID-2: swap-1 size: 4.30GB used: 0.00GB (0%) fs: swap dev: /dev/sda4
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 48.0C mobo: N/A
           Fan Speeds (in rpm): cpu: 1931
Info:      Processes: 199 Uptime: 10 min Memory: 1159.1/7859.7MB Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 

RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 48.0C mobo: N/A
           Fan Speeds (in rpm): cpu: 1931
Info:      Processes: 199 Uptime: 10 min Memory: 1159.1/7859.7MB Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
kukamuumuka

Re: Mint 19 slow boot

Post by kukamuumuka »

You can set more speed via TLP settings.
viewtopic.php?f=60&t=280277#p1543898
Mightyena
Level 1
Level 1
Posts: 4
Joined: Thu Dec 03, 2015 6:03 pm

Re: Mint 19 slow boot

Post by Mightyena »

administrollaattori wrote: Sat Nov 17, 2018 4:54 pm You can set more speed via TLP settings.
viewtopic.php?f=60&t=280277#p1543898
I don't think TLP is responsible, since the slowdown happens before Mint finishes booting

Okay, for anyone interested, I think I've solved the issue, it seemed to be down to having home folder encryption enabled. After reinstalling with that option disabled I get

Code: Select all

james@James-X220:~$ systemd-analyze
Startup finished in 4.049s (kernel) + 2.106s (userspace) = 6.155s
graphical.target reached after 1.689s in userspace
Much better!
Locked

Return to “Installation & Boot”