Distribution-Supplied Kernel Centos 7

by hmorris
8 deployments · 5 still active · last rev. 2 months ago

Run a Distribution-Supplied Kernel on a KVM Linode on Centos7

https://www.linode.com/docs/tools-reference/custom-kernels-distros/run-a-distribution-supplied-kernel-with-kvm

Compatible with: CentOS 7
						#!/bin/bash
#
#

yum update -y	
yum install kernel grub2

cat <<END >/etc/default/grub
GRUB_TIMEOUT=10
GRUB_CMDLINE_LINUX="console=ttyS0,19200n8"
GRUB_DISABLE_LINUX_UUID=true
GRUB_SERIAL_COMMAND="serial --speed=19200 --unit=0 --word=8 --parity=no --stop=1"
GRUB_TERMINAL=serial
END

#mkdir /boot/grub
grub2-mkconfig -o /boot/grub/grub.cfg

reboot