Install RT Linux patch for Ubuntu

后端 未结 3 1870
Happy的楠姐
Happy的楠姐 2020-12-07 23:57

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

3条回答
  •  温柔的废话
    2020-12-07 23:59

    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
    

提交回复
热议问题