关于 kernel panic-not syncing:Attempt to kill init!

    技术2022-05-20  36

    在启动linux时,出现上面这个错误,许多情况下是因为,没有在grub.conf(或者你没有安装grub,而用的是grub4dos的menu.lst文件)文件,没有指定根文件系统. Do not forget that you have to specify a root partion to the kernel.(Grub 手册) 这里给出一个例子,一看你就明白了。 timeout=10 defalut=0 title Redhat Enterprise Linux 5 kernel (hd0,7)/boot/vmlinuz-2.6.18-194.el5 ro root=/dev/sda8 rhgb quiet initrd (hd0,7)/boot/initrd-2.6.18-194.el5.img ro 参数告诉内核以只读方式加载根文件系统,以便进行文件系统完整性检查; rhgb 指的是redhat graphics boot,图形界面启动显示; quiet指的是,仅列出简要的信息。 其实,只要加上上面黑体的那句就可以启动了。


    最新回复(0)