Increased boot time after hard drives upgrade
by Agasfer from LinuxQuestions.org on (#5MRHJ)
I replaced two hard drives on my Debian desktop ("Linux Mint 20 Ulyana" with " 5.4.0-80-generic #90-Ubuntu SMP Fri Jul 9 22:49:44 UTC 2021" kernel) and it started taking much longer time to boot:
Code:$ systemd-analyze time
Startup finished in 27.970s (firmware) + 4.580s (loader) + 36.849s (kernel) + 5.640s (userspace) = 1min 15.040s
graphical.target reached after 2.559s in userspace
$And this is what shows up in dmesg:
Code:...
[ 4.036417] sd 12:0:0:2: Attached scsi generic sg7 type 0
[ 4.036482] sd 12:0:0:3: Attached scsi generic sg8 type 0
[ 4.053694] sd 12:0:0:1: [sdf] Attached SCSI removable disk
[ 4.057799] sd 12:0:0:0: [sde] Attached SCSI removable disk
[ 4.064697] sd 12:0:0:2: [sdg] Attached SCSI removable disk
[ 4.070799] sd 12:0:0:3: [sdh] Attached SCSI removable disk
[ 36.720054] EXT4-fs (sdb3): mounted filesystem with ordered data mode. Opts: (null)
[ 36.828329] systemd[1]: RTC configured in localtime, applying delta of -420 minutes to system time.
[ 36.840315] systemd[1]: Inserted module 'autofs4'
[ 36.872044] systemd[1]: systemd 245.4-4ubuntu3.11 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +S
...what is it wating for? I don't see any errors in dmesg output.
Code:$ systemd-analyze time
Startup finished in 27.970s (firmware) + 4.580s (loader) + 36.849s (kernel) + 5.640s (userspace) = 1min 15.040s
graphical.target reached after 2.559s in userspace
$And this is what shows up in dmesg:
Code:...
[ 4.036417] sd 12:0:0:2: Attached scsi generic sg7 type 0
[ 4.036482] sd 12:0:0:3: Attached scsi generic sg8 type 0
[ 4.053694] sd 12:0:0:1: [sdf] Attached SCSI removable disk
[ 4.057799] sd 12:0:0:0: [sde] Attached SCSI removable disk
[ 4.064697] sd 12:0:0:2: [sdg] Attached SCSI removable disk
[ 4.070799] sd 12:0:0:3: [sdh] Attached SCSI removable disk
[ 36.720054] EXT4-fs (sdb3): mounted filesystem with ordered data mode. Opts: (null)
[ 36.828329] systemd[1]: RTC configured in localtime, applying delta of -420 minutes to system time.
[ 36.840315] systemd[1]: Inserted module 'autofs4'
[ 36.872044] systemd[1]: systemd 245.4-4ubuntu3.11 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +S
...what is it wating for? I don't see any errors in dmesg output.