[Solved] Slow boot from 20.1 live USB

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
crankyinmv
Level 1
Level 1
Posts: 28
Joined: Wed Apr 04, 2018 8:39 pm

[Solved] Slow boot from 20.1 live USB

Post by crankyinmv »

I'm booting from a 20.1 64 bit cinnamon stick. From the point when I choose the GRUB option to the time the screen comes up is a little over 1 minute.

Should I worry about this, or wait if and until an installed version has a slow bootup ?

Anyways, here's a bunch of output.

Code: Select all

[code]mint@mint:~$ systemd-analyze 
Startup finished in 7.901s (firmware) + 42.230s (loader) + 20.125s (kernel) + 25.780s (userspace) = 1min 36.037s 
graphical.target reached after 25.743s in userspace

Code: Select all

mint@mint:~$ systemd-analyze critical-chain 
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

graphical.target @25.743s
└─multi-user.target @25.743s
  └─networkd-dispatcher.service @1.294s +24.448s
    └─basic.target @1.220s
      └─sockets.target @1.220s
        └─uuidd.socket @1.220s
          └─sysinit.target @1.214s
            └─systemd-backlight@backlight:intel_backlight.service @4.540s +11.678s
              └─system-systemd\x2dbacklight.slice @4.538s
                └─system.slice @491ms
                  └─-.slice @491ms

Code: Select all

mint@mint:~$ systemd-analyze blame | head -n 15
24.448s networkd-dispatcher.service                                                          
16.966s dev-disk-by\x2dlabel-writable.device                                                 
16.922s dev-sdb1.device                                                                      
15.949s ubuntu-system-adjustments.service                                                    
15.531s NetworkManager.service                                                               
14.824s ModemManager.service                                                                 
11.678s systemd-backlight@backlight:intel_backlight.service                                  
 5.573s udisks2.service                                                                      
 4.861s alsa-restore.service                                                                 
 4.016s dev-loop0.device                                                                     
 3.860s lightdm.service                                                                      
 3.854s plymouth-quit-wait.service                                                           
 3.847s systemd-rfkill.service                                                               
 1.578s console-setup.service                                                                
 1.433s wpa_supplicant.service

Code: Select all

mint@mint:~$ sudo cat /var/log/boot.log 
------------ Fri May 07 03:18:22 UTC 2021 ------------
/init: line 49: can't open /dev/sr0: No medium found
/init: line 49: can't open /dev/sr0: No medium found
mount: mounting /log-persistence/install-logs-2021-05-07.1/crash on /root/var/crash failed: No such file or directory
touch: /root/var/crash/crash.init: No such file or directory
rm: can't remove '/root/var/crash/crash.init': No such file or directory
passwd: password expiry information changed.
dbus-daemon[776]: [session uid=999 pid=776] Activating service name='org.gtk.vfs.Daemon' requested by ':1.0' (uid=999 pid=777 comm="" label="unconfined")
dbus-daemon[776]: [session uid=999 pid=776] Successfully activated service 'org.gtk.vfs.Daemon'
dbus-daemon[776]: [session uid=999 pid=776] Activating service name='org.gtk.vfs.Metadata' requested by ':1.0' (uid=999 pid=777 comm="" label="unconfined")
fuse: device not found, try 'modprobe fuse' first
dbus-daemon[776]: [session uid=999 pid=776] Successfully activated service 'org.gtk.vfs.Metadata'
A connection to the bus can't be made
ln: /root/usr/lib/update-notifier/apt-check: No such file or directory
ln: /root/usr/lib/ubuntu-release-upgrader/check-new-release: No such file or directory
ln: /root/usr/lib/ubuntu-release-upgrader/check-new-release-gtk: No such file or directory
grep: /root/etc/default/apport: No such file or directory
[FAILED] Failed unmounting /cdrom.
[  OK  ] Finished Tell Plymouth To Write Out Runtime Data.
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Finished udev Coldplug all Devices.
         Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Finished Load Kernel Modules.
         Mounting FUSE Control File System...
         Mounting Kernel Configuration File System...
         Starting Apply Kernel Variables...
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Finished Helper to synchronize boot up for ifupdown.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Set.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Clean up any mess left by 0dns-up.
         Starting Raise network interfaces...
[  OK  ] Started udev Kernel Device Manager.
         Starting Show Plymouth Boot Screen...
