Lubuntu 18.04 在戴尔 D630 上全新安装启动时间缓慢

Lubuntu 18.04 在戴尔 D630 上全新安装启动时间缓慢

我对 Lubuntu 和 Linux 还很陌生。

我尝试通过安装 Ubuntu 18.04 x64 来恢复旧的 Dell D630 笔记本电脑。

我已经解决了一些问题,但我仍然受困于启动速度非常慢和从挂起状态恢复速度缓慢的问题。该设备有一个 SSD,所以我认为它不应该像现在这样花几分钟来启动。

$ systemd-analyze
Startup finished in 35.819s (kernel) + 1min 4.839s (userspace) = 1min 40.659s
graphical.target reached after 1min 4.825s in userspace

$ systemd-analyze blame
         31.839s lightdm.service
         31.838s plymouth-quit-wait.service
         31.780s plymouth-start.service
         30.309s systemd-backlight@backlight:intel_backlight.service
          6.231s NetworkManager-wait-online.service
          2.121s apparmor.service
          1.492s dev-sda5.device
           509ms upower.service
           467ms udisks2.service
           443ms keyboard-setup.service
           439ms systemd-udev-trigger.service
           381ms NetworkManager.service
           347ms networkd-dispatcher.service
           306ms systemd-journal-flush.service
           301ms swapfile.swap
           278ms systemd-journald.service
           238ms systemd-rfkill.service
           213ms accounts-daemon.service
           201ms grub-common.service
           196ms avahi-daemon.service
           194ms apport.service
           179ms ModemManager.service
           162ms wpa_supplicant.service

$ systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @1min 4.825s
└─multi-user.target @1min 4.825s
  └─getty.target @1min 4.825s
    └─[email protected] @1min 4.824s
      └─system-getty.slice @1min 4.821s
        └─setvtrgb.service @1min 4.816s +3ms
          └─systemd-user-sessions.service @33.079s +7ms
            └─network.target @33.069s
              └─NetworkManager.service @32.717s +349ms
                └─dbus.service @32.679s
                  └─basic.target @32.591s
                    └─sockets.target @32.590s
                      └─avahi-daemon.socket @32.590s
                        └─sysinit.target @32.587s
                          └─cryptsetup.target @32.587s
                            └─systemd-ask-password-wall.path @303ms
                              └─-.mount @261ms
                                └─system.slice @265ms
                                  └─-.slice @261ms

这可能是什么问题?我该如何解决?

答案1

正如所提议的自 Dell D630 上安装 18.04 以来,启动时间变慢

我把该GRUB_CMDLINE_LINUX_DEFAULT行改为/etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="video=SVIDEO-1:d"

然后就跑了sudo update-grub

现在我的启动时间大约是 30 秒:

$ systemd-analyze
Startup finished in 5.053s (kernel) + 32.055s (userspace) = 37.108s
graphical.target reached after 32.038s in userspace

相关内容