This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:boot [2017/07/18 10:38] 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 === | === Debug === | ||
<code> | <code> | ||
- | kernel cmd line: debug initcall_debug | + | kernel cmd line: debug initcall_debug systemd.log_target=console systemd.journald.forward_to_console=1 |
serial console in grub: | serial console in grub: | ||
serial --unit=0 --speed=115200 | serial --unit=0 --speed=115200 | ||
terminal --timeout=10 console serial | terminal --timeout=10 console serial | ||
- | kernel cmd line: console=tty1 console=ttyS0,11200n8 | + | kernel cmd line: console=tty1 console=ttyS0,115200n8 |
</code> | </code> |