As root shutdown -r now (or use VirtualBox to shutdown/reboot) any combination will trigger kernel panic on restart ![]() ![]() It should install fine and lsmod | grep vb should show two modules, also dmesg will show few lines when they are loadedġ2. ![]() On guest as root: mkdir /mnt/cdrom AND mount /dev/cdrom /mnt/cdromġ0. On virtual box select Insert Guest Additions CD Imageĩ. yum remove kernel (remove the only trace of 3.x.x kernel which came with original Centos 7) - this is optional, makes no difference, since at this point you are running 4.7.0 kernel and all kernel sources are 4.7.0Ĩ. At this point rpm -qa | grep kernel should show only running kernel (verson 3.xx) and everything else 4.7.0ħ. yum -enablerepo=elrepo-kernel install kernel-ml kernel-ml-devel kernel-ml-headers kernel-ml-tools-libs gcc bzip2 make dkms perlĥ. yum remove kernel-devel kernel-headers kernel-tools-libsĤ. Then after reboot as root yum localinstall -y .noarch.rpm from kernel-ml (again, it won't let me paste the address).ģ. I will describe second option in details since I have included logs for that one.ġ.Box is installed Centos 7, installed using centos-minimal iso (won't let me post address to it on centos site).Ģ.Once the installation is completed, log into the guest, and do yum -y update and reboot after, Manually with VirtualBox (the usual, create new VM, attach install cdrom with iso) etc. Automated with packer (in case you are familiar with packer): my github account name is dekstroza and repo name is kubernetes-dev-stack see the packer configuration (won't let me paste address here)Ģ.
0 Comments
Leave a Reply. |