(我在init脚本遍历完/proc/cmdline(但还没进入处理部分,等于什么都没干)后就调用了panic,但还是无法进入shell)
grub.cfg:
代码: 全选
menuentry debian_stretch {
linux (hd0)/debian_stretch/vmlinuz root=/dev/sda rootdir=/debian_stretch rw fastboot
initrd (hd0)/debian_stretch/initrd.img
}
https://wiki.gentoo.org/wiki/Custom_Ini ... nel_panics
暂时还没发现找到具体原因
不过基本可以确定是init脚本出错了,我把自己定制的init脚本删掉就可以进入panic shell了
Wed Apr 26 08:07:03 CST 2017补充:
就是自己写的init脚本有bug
已经完全确定并解决了问题