Sunday, January 28, 2018

boot - Ubuntu 17.04 takes 3 minutes from GRUB to the login screen

I’m Running Ubuntu Budgie 17.04 on a HP Envy 13 with 8 GB RAM, an SSD and a I5 core,so I expect Ubuntu to boot quickly.
I’m dual booting with Windows 10 and have disabled fast start up in windows settings. Secure boot is enabled.
I’ve seen a few “fixes” such as Terribly slow boot on Ubuntu 17.04
but it will not let me save the edited file nor am I sure how much of the file to edit to try this.


Here’s the output of systemd-analyze:


jake@jake-HP-ENVY-13:~$ systemd-analyze
Startup finished in 3.046s (firmware) + 2.865s (loader) + 1.564s (kernel) + 3min 482ms (userspace) = 3min 7.958s
jake@jake-HP-ENVY-13:~$ systemd-analyze blame
5.022s nmbd.service
1.904s fwupd.service
1.454s apparmor.service
1.414s plymouth-read-write.service
560ms dev-nvme0n1p5.device
368ms NetworkManager-wait-online.service
335ms systemd-resolved.service
193ms postfix@-.service
126ms lightdm.service
124ms plymouth-quit-wait.service
102ms systemd-udev-trigger.service
98ms systemd-timesyncd.service
95ms networking.service
86ms keyboard-setup.service
86ms ModemManager.service
83ms smbd.service
80ms snapd.service
77ms upower.service
74ms tlp.service
68ms accounts-daemon.service
68ms apport.service
66ms NetworkManager.service
57ms speech-dispatcher.service
55ms irqbalance.service
53ms gpu-manager.service
53ms grub-common.service
53ms systemd-tmpfiles-clean.service
50ms systemd-logind.service
48ms systemd-journald.service
47ms thermald.service
46ms bluetooth.service
41ms avahi-daemon.service
33ms alsa-restore.service
32ms systemd-udevd.service
31ms udisks2.service
26ms snap-repair.service
26ms pppd-dns.service
25ms colord.service
25ms systemd-fsck@dev-disk-by\x2duuid-FA26\x2d239C.service
24ms packagekit.service
23ms systemd-modules-load.service
23ms plymouth-start.service
20ms user@1000.service
20ms systemd-tmpfiles-setup-dev.service
18ms geoclue.service
17ms polkit.service
14ms ureadahead-stop.service
14ms rsyslog.service
12ms setvtrgb.service
10ms resolvconf.service
5.022s nmbd.service
1.904s fwupd.service
1.454s apparmor.service
1.414s plymouth-read-write.service
560ms dev-nvme0n1p5.device
368ms NetworkManager-wait-online.service
335ms systemd-resolved.service
193ms postfix@-.service
126ms lightdm.service
124ms plymouth-quit-wait.service
102ms systemd-udev-trigger.service
98ms systemd-timesyncd.service
95ms networking.service
86ms keyboard-setup.service
86ms ModemManager.service
83ms smbd.service
80ms snapd.service
77ms upower.service
74ms tlp.service
68ms accounts-daemon.service
68ms apport.service
66ms NetworkManager.service
57ms speech-dispatcher.service
55ms irqbalance.service
53ms gpu-manager.service
53ms grub-common.service
53ms systemd-tmpfiles-clean.service
50ms systemd-logind.service
48ms systemd-journald.service
47ms thermald.service
46ms bluetooth.service
41ms avahi-daemon.service
33ms alsa-restore.service
32ms systemd-udevd.service
31ms udisks2.service
26ms snap-repair.service
26ms pppd-dns.service
25ms colord.service
25ms systemd-fsck@dev-disk-by\x2duuid-FA26\x2d239C.service
24ms packagekit.service
23ms systemd-modules-load.service
23ms plymouth-start.service
20ms user@1000.service
20ms systemd-tmpfiles-setup-dev.service
18ms geoclue.service
17ms polkit.service
14ms ureadahead-stop.service
14ms rsyslog.service
12ms setvtrgb.service
10ms resolvconf.service
10ms wpa_supplicant.service
9ms sys-kernel-debug.mount
8ms systemd-remount-fs.service
8ms dev-mqueue.mount
7ms dev-hugepages.mount
7ms snapd.autoimport.service
6ms systemd-tmpfiles-setup.service
5ms systemd-journal-flush.service
5ms ufw.service
5ms boot-efi.mount
4ms systemd-user-sessions.service
4ms systemd-sysctl.service
4ms systemd-update-utmp-runlevel.service
4ms kmod-static-nodes.service
3ms systemd-update-utmp.service
3ms rtkit-daemon.service
3ms systemd-random-seed.service
2ms console-setup.service
2ms systemd-backlight@backlight:intel_backlight.service
2ms sys-fs-fuse-connections.mount
1ms swapfile.swap
927us postfix.service
385us snapd.socket
lines 51-73/73 (END)

What can I try/do to speed this up?
I'm a novice so ELI5 please.

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...