启动失败等待网络配置

启动失败等待网络配置

我刚刚升级了我的 Ubuntu 22.04 LTS 机器,现在它在启动过程中卡住了,并显示以下消息:

[FAILED] Failed to start Wait for Network to be Configured

否则屏幕会变黑。我仍然可以通过 ssh 访问机器

systemd-analyze blame给出

2min 230ms systemd-networkd-wait-online.service
   17.473s networking.service
   12.039s NetworkManager-wait-online.service
   10.101s gpu-manager.service
    6.659s [email protected]
    1.850s systemd-udev-settle.service
    1.688s plymouth-quit-wait.service
     762ms blueman-mechanism.service
     688ms dev-mapper-vglinux\x2droot.device
     604ms lvm2-pvscan@8:3.service
     343ms home-evehom-Megingjord.mount
     328ms boot-efi.mount
     267ms systemd-fsck@dev-disk-by\x2duuid-0E9E\x2d46AA.service
     255ms udisks2.service
     206ms systemd-journal-flush.service
     190ms networkd-dispatcher.service
     187ms zfs-load-module.service
     172ms [email protected]
     156ms systemd-udev-trigger.service
     150ms accounts-daemon.service
     126ms systemd-resolved.service
     107ms apparmor.service
     101ms NetworkManager.service
     101ms avahi-daemon.service
      99ms systemd-udevd.service
      94ms modprobe@chromeos_pstore.service
      92ms polkit.service
      89ms lvm2-monitor.service
      89ms systemd-journald.service
      87ms smbd.service
      76ms thermald.service
      74ms systemd-logind.service
      72ms wpa_supplicant.service
      70ms systemd-networkd.service
      62ms keyboard-setup.service
      62ms backup.mount
      60ms ModemManager.service
      59ms preload.service
      53ms grub-common.service
      52ms alsa-restore.service
      39ms systemd-tmpfiles-setup.service
      38ms [email protected]
      37ms casper-md5check.service
      35ms home.mount
      35ms systemd-sysctl.service
      34ms nmbd.service
      34ms ssh.service
      32ms packagekit.service
      31ms lm-sensors.service
      31ms cups.service
      31ms systemd-modules-load.service
      30ms e2scrub_reap.service
      27ms rsyslog.service
      27ms hddtemp.service
      25ms run-rpc_pipefs.mount
      25ms resolvconf-pull-resolved.service
      24ms lightdm.service
      22ms ntp.service
      22ms dev-hugepages.mount
      22ms dev-mapper-vglinux\x2dswap_1.swap
      22ms dev-mqueue.mount
      21ms sys-kernel-debug.mount
      20ms sys-kernel-tracing.mount
      20ms zfs-volume-wait.service
      18ms plymouth-start.service
      17ms kmod-static-nodes.service
      16ms grub-initrd-fallback.service
      14ms [email protected]
      13ms ubiquity.service
      13ms zfs-mount.service
      13ms [email protected]
      12ms plymouth-read-write.service
      12ms systemd-sysusers.service
      10ms zfs-share.service
      10ms systemd-tmpfiles-setup-dev.service
       9ms systemd-random-seed.service
       9ms systemd-remount-fs.service
       8ms dns-clean.service
       8ms [email protected]
       8ms systemd-update-utmp-runlevel.service
       7ms rpc-statd-notify.service
       7ms rpcbind.service
       6ms modprobe@efi_pstore.service
       6ms modprobe@pstore_blk.service
       6ms systemd-update-utmp.service
       6ms modprobe@pstore_zone.service
       6ms openvpn.service
       6ms console-setup.service
       5ms [email protected]
       5ms ifupdown-pre.service
       5ms sys-kernel-config.mount
       5ms systemd-user-sessions.service
       4ms sys-fs-fuse-connections.mount
       4ms finalrd.service
       3ms rtkit-daemon.service
       2ms setvtrgb.service
       1ms postgresql.service
      28us blk-availability.service

我找到了这个帖子正在运行启动作业以等待网络配置。Ubuntu 服务器 17.10并添加optional: true/etc/netplan/01-netcfg.yaml但无济于事,应用此并重新启动机器后仍然卡在[FAILED] Failed to start Wait for Network to be Configured

任何避免完全重新安装操作系统的提示都将不胜感激!提前致谢/Evert

cat /etc/netplan/01-netcfg.yaml 

network:
  version: 2
  renderer: networkd
  ethernets:
    enp0s3:
      dhcp4: yes
      optional: true

ls /etc/netplan/
01-netcfg.yaml

我设法解决了这个问题,由于某种原因,Nvidia 驱动程序已被卸载。我通过命令行安装了它们,现在可以再次访问 GUI。一切似乎都正常工作。

感谢您的考虑/

相关内容