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/18 17:39]
frank
linux:boot [2018/04/20 15:36] (current)
frank
Line 20: Line 20:
 </​code>​ </​code>​
  
 +grubby
 +<​code>​
 +# grubby --default-kernel
 +# grubby --set-default=/​boot/​vmlinuz-3.10.0-514.el7.x86_64 ​
 +</​code>​
 === Systemd === === Systemd ===
   * Enable rc-local in OL7<code bash>   * Enable rc-local in OL7<code bash>
Line 35: 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.1484789963.txt.gz ยท Last modified: 2017/01/18 17:39 by frank