我有一个笔记本电脑LG Gram 14z980与Windows 10默认情况下。我用双引导方式安装了Ubuntu20.04,我注意到Windows中的启动时间比Ubuntu快得多(大约10秒)。然后我调查了dmesg猜猜..。Ubuntu完全冻结10秒做“什么都不做”,然后继续正常引导。
dmesg示例:
[ 2.561970] usb 1-8: Manufacturer: FPC
[ 12.934435] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:046D:C52B.0002/input/input6最近,我用一个额外的SSD NVme (关键P5)和16 GB内存(金斯敦狂怒)对它进行了升级,并且这种行为保持不变,即使安装了一个新的Ubuntu。

有人对如何解决这个问题有什么建议吗?我尝试了以下命令,我意识到网络管理器-等待-online.service在引导过程中花费了6.237秒。然后,我禁用了它,但dmesg一直显示10秒冻结,正如我张贴的。
关于当前状况的一些新细节:
$ systemd-analyze blame
3.119s plymouth-quit-wait.service
2.093s snap-spotify-56.mount
2.092s snap-gtk\x2dcommon\x2dthemes-1519.mount
2.068s snap-pycharm\x2dcommunity-261.mount
1.890s snap-snapd-12704.mount
1.762s snap-gtk\x2dcommon\x2dthemes-1515.mount
1.754s snap-snapd-14066.mount
1.645s snap-snap\x2dstore-547.mount
1.463s dev-loop0.device
1.452s snap-snap\x2dstore-558.mount
...
$ systemd-analyze critical-chain
graphical.target @6.535s
└─multi-user.target @6.535s
└─snapd.seeded.service @4.605s +731ms
└─snapd.service @3.296s +1.307s
└─basic.target @3.261s
└─sockets.target @3.261s
└─snapd.socket @3.260s +847us
└─sysinit.target @3.255s
└─systemd-timesyncd.service @2.531s +163ms
└─systemd-tmpfiles-setup.service @2.505s +21ms
└─local-fs.target @2.498s
└─snap-spotify-56.mount @394ms +2.093s
└─dev-loop16.device @2.483s +6ms他们中没有一个人花了10秒。
https://askubuntu.com/questions/1379121
复制相似问题