设置方法:

1 启动过程中点击“e”键(fedora)或者"tab"(centOS)键进入目标启动项的命令行参数下,移除initrd所在行末尾的"quiet"

2 追加rd.break及对应参数, ex: rd.break=pre-pivot

rd.break的可用参数如下:

rd.break={cmdline|pre-udev|pre-trigger|initqueue|pre-mount|mount|pre-pivot|cleanup}

drop to a shell on defined breakpoint

参考链接:

1 https://fedoraproject.org/wiki/How_to_debug_Dracut_problems

2 man dracut.cmdline

05-11 23:01