A job taking 1:30 min from boot time

Hello everyone.

I will post a photo with my issue. All the time I'm booting Ubuntu mate 20.04 LTS I see this job running for 1:30 mins which makes the boot time longer.
At the beginning after a fresh install of the OS, booting time took less than 30 seconds. I don't remember installing anything before this to start running in the background of boot screen.
Any ideas what's wrong?

It may be some filesystem from some external drive which is not connected anymore.

Please show the contents of /etc/fstab file. Also add blkid with swapon -s.

/etc/fstab

#  <file system> <mount point>   <type>  <options>       <dump>  <pass>
#,  / was on /dev/sda1 during installation
UUID=e9ce14c3-43f3-4cf9-bdc9-5451ab893d97 /               ext4    errors=remount-ro 0       1
#/boot/efi was on /dev/sda3 during installation
#UUID=5A6F-347F  /boot/efi       vfat    umask=0077      0       1
UUID=bfebbf86-0db0-459d-a489-8c0cfca7d24a none            swap    sw              0       0
UUID=5A6F-347F  /boot/efi       vfat    defaults      0       1

blkid

/dev/sda1: UUID="e9ce14c3-43f3-4cf9-bdc9-5451ab893d97" TYPE="ext4" PARTUUID="eabf3cf5-1dcf-47c9-a995-46572debb8a6"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/sda2: UUID="5A6F-347F" TYPE="vfat" PARTUUID="6c938ff7-34f6-43fb-8f04-de30949844f5"
/dev/sda3: UUID="F4664D38664CFCBC" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="b444aacc-7388-4168-a621-fa02c0faa613"
/dev/sda4: LABEL="WinKit" UUID="1E08ADB508AD8BF9" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="975481d3-e7be-4982-8da6-b523d68beae4"

swapon -s - Does absolutely nothing.

So my preliminary idea goes real.

Your /etc/fstab has a line for non-existent partition. We need to commend out the line starting with UUID=bfebbf86-0db0-459d-a489-8c0cfca7d24a by placing # at its start:

#UUID=bfebbf86-0db0-459d-a489-8c0cfca7d24a none            swap    sw              0       0

You can do this by running sudo pluma /etc/fstab and then saving file.

Then update initramfs with sudo update-initramfs -u -k all and reboot.

4 Likes

Thank you very much! I owe you a beer for all your help. I followed what you explained to me and now it boots fast again.
But what was the trigger for this issue? I indeed used few USB sticks and an external hard drive for some file transfers.

1 Like

I'm not sure. It may be some drive with this swap partition.

I have marked thread as solved :slight_smile:

1 Like

very very thanks bro
I am really happy, it's working perfectly

1 Like

Welcome to the community!