修改libzstd.so.1软链接导致系统无法启动,恢复原文件后问题仍存在的求助
修改libzstd.so.1软链接导致系统无法启动,恢复原文件后问题仍存在的求助
各位大佬,我把自己的Ubuntu系统搞崩了,急死了,求帮忙看看怎么解决!
事情是这样的:之前Firefox没法正常运行,我查了查想着是不是libzstd.so.1的问题,就先把原文件备份了一份,然后在/usr/lib/和/usr/local/lib/这两个目录里都创建了指向libzstd.so.1.5.5的软链接。结果重启之后直接炸了,系统根本进不去,弹出一堆错误:
/lib/systemd/systemd-udevd: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory
Gave up waiting for root file system device. common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! UUID=155........... does not exist. Dropping to a shell!BusyBox V1.30.1 (Ubuntu 1:1.30.1-7ubuntu3) built-in shell (ash)
Enter 'help' for a list of built-in commands(initramfs) _
我后来用可启动U盘启动,挂载了系统分区,把之前备份的原libzstd.so.1文件恢复回去了,以为能好,结果重启还是同样的错误!更坑的是,现在进到initramfs的shell里,键盘居然没法用,连命令都输不了,完全不知道该怎么排查了...
有没有大佬遇到过类似的情况?或者知道我哪里操作错了?求指点啊!
备注:内容来源于stack exchange,提问作者NBel
相关产品推荐
相关产品推荐