[  OK  ] Started Show Plymouth Boot Screen.
[  OK  ] Started Forward Password Requests to Plymouth Directory Watch.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Reached target System Initialization.
[  OK  ] Started ACPI Events Check.
[  OK  ] Started CUPS Scheduler.
[  OK  ] Started Trigger anacron every hour.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Periodic ext4 Online Metadata Check for All Filesystems.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Refresh fwupd metadata regularly.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Message of the Day.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Timers.
[  OK  ] Listening on ACPID Listen Socket.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on CUPS Scheduler.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on UUID daemon activation socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Accounts Service...
[  OK  ] Started ACPI event daemon.
[  OK  ] Started Run anacron jobs.
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started CUPS Scheduler.
[  OK  ] Started D-Bus System Message Bus.
         Starting Network Manager...
[  OK  ] Started Save initial kernel messages after boot.
         Starting Remove Stale Online ext4 Metadata Check Snapshots...
[  OK  ] Reached target Login Prompts.
         Starting Detect the available GPUs and deal with any system changes...
         Starting LSB: Record successful boot for GRUB...
         Starting GRUB failed boot detection...
         Starting LSB: disk temperature monitoring daemon...
[  OK  ] Started irqbalance daemon.
         Starting Initialize hardware monitoring sensors...
[  OK  ] Started mintsystem.service.
         Starting Dispatcher daemon for systemd-networkd...
[  OK  ] Started Set the CPU Frequency Scaling governor.
         Starting Authorization Manager...
         Starting Restore /etc/resolv.conf if the system crashed before the ppp link was shut down...
         Starting System Logging Service...
         Starting Secure Boot updates for DB and DBX...
         Starting Login Service...
         Starting Thermal Daemon Service...
         Starting Linux Mint live CD installer...
         Starting Ubuntu system adjustments...
         Starting Disk Manager...
         Starting WPA supplicant...
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Host and Network Name Lookups.
         Starting Tool to automatically collect and submit kernel crash signatures...
[  OK  ] Finished GRUB failed boot detection.
[  OK  ] Finished Restore /etc/resolv.conf if the system crashed before the ppp link was shut down.
[  OK  ] Started Tool to automatically collect and submit kernel crash signatures.
[  OK  ] Finished Remove Stale Online ext4 Metadata Check Snapshots.
[  OK  ] Finished Linux Mint live CD installer.
[  OK  ] Finished Initialize hardware monitoring sensors.
[  OK  ] Started LSB: disk temperature monitoring daemon.
[  OK  ] Started LSB: Record successful boot for GRUB.
[  OK  ] Started Login Service.
[  OK  ] Started System Logging Service.
[  OK  ] Started Thermal Daemon Service.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Make remote CUPS printers available locally.
[  OK  ] Finished Raise network interfaces.
[  OK  ] Finished Secure Boot updates for DB and DBX.
[  OK  ] Started Authorization Manager.
         Starting Modem Manager...
[  OK  ] Started Accounts Service.
[  OK  ] Finished Detect the available GPUs and deal with any system changes.
[  OK  ] Finished Set console font and keymap.
[  OK  ] Started WPA supplicant.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[  OK  ] Created slice system-systemd\x2dbacklight.slice.
         Starting Load/Save Screen Backlight Brightness of backlight:intel_backlight...
[  OK  ] Started Disk Manager.
[  OK  ] Finished Load/Save Screen Backlight Brightness of backlight:intel_backlight.
         Starting Load/Save RF Kill Switch Status...
[  OK  ] Started Network Manager.
[  OK  ] Reached target Network.
         Starting OpenVPN service...
         Starting Permit User Sessions...
[  OK  ] Finished OpenVPN service.
[  OK  ] Finished Permit User Sessions.
         Starting Light Display Manager...
         Starting Hold until boot process finishes up...
[  OK  ] Started Modem Manager.
         Starting Hostname Service...
[  OK  ] Started Hostname Service.
[  OK  ] Finished Ubuntu system adjustments.
         Starting Network Manager Script Dispatcher Service...
         Starting Save/Restore Sound Card State...
         Starting Bluetooth service...
(Looks like some evil stuff is happening early on)

Code: Select all

