Fedora 44 packages for LinuxCNC (with PREEMPT_RT kernel)

More
4 months 3 weeks ago #346942 by NTULINUX
copr.fedorainfracloud.org/coprs/ntulinux/linuxcnc

As simple as:

Code:
sudo dnf install dnf-plugins-core sudo dnf copr enable ntulinux/linuxcnc sudo dnf install kernel-rt-lto linuxcnc

Optional:
Code:
sudo dnf install flexgui halviewer mesact

Tips and tricks:

Enable verbose boot, enable timeout/GRUB menu, disable SELinux to avoid relabeling when switching kernels:

Modify `/etc/default/grub` with elevated privileges and replace `rhgb quiet` with `selinux=0`

Make sure GRUB_CMDLINE_LINUX is not commented out.

Set GRUB_TIMEOUT=5 to give the user 5 seconds to select a kernel.

The final file should look something like:
Code:
GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="selinux=0" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true

You will also need to disable GRUB's hide menu feature:
Code:
sudo grub2-editenv - unset menu_auto_hide

Generate a new grub.cfg file:
Code:
sudo grub2-mkconfig -o /boot/grub2/grub.cfg

Speed up the boot process and keep NetworkManager from hanging:
Code:
sudo systemctl disable --now NetworkManager-wait-online.service

If you're using a desktop environment that can modify the CPU governor, it is highly recommended to set the power profile to performance. For example, in KDE, go to System -> System Settings -> Power Management. Change Balanced or Power Save to Performance.

Please let me know if you have any questions or comments!

Cheers!

Please Log in to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum