更新到 Ubuntu 16.04 后。启动时间有点长(超过 10-15 秒)。我查看了“dmesg”输出,发现了这个:
[ 23.882674] audit: type=1400 audit(1461650474.108:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/evince" pid=644 comm="apparmor_parser"
**[ 23.882682]** audit: type=1400 audit(1461650474.108:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/evince//sanitized_helper" pid=644 comm="apparmor_parser"
**[ 32.162714]** cgroup: new mount options do not match the existing superblock, will be ignored
[ 32.777477] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 32.777480] Bluetooth: BNEP filters: protocol multicast
Run Code Online (Sandbox Code Playgroud)
我假设“dmesg”输出左侧的数字是时间。如果我在这一步失去了 9 秒,我可以做些什么来改善启动时间?
我无法在 Ubuntu 中找到任何管理服务的 GUI 工具。我在 Windows 上将 Ubuntu 作为 Virtual Box 机器运行。我尝试使用System Jobs但它不起作用。
我有 LAMP 服务器,我想控制是否将其作为服务启动。我知道有终端命令执行这项工作。但是,我需要一个类似于 Windows 上的 GUI 来简化 LAMP 或任何其他服务的工作。
我正在使用 Ubuntu 18.04
我对quiet splash添加nomodeset这样的东西感到困惑..
提高启动时间的最佳选择是什么?我的主要目标是在给定的选择中减少启动时间,quiet splash nomodeset或者如果要添加 50 个东西,如果可以减少启动时间,我准备这样做。
我运行命令
sudo journalctl --boot > boot.log它在我的主文件夹中保存了一个副本。
这是链接https://paste.ubuntu.com/p/sSV9vhsyKh/
https://paste.ubuntu.com/p/Bd7wcbX5qF/的输出systemd-analyze blame
可能重复:
如何提高启动速度?
我是双引导 Ubuntu 和 Windows 7。当我在 GRUB 菜单中选择 Ubuntu 时,黑屏中的一个闪烁的光标出现并需要大约 30-40 秒。然后Ubuntu正常快速打开。如何减少闪烁光标所花费的时间(或如果可能将其删除)?
所以我在我的笔记本电脑上安装了 Ubuntu 22.04.2 LTS。启动需要 2 分钟以上,这对我来说似乎太长了。几个月前,当我在我的机器上安装 Ubuntu 时,并没有花费这么多时间。以下是分别由“systemd-analyze”和“system-analyzeblame”生成的日志
\nisaac@Isaac-Lenovo-IdeaPad-S145-15AST:~$ systemd-analyze \nRun Code Online (Sandbox Code Playgroud)\nStartup finished in 4.979s (firmware) + 8.472s (loader) + 4.847s (kernel) + 1min 59.732s (userspace) = 2min 18.032s graphical.target reached after 1min 59.606s in userspace
isaac@Isaac-Lenovo-IdeaPad-S145-15AST:~$ systemd-analyze blame\nRun Code Online (Sandbox Code Playgroud)\n1min 22.046s fstrim.service
57.290s plymouth-quit-wait.service\n 37.756s systemd-journal-flush.service\n 33.487s dev-mapper-vgubuntu\\x2droot.device\n 31.672s apt-daily.service\n 26.775s snapd.service\n 23.608s logrotate.service\n 21.060s networkd-dispatcher.service\n 20.841s snap-bare-5.mount\n 19.967s snap-core18-2714.mount\n 19.579s NetworkManager-wait-online.service\n 19.316s snap-core18-2721.mount\n 18.666s udisks2.service\n 18.013s snap-core20-1778.mount\n 16.502s snap-core20-1852.mount\n 13.452s snap-core22-583.mount\n 13.435s ModemManager.service\n 13.344s …Run Code Online (Sandbox Code Playgroud)