linux Console_Redirection -RHEL 7.0
7.5 above
1.Configuring GRUB 2
#vim /etc/default/grub
GRUB_TERMINAL="serial"
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8"
2.Add console=ttyS0,115200n8 to kermel
legacy mode
#vim /etc/grub2.cfg
linux16 /vmlinuz-3.10.0-0.rc4.59.el7.x86_64 root=/dev/mapper/rhel-root ro rd.md=0 rd.dm=0 rd.lvm.lv=rhel/swap crashkernel=auto rd.luks=0 vconsole.keymap=us rd.lvm.lv=rhel/root rhgb quiet
console=tty0 console=ttyS0,115200n8
UEFI mode
#vim /etc/grub2-efi.cfg
linux16 /vmlinuz-3.10.0-0.rc4.59.el7.x86_64 root=/dev/mapper/rhel-root ro rd.md=0 rd.dm=0 rd.lvm.lv=rhel/swap crashkernel=auto rd.luks=0 vconsole.keymap=us rd.lvm.lv=rhel/root rhgb quiet
console=tty0 console=ttyS0,115200n8
3.If BIOS is legacy mode
#grub2-mkconfig -o /boot/grub2/grub.cfg
If BIOS is UEFI mode
#grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg
4.Reboot
-------------------------------------------------------------------
7.0
1.Configuring GRUB 2
#vim /etc/default/grub
GRUB_TERMINAL="serial"
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8"
2.Add console=ttyS0,115200n8 to kermel
#vim /etc/grub2.cfg
linux16 /vmlinuz-3.10.0-0.rc4.59.el7.x86_64 root=/dev/mapper/rhel-root ro rd.md=0 rd.dm=0 rd.lvm.lv=rhel/swap crashkernel=auto rd.luks=0 vconsole.keymap=us rd.lvm.lv=rhel/root rhgb quiet
console=tty0 console=ttyS0,115200n8
3.If BIOS is legacy mode
#grub2-mkconfig -o /boot/grub2/grub.cfg
If BIOS is UEFI mode
#grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg
4.Reboot
訂閱:
張貼留言 (Atom)
-
[Office] 自從您上次存檔後檔案 (filename.xls) 可能已由另一位使用者變更 當您嘗試將 Microsoft Excel 活頁簿儲存到網路伺服器時,如果該伺服器正在執行例如 Services for Macintosh 的中繼服務,或是在開啟活頁簿時出現...
-
Use AMISCE tool to update BIOS configuration under linux Test fucntion without change dump file 1.Copy SCELNX_64 to Linux_Flash folder 2...
-
I would like to thank you for all your support during the past years and hope that you will continue to extend the same to my replacement, ...
沒有留言:
張貼留言