Slow boot - "a start job is running for dev-disk-by..."
If you get
A start job is running for dev-disk-by...
followed by a 90 second delay during each boot, complete the following steps:
Install GParted using the Software Center
Open GParted and see what partitions Ubuntu is currently using
Edit the fstab file using the line below.
sudo -H gedit /etc/fstab
Find the device that you are not currently using
Insert a
#
and a space at the beginning of that line comment it out.Reset
I had the same issue after resizing my primary partition on my VM since gparted live forced me to delete & reinitialize my swap to do so. That caused a new UUID to be set that didn't match the fstab file.
To avoid the issue, in /etc/fstab
you can either
Replace the swap UUID with the new one (run
sudo blkid
to find it) after the primary partition resizing.Or, comment out the swap partition before (or after) the primary partition resizing.
I would recommend the former since it is the way the OS is meant to be setup.
Looks like the issue was due to the fact that even though fstab had an entry for a swap, there actually wasn't one. I used GParted to resize the partition and created a new Swap. I then copied the UUID into the fstab file...
- I now have swap
- And boot is down to within seconds vs 90+ seconds