要提升Ubuntu Minimal的启动速度,可以尝试以下几种方法:
sudo gedit /etc/default/grub
将 GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
更改为 GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"
,然后保存文件并更新Grub:sudo update-grub
这将禁用图形驱动程序,可能有助于解决启动时的冻结问题。sudo systemctl disable <service_name>.service
例如,禁用 apt-daily.service
:sudo systemctl disable apt-daily.service
/etc/rc.local
或 /etc/init.d/
)来禁用不必要的服务和程序的自启动。在进行任何优化操作之前,建议备份重要数据以防万一。此外,确保在进行任何更改后都重新启动了系统以使更改生效。