Linux Mint 18.3 RT KernelΒΆ
Install Linux Mint 18.3 and build and install the RT-PREEMPT kernel for LinuxCNC Uspace.
Download Linux Mint 19.1 and burn to a DVD. I used Linux Mint 18.3 Mate (64-bit)
After installing open a terminal and update then download the RT kernel.
sudo apt-get update
sudo apt-get install -y build-essential bin86 kernel-package libssl-dev
sudo apt-get install -y libqt4-dev libncurses5-dev pkg-config
mkdir rtlinux
cd rtlinux
wget https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/linux-4.19.1.tar.xz
wget https://mirrors.edge.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patch-4.19.1-rt3.patch.gz
Now extract and patch the kernel.
tar -xpf linux-4.19.1.tar.xz
gunzip patch-4.19.1-rt3.patch.gz
cp patch-4.19.1-rt3.patch linux-4.19.1
cd linux-4.19.1
cat patch-4.19.1-rt3.patch | patch -p1
make xconfig
Use ctrl f and search for preempt. Select Fully Preemptible Kernel(RT) Save and close
Now build the kernel.
make
sudo make modules_install
sudo make install
If you get the following:
Warning: No support for locale: en_US.utf8
Then do the following.
sudo dpkg-reconfigure locales
sudo update-locale LANG=en_US.UTF-8
Finally add the grub customizer.
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer
Next Install LinuxCNC Uspace Linux Mint 18 LinuxCNC