Recently while playing around disk partitions on fedora 28 i have observed that boot times were painfully slow on my laptop, when investigated found the issue was due to an enty for non existant swap partition in fstab.
to fix the issue i recreated a swap file system and added below lines to fstab
# /etc/fstab # Created by anaconda on Sat Jun 16 09:32:24 2018 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=de9a1c4f-997e-4d01-a6ce-8e97cb01ce8b / ext4 defaults 1 1 UUID=8b897b38-3d29-4953-a706-6327601d9252 /boot ext4 defaults 1 2 UUID=ce9b7f85-d396-4300-a928-a36046f2a1a1 /media/data ext4 defaults 1 0 UUID=1af3802c-a391-4a6a-8380-9e330fc0eb7d none swap defaults 0 0
swapon
Mount the disk partitons then reboot and check.
mount -a
Chekcing the boot time report
systemd-analyze Startup finished in 1.476s (kernel) + 2.365s (initrd) + 6.587s (userspace) = 10.430s graphical.target reached after 6.426s in userspace