Ubuntu 22.04 即使在 SSD 上也需要很长时间启动

Ubuntu 22.04 即使在 SSD 上也需要很长时间启动

我最近在一块新的 SSD 上安装了 Ubuntu 22.04,但启动需要大约 30 秒。我见过有人在 15 秒内启动了他们的 Ubuntu 系统。

那么,我该如何进一步缩短启动时间呢?

设备信息:

  • 型号:HP 15-da0077tx
  • 内存:8GB
  • SSD: Crucial p2 500 GB NVME
  • CPU:英特尔酷睿 i5 第 8 代

目前,我在 SSD 上安装了双启动系统,安装了 Windows 10。我的 HDD 上还有一个旧版本的 Ubuntu。

输出:

devansh@Dev:~$ systemd-analyze 
Startup finished in 6.113s (firmware) + 2.286s (loader) + 2.682s (kernel) + 14.853s (userspace) = 25.934s 
graphical.target reached after 14.837s in userspace
devansh@Dev:~$ systemd-analyze blame
13.603s plymouth-quit-wait.service
  456ms systemd-backlight@backlight:intel_backlight.service
  447ms udisks2.service
  438ms systemd-resolved.service
  393ms systemd-oomd.service
  312ms systemd-timesyncd.service
  307ms dev-nvme0n1p5.device
  209ms networkd-dispatcher.service
  179ms apparmor.service
  177ms systemd-logind.service
  151ms power-profiles-daemon.service
  144ms switcheroo-control.service
  134ms systemd-journal-flush.service
  134ms systemd-udev-trigger.service
  133ms e2scrub_reap.service
devansh@Dev:~$ systemd-analyze critical-chain
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

graphical.target @14.837s
└─multi-user.target @14.837s
  └─plymouth-quit-wait.service @1.234s +13.603s
    └─systemd-user-sessions.service @1.225s +5ms
      └─network.target @1.220s
        └─NetworkManager.service @1.141s +77ms
          └─dbus.service @1.135s
            └─basic.target @1.128s
              └─sockets.target @1.128s
                └─uuidd.socket @1.128s
                  └─sysinit.target @1.124s
                    └─systemd-backlight@backlight:intel_backlight.service @3.911s +456ms

如果您需要任何进一步的信息,请告诉我。

相关内容