virtualBox虛擬機安裝增強功能后開機超慢
spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1-130544892-blog-125910416.235%5Ev38%5Epc_relevant_sort_base2&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1-130544892-blog-125910416.235%5Ev38%5Epc_relevant_sort_base2&utm_relevant_index=1
開機現(xiàn)象:
virtualBox安裝增強功能后, 開機一直顯示:
a start job is running for vboxadd.service
a start job is running for …
開機速度非常慢.
1. 使用使用以下命令查看占用開機時長的服務(wù)
$ systemd-analyze blame
5min 8.837s plymouth-quit-wait.service
5min 70ms vboxadd.service
3.372s man-db.service
2.708s logrotate.service
2.539s fwupd.service
2.459s e2scrub_reap.service
1.617s dev-sda1.device
1.511s apparmor.service
1.087s ssh.service
863ms udisks2.service
2. 使用命令禁掉前2個服務(wù)
$ sudo systemctl disable plymouth-quit-wait.service
$ sudo systemctl disable vboxadd.service
Removed /etc/systemd/system/multi-user.target.wants/vboxadd.service.