On earlier versions of Linux Mint you could install and use bootchart to analyze your boot time. If you're having issues with Linux Mint 18 and boot (suddenly) taken minutes you can use various commands to get information that may help to find the cause. I'll list the commands I've found useful below.
Code: Select all
systemd-analyze time
systemd-analyze --no-pager blame
systemd-analyze plot > plot.svg
journalctl --no-pager -b -p3
systemctl --no-pager --state=failed
The first command gets information about how much time was spent in the Linux kernel during boot and how much time in userspace. The second command gets information about how much time each unit took to initialize during boot. The third command creates a file called plot.svg with a boot chart. These all help with figuring out where the problem is most likely to be found.
The fourth command shows all error messages from the current boot. Run it quickly after you had a slow boot or else it may show a lot of errors not relevant to the boot process.
The fifth command shows which if any units failed.
Lastly, if there is any chance the problem may be related to disks it's useful to have the output of these command:
Code: Select all
lsblk -o NAME,SIZE,TYPE,FSTYPE,MOUNTPOINT,UUID
cat /etc/fstab
And it's always useful to have the basics of your system so also share the output of this command:
This being a tutorial, please make a new topic in the
Installation & Boot forum to ask for support. From the above you know what commands to run to get relevant information. Copy the output from the terminal and include it in your topic and attach the plot.svg file.