Ubuntu Slow Boot

Last day my PC become very slow to boot.

It take 3 minutes and 17 seconds to boot up.

This happend after i did some changes to my 2nd hard disk and added ZFS partition. First thing i thought it was ZFS that make my PC slow.

systemd-analyze blame did not show any useful info.

systemd analyze blame

To find the problem, i edited the file

Find the line

Replace it with

Now rebuild grub.cfg with

Rebooted the PC. Now instead of showing Ubuntu splash screen, you get lot of text, that shows what actually your PC is doing.

Ubuntu Grub Disable Splash

From the boot message i found system waiting 1 minutes 30 seconds for mounting one of the disk partition. This is because i re-partitioned my 2nd hard disk and forget to remove the disk from /etc/fstab.

I removed the non existant disk entry from /etc/fstab and rebooted PC. Now it boot much faster.

systemd analyze

See Ubuntu