20

I reinstalled Ubuntu 17.04 Desktop 64-bit UEFI on my Laptop on a harddisk.

Laptop: Intel Core i5-5200U, Intel HD Graphics 5500, 16 GB Ram.

Booting takes ~120 seconds (from pressing the powerswitch to loginscreen, with Ubuntu 16.04.2 on a ssd it takes less than 20 seconds).

syslog

$ systemd-analyze blame
          5.187s dev-sdb2.device
          4.268s ModemManager.service
          3.138s accounts-daemon.service
          2.852s fwupd.service
          2.688s grub-common.service
          2.421s irqbalance.service
          2.367s apport.service
          2.360s gpu-manager.service
          2.269s NetworkManager.service
          1.641s thermald.service
          1.632s polkit.service
          1.567s rsyslog.service
          1.336s keyboard-setup.service
          1.241s lightdm.service
          1.240s plymouth-quit-wait.service
          1.231s speech-dispatcher.service
          1.172s udisks2.service
          1.159s apparmor.service
          1.019s alsa-restore.service
           976ms repowerd.service
           957ms upower.service
           900ms bluetooth.service
           821ms systemd-resolved.service
           792ms dev-hugepages.mount
           792ms dev-mqueue.mount
           789ms avahi-daemon.service
           755ms sys-kernel-debug.mount
           689ms systemd-cryptsetup@cryptswap1.service
           663ms systemd-modules-load.service
           638ms rtkit-daemon.service
           599ms systemd-backlight@backlight:intel_backlight.service
           540ms systemd-rfkill.service
           511ms systemd-udevd.service
           505ms systemd-fsck@dev-disk-by\x2duuid-F685\x2d7079.service
           456ms systemd-machine-id-commit.service
           455ms openvpn.service
           444ms systemd-timesyncd.service
           386ms systemd-user-sessions.service
           326ms systemd-journald.service
           321ms kmod-static-nodes.service
           273ms systemd-logind.service
           243ms colord.service
           239ms systemd-udev-trigger.service
           227ms wpa_supplicant.service
           199ms networking.service
           192ms console-setup.service
           191ms systemd-tmpfiles-setup-dev.service
           188ms pppd-dns.service
           184ms systemd-hostnamed.service
           171ms user@1000.service
           170ms systemd-localed.service
           165ms setvtrgb.service
           162ms systemd-tmpfiles-setup.service
           131ms dns-clean.service
           101ms systemd-journal-flush.service
            92ms resolvconf.service
            91ms sys-fs-fuse-connections.mount
            82ms systemd-sysctl.service
            79ms systemd-remount-fs.service
            70ms systemd-random-seed.service
            51ms ufw.service
            44ms systemd-update-utmp.service
            42ms boot-efi.mount
            37ms snapd.socket
            14ms plymouth-start.service
            11ms plymouth-read-write.service
             6ms snapd.autoimport.service
             4ms ureadahead-stop.service
             4ms dev-mapper-cryptswap1.swap
             3ms systemd-update-utmp-runlevel.service
             1ms swapfile.swap

systemd-analyze plot

Any ideas?

Zanna
  • 70,465
user58634
  • 868
  • Why Legacy? Why do you have a /boot partition and why is it so big? This questions are more rhetorical than anything else and have the sole purpose of alerting you that you're doing the opposite of the recommended practices therefore problems are to be expected (as shown in the systemd log). –  Apr 15 '17 at 09:04
  • i tried UEFI it took same time then i thought maybe BIOS is faster, the boot partition is because it is on a harddisk so i want the fastest part of the disk for my boot, the size is because on my other laptop with older kernels cleaned out is 250+ MB so 1 GB would be plenty. – user58634 Apr 15 '17 at 09:11
  • What you just commented is nonsense from top to bottom. –  Apr 15 '17 at 09:17
  • do you have any recommendations for me? – user58634 Apr 15 '17 at 09:18
  • A separated /bootpartition is only required for LVM. Otherwise is not even recommended. 2. Legacy boot can only be as good as the native (and always recommended) UEFI mode, never better and often worse for hardware support. 3. Not mentioned in your specs but if you have an addon graphics cards you may need to install proprietary drivers.
  • –  Apr 15 '17 at 09:30
  • I don't have a addon graphics card, i use the intel one. I will try installing it in UEFI. – user58634 Apr 15 '17 at 09:37