I've spent several hours to try all the things I've seen on the forum to try to understand why my PC needs so long to boot without identifying what the problem is.
Here are some info about my configuration:
My configuration:
Code: Select all
$ inxi -Fxz
System: Host: thib-desktop-mint Kernel: 4.15.0-36-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: Gigabyte product: Z87X-UD3H serial: N/A
Mobo: Gigabyte model: Z87X-UD3H-CF v: x.x serial: N/A BIOS: American Megatrends v: F9 date: 03/18/2014
Battery hidpp__0: charge: N/A condition: NA/NA Wh
model: Logitech Wireless Mobile Mouse MX Anywhere 2 status: Discharging
CPU: Quad core Intel Core i5-4670K (-MCP-) arch: Haswell rev.3 cache: 6144 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 27137
clock speeds: max: 3800 MHz 1: 2429 MHz 2: 2195 MHz 3: 2203 MHz 4: 2195 MHz
Graphics: Card-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller bus-ID: 00:02.0
Card-2: NVIDIA GM107 [GeForce GTX 750 Ti] bus-ID: 02:00.0
Display Server: x11 (X.Org 1.19.6 ) drivers: modesetting,nvidia (unloaded: fbdev,vesa,nouveau)
Resolution: 2560x1440@59.95hz
OpenGL: renderer: llvmpipe (LLVM 6.0, 256 bits) version: 3.3 Mesa 18.0.5 Direct Render: Yes
Audio: Card-1 Intel 8 Series/C220 Series High Definition Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0
Card-2 Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
driver: snd_hda_intel bus-ID: 00:03.0
Card-3 NVIDIA Device 0fbc driver: snd_hda_intel bus-ID: 02:00.1
Card-4 Logitech Webcam C270 driver: USB Audio usb-ID: 003-005
Sound: Advanced Linux Sound Architecture v: k4.15.0-36-generic
Network: Card: Intel Ethernet Connection I217-V driver: e1000e v: 3.2.6-k port: f080 bus-ID: 00:19.0
IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 2500.5GB (50.8% used)
ID-1: /dev/sda model: CT500MX500SSD1 size: 500.1GB temp: 33C
ID-2: /dev/sdb model: ST2000DM001 size: 2000.4GB temp: 31C
Partition: ID-1: / size: 458G used: 29G (7%) fs: ext4 dev: /dev/sda1
ID-2: swap-1 size: 2.15GB used: 0.00GB (0%) fs: swap dev: /dev/dm-0
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 29.8C mobo: 27.8C gpu: 0.0:27C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 236 Uptime: 37 min Memory: 2374.7/7864.4MB Init: systemd runlevel: 5 Gcc sys: 7.3.0
Client: Shell (bash 4.4.191) inxi: 2.3.56
Code: Select all
$ systemd-analyze
Startup finished in 39.240s (kernel) + 33.992s (userspace) = 1min 13.233s
graphical.target reached after 33.988s in userspace
Code: Select all
$ systemd-analyze blame
26.052s NetworkManager.service
5.690s NetworkManager-wait-online.service
1.201s mnt-My\x2dNAS-dir1.mount
1.199s mnt-My\x2dNAS-dir2.mount
846ms ufw.service
706ms udisks2.service
691ms ModemManager.service
667ms accounts-daemon.service
665ms systemd-logind.service
665ms thermald.service
657ms ubuntu-system-adjustments.service
646ms networkd-dispatcher.service
641ms lm-sensors.service
541ms mnt-Surplus.mount
504ms apt-daily.service
494ms alsa-restore.service
441ms gpu-manager.service
441ms pppd-dns.service
436ms rsyslog.service
381ms apt-daily-upgrade.service
367ms systemd-cryptsetup@cryptswap1.service
312ms dev-sda1.device
230ms grub-common.service
225ms wpa_supplicant.service
224ms avahi-daemon.service
219ms systemd-journal-flush.service
138ms upower.service
111ms systemd-timesyncd.service
102ms systemd-resolved.service
97ms keyboard-setup.service
93ms networking.service
87ms apparmor.service
65ms lvm2-monitor.service
55ms systemd-tmpfiles-setup-dev.service
52ms systemd-udev-trigger.service
49ms plymouth-quit-wait.service
49ms lightdm.service
44ms systemd-udevd.service
42ms systemd-journald.service
37ms systemd-sysctl.service
34ms packagekit.service
32ms dns-clean.service
29ms user@1000.service
23ms systemd-tmpfiles-setup.service
22ms systemd-tmpfiles-clean.service
19ms systemd-modules-load.service
15ms plymouth-start.service
15ms speech-dispatcher.service
14ms apport.service
14ms colord.service
12ms systemd-random-seed.service
12ms hddtemp.service
11ms polkit.service
11ms ureadahead-stop.service
11ms plymouth-read-write.service
10ms dev-mqueue.mount
9ms dev-hugepages.mount
9ms systemd-remount-fs.service
7ms kerneloops.service
7ms blk-availability.service
7ms sys-kernel-debug.mount
6ms kmod-static-nodes.service
6ms systemd-update-utmp.service
6ms sys-fs-fuse-connections.mount
4ms systemd-user-sessions.service
3ms dev-mapper-cryptswap1.swap
3ms systemd-update-utmp-runlevel.service
2ms swapfile.swap
2ms rtkit-daemon.service
2ms openvpn.service
2ms sys-kernel-config.mount
2ms console-setup.service
1ms setvtrgb.service
1ms nvidia-persistenced.service
Code: Select all
$ 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 @33.988s
└─multi-user.target @33.988s
└─getty.target @33.988s
└─getty@tty1.service @33.988s
└─system-getty.slice @33.988s
└─setvtrgb.service @33.986s +1ms
└─systemd-user-sessions.service @33.922s +4ms
└─remote-fs.target @33.921s
└─mnt-THIB\x2dNAS-Bureau.mount @32.721s +1.199s
└─network-online.target @32.718s
└─NetworkManager-wait-online.service @27.028s +5.690s
└─NetworkManager.service @974ms +26.052s
└─dbus.service @553ms
└─basic.target @533ms
└─sockets.target @533ms
└─cups.socket @533ms
└─sysinit.target @531ms
└─systemd-timesyncd.service @420ms +111ms
└─systemd-tmpfiles-setup.service @394ms +23ms
└─systemd-journal-flush.service @173ms +219ms
└─systemd-journald.service @130ms +42ms
└─systemd-journald.socket @128ms
└─system.slice @127ms
└─-.slice @125ms
Code: Select all
$ cat /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>
# / was on /dev/sda1 during installation
UUID=faa0233c-ede8-40cb-87fb-209833f0578c / ext4 errors=remount-ro 0 1
/swapfile none swap sw 0 0
/dev/mapper/cryptswap1 none swap sw 0 0
/dev/disk/by-uuid/1A6EC47C6EC45265 /mnt/Surplus auto nosuid,nodev,nofail,x-gvfs-show 0 0
#NAS
//192.168.x.xx/dir1 /mnt/My-NAS/dir1/ cifs iocharset=utf8,file_mode=0777,dir_mode=0777,uid=1000,gid=1000 0 0
//192.168.x.xx/dir2 /mnt/My-NAS/dir2/ cifs iocharset=utf8,file_mode=0777,dir_mode=0777,uid=1000,gid=1000 0 0
Code: Select all
$ blkid
/dev/sda1: UUID="faa0233c-ede8-40cb-87fb-209833f0578c" TYPE="ext4" PARTUUID="70dd7b2b-01"
/dev/sdb1: LABEL="Surplus" UUID="1A6EC47C6EC45265" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="287b58be-4a8f-4978-bde7-b4291861fe15"
I've tried to remove "splash quiet" and add "nomodeset" in my grub without noticeable improvements.
The linux mint splash screen is particularly big (and renders badly) on the boot, so that I thought it could be a driver problem. I switched between nouveau, nvidia-340 and nvidia-390 without success.