我最近在 Windows 10 和 Ubuntu 15.10 的三重启动中安装了 Kali Linux。在安装 Kali 之前,Win 和 Ubuntu 启动都很快。现在 Win 可以正常启动,Kali 也可以,而 Ubuntu 则需要两三分钟才能启动。
此链接显示输出dmesg
此链接显示来自的图形systemd-analyze
548ms systemd-fsck@dev-disk-by\x2duuid-F378\x2d2BD1.service
119ms dev-nvme0n1p6.device
107ms systemd-journald.service
104ms systemd-localed.service
103ms gpu-manager.service
81ms plymouth-quit-wait.service
68ms systemd-hostnamed.service
62ms plymouth-start.service
45ms ModemManager.service
41ms accounts-daemon.service
33ms systemd-logind.service
30ms apparmor.service
28ms networking.service
28ms NetworkManager.service
28ms alsa-restore.service
27ms systemd-udev-trigger.service
27ms systemd-user-sessions.service
26ms speech-dispatcher.service
26ms apport.service
26ms ondemand.service
26ms pppd-dns.service
26ms irqbalance.service
25ms avahi-daemon.service
25ms grub-common.service
25ms systemd-fsck@dev-disk-by\x2duuid-A4DF\x2dCCAA.service
22ms thermald.service
22ms bluetooth.service
20ms lightdm.service
20ms rsyslog.service
14ms udisks2.service
14ms console-setup.service
14ms systemd-udevd.service
11ms plymouth-read-write.service
10ms colord.service
10ms [email protected]
9ms systemd-journal-flush.service
8ms systemd-modules-load.service
7ms systemd-timesyncd.service
7ms kerneloops.service
6ms systemd-tmpfiles-setup-dev.service
6ms polkitd.service
6ms upower.service
5ms rc-local.service
5ms systemd-update-utmp.service
4ms systemd-sysctl.service
4ms dev-nvme0n1p5.swap
4ms systemd-remount-fs.service
3ms dev-mqueue.mount
3ms kmod-static-nodes.service
3ms boot-efi.mount
3ms sys-kernel-debug.mount
2ms ufw.service
2ms dns-clean.service
2ms resolvconf.service
2ms systemd-tmpfiles-setup.service
2ms wpa_supplicant.service
2ms ifup-wait-all-auto.service
2ms rtkit-daemon.service
2ms systemd-vconsole-setup.service
2ms dev-hugepages.mount
1ms systemd-backlight@backlight:acpi_video0.service
1ms systemd-setup-dgram-qlen.service
1ms ureadahead-stop.service
1ms media-common.mount
1ms sys-fs-fuse-connections.mount
1ms systemd-update-utmp-runlevel.service
1ms [email protected]
1ms systemd-random-seed.service
815us [email protected]
有谁能帮助我使我的 Ubuntu 启动时间恢复正常?
答案1
找到问题了!安装 Kali 后,SWAP 分区自动更改了其 UUID。只需更改 SWAP 的 UUID 即可/etc/fstab
让 Ubuntu 快速启动。我在分析journalctl
命令输出时发现了这个问题。