Trying to make my generic Ubuntu to real time Ubuntu by modifying the kernel by patching / installing RT Linux but couldn\'t find a straight setup. Can someone help with the
After installing the new kernel (like @Abhay Nayak posted), I got into a kernel panic. The problem was that the initrd image was too big. I solved that with:
Step 1 - Strip the kernel modules
cd /lib/modules/
find . -name *.ko -exec strip --strip-unneeded {} +
Step 2 - Change the initramfs compression
Edit file /etc/initramfs-tools/initramfs.conf:
COMPRESS=xz
Step 3 - Update initramfs
sudo update-initramfs -u
sudo update-grub2