User Tools

Site Tools


linux:boot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:boot [2017/01/31 11:02]
frank
linux:boot [2018/04/20 15:36] (current)
frank
Line 24: Line 24:
 # grubby --default-kernel # grubby --default-kernel
 # grubby --set-default=/​boot/​vmlinuz-3.10.0-514.el7.x86_64 ​ # grubby --set-default=/​boot/​vmlinuz-3.10.0-514.el7.x86_64 ​
-<​code>​+</code>
 === Systemd === === Systemd ===
   * Enable rc-local in OL7<code bash>   * Enable rc-local in OL7<code bash>
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>​
linux/boot.1485889340.txt.gz ยท Last modified: 2017/01/31 11:02 by frank