My Ubuntu 18.04 LTS on an ASUS VivoBook S15 is taking about 30 seconds to boot from the time that Grub2 initiates the Ubuntu boot until the login box appears (dual boot system with Windows but I don't think that this is relevant - Windows boots fast). From the output of dmesg I see that most of this time is due to trying to find an "Attached SCSI removable disk":
[2.922832] scsi 3:0:0:0: Direct-Access Canon MG6800 series 0203 PQ: 0 ANSI: 2
[2.923136] sd 3:0:0:0: Attached scsi generic sg1 type 0
[2.923740] sd 3:0:0:0: Power-on or device reset occurred
[2.925122] sd 3:0:0:0: [sdb] Attached SCSI removable disk
[33.459029] fbcon: Taking over console
I sometimes attach an external hard disk by USB and also some USB pen-disks, but they have all been ejected/unmounted; the delay happens whether the Canon printer (connected by USB) is on or off. I don't see what Ubuntu could be looking for. Could you please advise on where the problem might be?
Thanks and best wishes, John
nofail,x-systemd.device-timeout=30
. – heynnema Apr 18 '20 at 21:35free -h
to confirm swap. – heynnema Apr 21 '20 at 14:18