This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:boot [2017/02/03 22:02] frank |
linux:boot [2018/04/20 15:36] (current) frank |
||
---|---|---|---|
Line 40: | Line 40: | ||
</code> | </code> | ||
+ | === Initramfs === | ||
+ | <code> | ||
+ | # extract initramfs in RHEL7/Centos7 | ||
+ | /usr/lib/dracut/skipcpio initramfs-3.10.0-229.el7.x86_64.img | zcat | cpio -idv | ||
+ | </code> | ||
+ | |||
+ | === Debug === | ||
+ | <code> | ||
+ | kernel cmd line: debug initcall_debug systemd.log_target=console systemd.journald.forward_to_console=1 | ||
+ | serial console in grub: | ||
+ | serial --unit=0 --speed=115200 | ||
+ | terminal --timeout=10 console serial | ||
+ | kernel cmd line: console=tty1 console=ttyS0,115200n8 | ||
+ | </code> |