Checked on many places, and no solution satisfied me, so giving out the info I believe that should help to know the issue. Thanks in advanced:
$systemd-analyze
Startup finished in 4.424s (firmware) + 12.586s (loader) + 5.492s (kernel) + 1min 48.756s (userspace) = 2min 11.260s graphical.target reached after 1min 48.715s in userspace
blkid
/dev/sda4: UUID="ae29f117-c886-49b1-93ef-d2a77666ef62" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="3bfaca8c-c4ea-4232-bd3f-00cfbc837627"
cat /etc/fstab
/ was on /dev/sda4 during installation UUID=ae29f117-c886-49b1-93ef-d2a77666ef62 / ext4 errors=remount-ro 0 1
/boot/efi was on /dev/nvme0n1p1 during installation UUID=58FA-8640 /boot/efi vfat umask=0077 0 1
swap was on /dev/sda2 during installation UUID=d65012d0-ebd9-4bf9-ae69-9e2ec6978b5a none swap sw 0 0
EDIT
A couple of more information pieces:
$systemd-analyze blame
only the services with more than a second time
17.535s plymouth-quit-wait.service
10.743s gpu-manager.service
4.658s NetworkManager-wait-online.service
1.744s dev-sda4.device
$systemd-analyze critical-chain
graphical.target @1min 48.618s
└─multi-user.target @1min 48.618s
└─plymouth-quit-wait.service @1min 31.079s +17.535s
└─systemd-user-sessions.service @1min 30.975s +44ms
└─network.target @1min 30.921s
└─NetworkManager.service @1min 30.564s +350ms
└─dbus.service @1min 30.560s
└─basic.target @1min 30.550s
└─sockets.target @1min 30.550s
└─snapd.socket @1min 30.549s +790us
└─sysinit.target @1min 30.541s
└─snapd.apparmor.service @2.137s +511ms
└─apparmor.service @1.670s +416ms
└─local-fs.target @1.622s
└─run-snapd-ns-snapd\x2ddesktop\x2dintegration.mnt.mount @1min 42.792s
└─run-snapd-ns.mount @1min 42.333s
└─local-fs-pre.target @624ms
└─keyboard-setup.service @457ms +166ms
└─systemd-journald.socket @448ms
└─system.slice @444ms
└─-.slice @444ms
1min 48.756s (userspace)
– Look atsystemd-analyze blame
andsystemd-analyze critical-chain
to see what's taking so long. Then usesudo apt purge ...
andsudo systemctl disable ...
to remove and disable services you don't need or care about. If it's a spinning platter HDD, there's a limit to how much you can speed it up, but 2min is pretty excessive.sudo systemd-analyze plot > /tmp/bootup.svg
and upload it somewhere. Also you could scroll throughjournalctl -b
output and try finding stuff which takes a lot of time.systemd.unit=multi-user.target
? If it boots in ~7 seconds, you might have issues with KDM/SDDM.