linux系统启动卡在(1 of 2) A start job is running for .... ()

问题原因:网卡在等待连接,导致系统一直在等待。
解决方法:修改/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service,设置超时时间,在[Service]最后加入TimeoutStartSec=2

posted @ 2025-10-28 16:44  insistYuan  阅读(3)  评论(0)    收藏  举报