apt-get dist-upgrade 后 Kali linux 无法启动

apt-get dist-upgrade 后 Kali linux 无法启动

运行后

apt-get dist-upgrade

在我的 kali linux 滚动版本上运行命令时,操作系统每次都无法启动并卡在这条消息上。

loading, please wait...
'disk/by-uuid/1aacd4f4-do73-4e39-b456-fc7d3f78662c": invaild path for logical volume.
fsck from util-linux 2.29.1
/dev/sda1: clean, 3 74044/30015488 files, 4391943/120057088 blocks
[ 9.507788] kvm: disabled by bios
[ 9.550513] kvm: disabled by bios
[ 9.598133] kvm: disabled by bios
[ 9.636218] kvm: disabled by bios
[FAILED] failed to start Open Vulnerability Assessment System Scanner Daemon. see 'systemct1 status openvas-scanner.service' for details.
[OK] started WPA supplicant.
[FAILED] Failed to start Open Vulnerability Assessment System Manager Daemon. see 'systemct1 startus openvas-manager.service' for details.
[OK] Reached target Multi-User System.
[OK] Reached target Graphical Interface.
     Starting Update UTMP about System Runlevel Changes...
[OK] Started Update UTMP about System Renlevel Changes.

我注意到 grub 菜单发生了一些变化:壁纸消失了(Kali 徽标)

我尝试在恢复模式下启动运行

apt-get clean && apt-get update

但失败并出现一些错误消息,有什么帮助吗?

答案1

我遇到过同样的问题。这意味着 kali linux 有一些丢失或损坏的文件。

  sudo apt-get upgrade 

如果这不能解决

  sudo apt-get install -f

答案2

我必须跑

Xorg -configure

xorg.conf.new移至/etc/X11/xorg.conf

问题xorg.conf根本就不存在。在尝试了很多事情之后这才有效

相关内容