mint@mint:~$ inxi -Fxpmrz
System:    Kernel: 5.4.0-58-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.8.5 
           Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: Dell product: Inspiron 5559 v: N/A serial: <filter> 
           Mobo: Dell model: 0WTXH9 v: A00 serial: <filter> UEFI: Dell v: 1.4.1 date: 12/08/2017 
Battery:   ID-1: BAT0 charge: 29.4 Wh condition: 29.4/37.3 Wh (79%) model: Panasonic DELL 78V9D69 status: Full 
Memory:    RAM: total: 15.53 GiB used: 2.98 GiB (19.2%) 
           RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:       Topology: Dual Core model: Intel Core i5-6200U bits: 64 type: MT MCP arch: Skylake rev: 3 L2 cache: 3072 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19200 
           Speed: 2700 MHz min/max: 400/2800 MHz Core speeds (MHz): 1: 2656 2: 2713 3: 2700 4: 2702 
Graphics:  Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 
           Display: x11 server: X.Org 1.20.8 driver: modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa Intel HD Graphics 520 (SKL GT2) v: 4.6 Mesa 20.0.8 direct render: Yes 
Audio:     Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           Sound Server: ALSA v: k5.4.0-58-generic 
Network:   Device-1: Intel Wireless 3160 driver: iwlwifi v: kernel port: f040 bus ID: 01:00.0 
           IF: wlp1s0 state: up mac: <filter> 
           Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell driver: r8169 v: kernel port: e000 
           bus ID: 02:00.0 
           IF: enp2s0 state: down mac: <filter> 
Drives:    Local Storage: total: 947.83 GiB used: 240.89 GiB (25.4%) 
           ID-1: /dev/sda vendor: Western Digital model: WD10JPVX-75JC3T0 size: 931.51 GiB temp: 36 C 
           ID-2: /dev/sdb type: USB vendor: Memorex model: USB Flash Drive size: 14.46 GiB 
           ID-3: /dev/sdc type: USB vendor: Generic model: Flash Disk size: 1.86 GiB 
Partition: ID-1: / size: 7.77 GiB used: 132.0 MiB (1.7%) fs: overlay source: ERR-102 
           ID-2: /cdrom raw size: 1.90 GiB size: <superuser/root required> used: <superuser/root required> fs: iso9660 
           dev: /dev/sdb1 
           ID-3: /media/mint/009D-FD5F size: 1.86 GiB used: 1.55 GiB (83.4%) fs: vfat dev: /dev/sdc1 
           ID-4: /media/mint/7da0a833-ce7a-4984-8adc-969d69eb2ab3 size: 900.63 GiB used: 239.17 GiB (26.6%) fs: ext4 
           dev: /dev/sda2 
           ID-5: /rofs raw size: 1.78 GiB size: <superuser/root required> used: <superuser/root required> fs: squashfs 
           dev: /dev/loop0 
           ID-6: /var/log size: 12.30 GiB used: 41.9 MiB (0.3%) fs: ext4 dev: /dev/sdb3 
           ID-7: swap-1 size: 15.89 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda3 
Sensors:   System Temperatures: cpu: 69.0 C mobo: 42.0 C sodimm: 44.0 C 
           Fan Speeds (RPM): cpu: 2710 
Repos:     Active apt repos in: /etc/apt/sources.list 
           1: deb cdrom:[Linux Mint 20.1 _Ulyssa_ - Release amd64 20210103]/ focal contrib main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http://packages.linuxmint.com ulyssa main upstream import backport #id:linuxmint_main
           2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
           3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
           4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
           5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http://archive.canonical.com/ubuntu/ focal partner
Info:      Processes: 198 Uptime: 35m Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17 inxi: 3.0.38 
Other info: I'm using wifi for the laptop since it puts a death grip on the ethernet cable whenever I plug one in.

Thanks for reading all this :|

- Mike.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JeffF73
Level 2
Level 2
Posts: 61
Joined: Sun May 27, 2012 2:47 pm

Re: Slow boot from 20.1 live USB

Post by JeffF73 »

That's pretty normal due to running from a USB. The system takes some time to cache in the ram and etc. I wouldn't worry.
crankyinmv
Level 1
Level 1
Posts: 28
Joined: Wed Apr 04, 2018 8:39 pm

Re: Slow boot from 20.1 live USB

Post by crankyinmv »

OK, thanks JeffF73.
Locked

Return to “Installation & Boot”