vecciora wrote:Mageia 3.
About 30s maybe.
I would like to get that. Snippet from journalctl | grep "Startup finished"
Startup finished in 3.915s (kernel) + 38.628s (userspace) = 42.543s.
vecciora wrote:Not fresh install. The boot became slow after installing other Linux OS. I suspect it become like this because the swap partition is being reformatted, but I really am not sure.
You might double check swap UUID in /etc/fstab with results from blkid. Personally, I use labels to avoid that problem.
$ blkid | grep swap
/dev/sdb1: LABEL="swap" <snip,snip>
$ grep swap /etc/fstab
LABEL=swap swap swap defaults 0 0
Commands to get swap partition labeled:
swapoff -a ; mkswap -L swap /dev/sdxx ; swapon LABEL=swap
You have to solve for sdxx
After the above, you can change fstab.
As to troubleshooting start up, I would look through journalctl results after fixing any service failures, if any.
Since I added my user id to the adm group, it is easy to do a
"systemctl --failed" and "journalctl | grep -i fail"
to get a quick view of any problems.
Another method is "systemd-analyze blame" and/or
systemd-analyze plot > plot.svg
firefox plot.svg