Forgive me, I just installed Ubuntu yesterday and am trying to learn as quickly as I can.
I cannot figure out why the boot, restart, and shutdown takes so long, from the info below I can see where the issue is happening but I do not know how to fix it. I also understand that boot, restart and shutdown could be separate issues and if so prefer to start with startup / reboot (I think they are related).
Every time I start my computer or reboot my computer the kernel takes over 90 seconds to load (sitting at black screen while waiting).
Thank you for any and all help you can provide.
FYI, I have loaded Zorin OS 9 without any issues but this is using an older version of Ubuntu (14.04 LTS) and I want to use the latest.
- Intel I7-3770K
- AMD Radeon R9 290x
- 32 GB Ram
- Samsung SSD as primary (grub installed here)
- WD HDD 7200rpm as my swap and root for ubuntu.
- Ubuntu 16.04.1 LTS 64 bit, Updated.
Grub is installed on my primary drive while ubuntu is on /dev/sdb3 (3rd drive in my system)
I have tried booting with
nomodeset and this does not help at all.
EDIT: Additional info - I am using UEFI 64 bit version of Ubuntu. I also have an overclock set in my bios. I have tried adding parameters to my kernel either I am not doing it correctly or it has no effect. I have also tried unplugging every usb device from my computer including my keyboard and mouse (used a ps2 keyboard) and issue remained.
EDIT 2: I have done some additional testing:
I have unplugged every usb header, unplugged all HDD and the issue still happens (even with live usb).
I have this motherboard:
I am thinking it has to be something with the motherboard, perhaps the secondary SATA controller?
Anyone have any suggestions?
Image of the analyze plot: Ubuntu 16.04.1 LTS systemd-analyze plot
dmesg (Boot example 1)
[ 2.135850] sd 10:0:0:0: [sdd] 976754645 4096-byte logical blocks: (4.00 TB/3.64 TiB) [ 2.136168] sd 10:0:0:0: [sdd] Write Protect is off [ 2.136170] sd 10:0:0:0: [sdd] Mode Sense: 4f 00 00 00 [ 2.136327] sd 10:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 2.137493] sdd: sdd1 [ 2.138193] sd 10:0:0:0: [sdd] Attached SCSI disk [ 2.627661] clocksource: Switched to clocksource tsc [ 91.393716] random: nonblocking pool is initialized [ 91.478893] EXT4-fs (sdb3): mounted filesystem with ordered data mode. Opts: (null) [ 92.052207] systemd: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN) [ 92.052306] systemd: Detected architecture x86-64. [ 92.064886] systemd: Set hostname to <AntUbuntu>. [ 92.298399] systemd: Listening on udev Kernel Socket. [ 92.298491] systemd: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 92.298499] systemd: Reached target Remote File Systems (Pre).
dmesg (Boot example 2)
[ 4.297400] sd 10:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 4.298509] sdd: sdd1 [ 4.299195] sd 10:0:0:0: [sdd] Attached SCSI disk [ 4.393421] random: nonblocking pool is initialized [ 91.502212] EXT4-fs (sdb3): mounted filesystem with ordered data mode. Opts: (null) [ 92.075578] systemd: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN) [ 92.075677] systemd: Detected architecture x86-64. [ 92.088193] systemd: Set hostname to <AntUbuntu>. [ 92.337609] systemd: Listening on udev Control Socket. [ 92.337646] systemd: Listening on udev Kernel Socket. [ 92.337659] systemd: Listening on fsck to fsckd communication Socket. [ 92.337709] systemd: Created slice System Slice.
6.233s lightdm.service 5.922s snapd.refresh.service 4.198s plymouth-quit-wait.service 3.095s dev-sdb3.device 2.376s NetworkManager.service 1.961s ModemManager.service 1.959s thermald.service 1.945s accounts-daemon.service 1.773s apparmor.service 1.441s polkitd.service 1.114s plymouth-start.service 1.094s systemd-tmpfiles-setup.service 1.033s apport.service 1.004s grub-common.service 868ms networking.service 856ms systemd-journal-flush.service 721ms gpu-manager.service 695ms rsyslog.service 642ms systemd-fsck@dev-disk-by\x2duuid-1EEB\x2dDE91.service 571ms systemd-tmpfiles-setup-dev.service 558ms console-setup.service 509ms keyboard-setup.service 495ms upower.service