- Posts: 88
- Thank you received: 84
Fedora 44 packages for LinuxCNC (with PREEMPT_RT kernel)
- NTULINUX
- Topic Author
- Offline
- Premium Member
-
Less
More
4 months 3 weeks ago - 1 month 5 days ago #346942
by NTULINUX
Fedora 44 packages for LinuxCNC (with PREEMPT_RT kernel) was created by NTULINUX
copr.fedorainfracloud.org/coprs/ntulinux/linuxcnc
As simple as:
Optional:
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:
You will also need to disable GRUB's hide menu feature:
Generate a new grub.cfg file:
Speed up the boot process and keep NetworkManager from hanging:
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!
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!
Last edit: 1 month 5 days ago by NTULINUX. Reason: added more info
The following user(s) said Thank You: grandixximo, tommylight, Diegot, NWE
Please Log in or Create an account to join the conversation.
Time to create page: 0.063 seconds