[Ubuntu系统] UBUNTU系统开机报错处理

355 0
Honkers 2026-5-27 15:18:17 来自手机 | 显示全部楼层 |阅读模式

UBUNTU系统开机报错处理

问题描述:


After restoring and rebooting, I get the error:
run-init: /sbin/init: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
问题处理:
UBUNTU修复工具:
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

1- boot your linux distribution on USB or CD
2- live boot your system on the USB or CD key
3- in command line type: mount /dev/sda1(or your dist partition) /mnt
4- chroot /mnt
5- nano /etc/resolv.conf (in this file, put this line: nameserver 8.8.8.8)
6- apt-get install init

ldd是list, dynamic, dependencies的缩写, 意思是, 列出动态库依赖关系。
ldd /sbin/init使用命令查看依赖的库文件是否都存在

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

中国红客联盟公众号

联系站长QQ:5520533

admin@chnhonker.com
Copyright © 2001-2026 Discuz Team. Powered by Discuz! X3.5 ( 粤ICP备13060014号 )|天天打卡 本站已运行