<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://openlunchbox.com/mw19/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=NTULINUX</id>
	<title>OpenLunchbox Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://openlunchbox.com/mw19/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=NTULINUX"/>
	<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php/Special:Contributions/NTULINUX"/>
	<updated>2026-10-23T16:41:03Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=94</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=94"/>
		<updated>2026-10-01T12:15:26Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* git (required for fetching the installer)&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
* Recent coreutils with b2sum&lt;br /&gt;
* OPTIONAL: syslinux (if burning SystemRescue) or syslinux-utils if using Debian&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 13/Trixie. Versions of Debian older than 13/Trixie may not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
For a UEFI installation of Gentoo, you must have UEFI runtime services available. This means that you must be booted into a UEFI enabled environment, such as SystemRescue in UEFI mode, or a Linux system booted with UEFI. Note that if you are already booted with UEFI but are running a PREEMPT_RT kernel, you must specify `efi=runtime` on the kernel command line. This is because by default, UEFI runtime services are disabled with PREEMPT_RT.&lt;br /&gt;
&lt;br /&gt;
To minimize confusion and possibly booting up with the wrong environment, it is recommended to disable CSM (Compatibility Support Module) completely if you intend on a UEFI installation. This way, the system cannot boot in legacy BIOS mode. On the other hand, if you wish to use legacy BIOS, make sure CSM is enabled and if applicable, disable UEFI boot support and specify, &amp;quot;Legacy OpROM.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue for the Gentoo installation, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If umount fails at all, you may have accidentally selected your root filesystem block device.'''&lt;br /&gt;
&lt;br /&gt;
The asterisk is a wild card and not a typo. This is so any partitions are unmounted first by `umount` before executing the `dd`.&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/&amp;lt;USB block device&amp;gt;*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/sdb*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
Once booted off the USB device with SystemRescue or from a currently working Debian 13/Trixie installation:&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
If using SystemRescue, the network configuration may need to be modified as it defaults to DHCP. You may either run `startx` and modify the network configuration graphically, or use `nmtui` to use the ncurses interface.&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
sudo/root privileges are required.&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device specified during installation will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
The image ships with linuxcnc-flexgui instead of linuxcnc. This is a git checkout of master of the last working commit with FlexGUI. If you want to use the latest version of `master` you will need to uninstall linuxcnc-flexgui and flexgui itself, then install the linuxcnc package.&lt;br /&gt;
&lt;br /&gt;
By default, a simple firewall (nftables) has been enabled. If this interferes with real-time over ethernet and you wish to fully and permanently disable the firewall, run:&lt;br /&gt;
&lt;br /&gt;
 sudo rc-service nftables stop&lt;br /&gt;
 sudo rc-update del nftables boot&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=93</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=93"/>
		<updated>2026-09-01T16:56:18Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* git (required for fetching the installer)&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
* Recent coreutils with b2sum&lt;br /&gt;
* OPTIONAL: syslinux (if burning SystemRescue) or syslinux-utils if using Debian&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 13/Trixie. Versions of Debian older than 13/Trixie may not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
For a UEFI installation of Gentoo, you must have UEFI runtime services available. This means that you must be booted into a UEFI enabled environment, such as SystemRescue in UEFI mode, or a Linux system booted with UEFI. Note that if you are already booted with UEFI but are running a PREEMPT_RT kernel, you must specify `efi=runtime` on the kernel command line. This is because by default, UEFI runtime services are disabled with PREEMPT_RT.&lt;br /&gt;
&lt;br /&gt;
To minimize confusion and possibly booting up with the wrong environment, it is recommended to disable CSM (Compatibility Support Module) completely if you intend on a UEFI installation. This way, the system cannot boot in legacy BIOS mode. On the other hand, if you wish to use legacy BIOS, make sure CSM is enabled and if applicable, disable UEFI boot support and specify, &amp;quot;Legacy OpROM.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue for the Gentoo installation, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If umount fails at all, you may have accidentally selected your root filesystem block device.'''&lt;br /&gt;
&lt;br /&gt;
The asterisk is a wild card and not a typo. This is so any partitions are unmounted first by `umount` before executing the `dd`.&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/&amp;lt;USB block device&amp;gt;*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/sdb*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
Once booted off the USB device with SystemRescue or from a currently working Debian 13/Trixie installation:&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
If using SystemRescue, the network configuration may need to be modified as it defaults to DHCP. You may either run `startx` and modify the network configuration graphically, or use `nmtui` to use the ncurses interface.&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
sudo/root privileges are required.&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device specified during installation will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
To update LinuxCNC against the latest master branch from git:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
The image ships with linuxcnc-flexgui instead of linuxcnc. This is a git checkout of master of the last working commit with FlexGUI. If you want to use the latest version of `master` please use the linuxcnc package instead.&lt;br /&gt;
&lt;br /&gt;
By default, a simple firewall (nftables) has been enabled. If this interferes with real-time over ethernet and you wish to fully and permanently disable the firewall, run:&lt;br /&gt;
&lt;br /&gt;
 sudo rc-service nftables stop&lt;br /&gt;
 sudo rc-update del nftables boot&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=92</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=92"/>
		<updated>2026-09-01T16:55:36Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* git (required for fetching the installer)&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
* Recent coreutils with b2sum&lt;br /&gt;
* OPTIONAL: syslinux (if burning SystemRescue) or syslinux-utils if using Debian&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 13/Trixie. Versions of Debian older than 13/Trixie may not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
For a UEFI installation of Gentoo, you must have UEFI runtime services available. This means that you must be booted into a UEFI enabled environment, such as SystemRescue in UEFI mode, or a Linux system booted with UEFI. Note that if you are already booted with UEFI but are running a PREEMPT_RT kernel, you must specify `efi=runtime` on the kernel command line. This is because by default, UEFI runtime services are disabled with PREEMPT_RT.&lt;br /&gt;
&lt;br /&gt;
To minimize confusion and possibly booting up with the wrong environment, it is recommended to disable CSM (Compatibility Support Module) completely if you intend on a UEFI installation. This way, the system cannot boot in legacy BIOS mode. On the other hand, if you wish to use legacy BIOS, make sure CSM is enabled and if applicable, disable UEFI boot support and specify, &amp;quot;Legacy OpROM.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue for the Gentoo installation, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If umount fails at all, you may have accidentally selected your root filesystem block device.'''&lt;br /&gt;
&lt;br /&gt;
The asterisk is a wild card and not a typo. This is so any partitions are unmounted first by `umount` before executing the `dd`.&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/&amp;lt;USB block device&amp;gt;*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/sdb*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
Once booted off the USB device with SystemRescue or from a currently working Debian 13/Trixie installation:&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
If using SystemRescue, the network configuration may need to be modified as it defaults to DHCP. You may either run `startx` and modify the network configuration graphically, or use `nmtui` to use the ncurses interface.&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
sudo/root privileges are required.&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device specified during installation will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
To update LinuxCNC against the latest master branch from git:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
By default, the image ships with linuxcnc-flexgui instead of linuxcnc. This is a git checkout of `master` of the last working commit with FlexGUI. If you want to use the latest version of `master` please use the linuxcnc package instead.&lt;br /&gt;
&lt;br /&gt;
By default, a simple firewall (nftables) has been enabled. If this interferes with real-time over ethernet and you wish to fully and permanently disable the firewall, run:&lt;br /&gt;
&lt;br /&gt;
 sudo rc-service nftables stop&lt;br /&gt;
 sudo rc-update del nftables boot&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=79</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=79"/>
		<updated>2026-05-19T16:40:33Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* git (required for fetching the installer)&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
* Recent coreutils with b2sum&lt;br /&gt;
* OPTIONAL: syslinux (if burning SystemRescue) or syslinux-utils if using Debian&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 13/Trixie. Versions of Debian older than 13/Trixie may not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
For a UEFI installation of Gentoo, you must have UEFI runtime services available. This means that you must be booted into a UEFI enabled environment, such as SystemRescue in UEFI mode, or a Linux system booted with UEFI. Note that if you are already booted with UEFI but are running a PREEMPT_RT kernel, you must specify `efi=runtime` on the kernel command line. This is because by default, UEFI runtime services are disabled with PREEMPT_RT.&lt;br /&gt;
&lt;br /&gt;
To minimize confusion and possibly booting up with the wrong environment, it is recommended to disable CSM (Compatibility Support Module) completely if you intend on a UEFI installation. This way, the system cannot boot in legacy BIOS mode. On the other hand, if you wish to use legacy BIOS, make sure CSM is enabled and if applicable, disable UEFI boot support and specify, &amp;quot;Legacy OpROM.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue for the Gentoo installation, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If umount fails at all, you may have accidentally selected your root filesystem block device.'''&lt;br /&gt;
&lt;br /&gt;
The asterisk is a wild card and not a typo. This is so any partitions are unmounted first by `umount` before executing the `dd`.&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/&amp;lt;USB block device&amp;gt;*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/sdb*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
Once booted off the USB device with SystemRescue or from a currently working Debian 13/Trixie installation:&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
If using SystemRescue, the network configuration may need to be modified as it defaults to DHCP. You may either run `startx` and modify the network configuration graphically, or use `nmtui` to use the ncurses interface.&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
sudo/root privileges are required.&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device specified during installation will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
To update LinuxCNC against the latest master branch from git:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
By default, a simple firewall (nftables) has been enabled. If this interferes with real-time over ethernet and you wish to fully and permanently disable the firewall, run:&lt;br /&gt;
&lt;br /&gt;
 sudo rc-service nftables stop&lt;br /&gt;
 sudo rc-update del nftables boot&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=78</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=78"/>
		<updated>2026-05-19T16:20:15Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* git (required for fetching the installer)&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
* Recent coreutils with b2sum&lt;br /&gt;
* OPTIONAL: syslinux (if burning SystemRescue) or syslinux-utils if using Debian&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 12/Bookworm. Versions of Debian older than 12/Bookworm will not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
For a UEFI installation of Gentoo, you must have UEFI runtime services available. This means that you must be booted into a UEFI enabled environment, such as SystemRescue in UEFI mode, or a Linux system booted with UEFI. Note that if you are already booted with UEFI but are running a PREEMPT_RT kernel, you must specify `efi=runtime` on the kernel command line. This is because by default, UEFI runtime services are disabled with PREEMPT_RT.&lt;br /&gt;
&lt;br /&gt;
To minimize confusion and possibly booting up with the wrong environment, it is recommended to disable CSM (Compatibility Support Module) completely if you intend on a UEFI installation. This way, the system cannot boot in legacy BIOS mode. On the other hand, if you wish to use legacy BIOS, make sure CSM is enabled and if applicable, disable UEFI boot support and specify, &amp;quot;Legacy OpROM.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue for the Gentoo installation, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If umount fails at all, you may have accidentally selected your root filesystem block device.'''&lt;br /&gt;
&lt;br /&gt;
The asterisk is a wild card and not a typo. This is so any partitions are unmounted first by `umount` before executing the `dd`.&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/&amp;lt;USB block device&amp;gt;*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/sdb*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
Once booted off the USB device with SystemRescue or from a currently working Debian 12/Bookworm installation:&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
If using SystemRescue, the network configuration may need to be modified as it defaults to DHCP. You may either run `startx` and modify the network configuration graphically, or use `nmtui` to use the ncurses interface.&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
sudo/root privileges are required.&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device specified during installation will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
To update LinuxCNC against the latest master branch from git:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
By default, a simple firewall (nftables) has been enabled. If this interferes with real-time over ethernet and you wish to fully and permanently disable the firewall, run:&lt;br /&gt;
&lt;br /&gt;
 sudo rc-service nftables stop&lt;br /&gt;
 sudo rc-update del nftables boot&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=77</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=77"/>
		<updated>2026-05-19T16:19:02Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* git (required for fetching the installer)&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
* b3sum&lt;br /&gt;
* OPTIONAL: syslinux (if burning SystemRescue) or syslinux-utils if using Debian&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 12/Bookworm. Versions of Debian older than 12/Bookworm will not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
For a UEFI installation of Gentoo, you must have UEFI runtime services available. This means that you must be booted into a UEFI enabled environment, such as SystemRescue in UEFI mode, or a Linux system booted with UEFI. Note that if you are already booted with UEFI but are running a PREEMPT_RT kernel, you must specify `efi=runtime` on the kernel command line. This is because by default, UEFI runtime services are disabled with PREEMPT_RT.&lt;br /&gt;
&lt;br /&gt;
To minimize confusion and possibly booting up with the wrong environment, it is recommended to disable CSM (Compatibility Support Module) completely if you intend on a UEFI installation. This way, the system cannot boot in legacy BIOS mode. On the other hand, if you wish to use legacy BIOS, make sure CSM is enabled and if applicable, disable UEFI boot support and specify, &amp;quot;Legacy OpROM.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue for the Gentoo installation, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If umount fails at all, you may have accidentally selected your root filesystem block device.'''&lt;br /&gt;
&lt;br /&gt;
The asterisk is a wild card and not a typo. This is so any partitions are unmounted first by `umount` before executing the `dd`.&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/&amp;lt;USB block device&amp;gt;*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/sdb*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
Once booted off the USB device with SystemRescue or from a currently working Debian 12/Bookworm installation:&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
If using SystemRescue, the network configuration may need to be modified as it defaults to DHCP. You may either run `startx` and modify the network configuration graphically, or use `nmtui` to use the ncurses interface.&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
sudo/root privileges are required.&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device specified during installation will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
To update LinuxCNC against the latest master branch from git:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
By default, a simple firewall (nftables) has been enabled. If this interferes with real-time over ethernet and you wish to fully and permanently disable the firewall, run:&lt;br /&gt;
&lt;br /&gt;
 sudo rc-service nftables stop&lt;br /&gt;
 sudo rc-update del nftables boot&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=74</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=74"/>
		<updated>2025-03-03T17:58:32Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* git (required for fetching the installer)&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
* b3sum&lt;br /&gt;
* OPTIONAL: syslinux (if burning SystemRescue) or syslinux-utils if using Debian&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 12/Bookworm. Versions of Debian older than 12/Bookworm will not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
For a UEFI installation of Gentoo, you must have UEFI runtime services available. This means that you must be booted into a UEFI enabled environment, such as SystemRescue in UEFI mode, or a Linux system booted with UEFI. Note that if you are already booted with UEFI but are running a PREEMPT_RT kernel, you must specify `efi=runtime` on the kernel command line. This is because by default, UEFI runtime services are disabled with PREEMPT_RT.&lt;br /&gt;
&lt;br /&gt;
To minimize confusion and possibly booting up with the wrong environment, it is recommended to disable CSM (Compatibility Support Module) completely if you intend on a UEFI installation. This way, the system cannot boot in legacy BIOS mode. On the other hand, if you wish to use legacy BIOS, make sure CSM is enabled and if applicable, disable UEFI boot support and specify, &amp;quot;Legacy OpROM.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue for the Gentoo installation, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI (Recommended) ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If umount fails at all, you may have accidentally selected your root filesystem block device.'''&lt;br /&gt;
&lt;br /&gt;
The asterisk is a wild card and not a typo. This is so any partitions are unmounted first by `umount` before executing the `dd`.&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/&amp;lt;USB block device&amp;gt;*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/sdb*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
Once booted off the USB device with SystemRescue or from a currently working Debian 12/Bookworm installation:&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
If using SystemRescue, the network configuration may need to be modified as it defaults to DHCP. You may either run `startx` and modify the network configuration graphically, or use `nmtui` to use the ncurses interface.&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
sudo/root privileges are required.&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device specified during installation will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH and PYTHONPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;br /&gt;
&lt;br /&gt;
By default, a simple firewall (nftables) has been enabled. If you wish to fully and permanently disable the firewall, run:&lt;br /&gt;
&lt;br /&gt;
 sudo rc-service nftables clear&lt;br /&gt;
 sudo rc-service nftables stop&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=73</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=73"/>
		<updated>2025-03-03T03:22:13Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: /* Running the installer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* git (required for fetching the installer)&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
* b3sum&lt;br /&gt;
* OPTIONAL: syslinux (if burning SystemRescue) or syslinux-utils if using Debian&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 12/Bookworm. Versions of Debian older than 12/Bookworm will not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
For a UEFI installation of Gentoo, you must have UEFI runtime services available. This means that you must be booted into a UEFI enabled environment, such as SystemRescue in UEFI mode, or a Linux system booted with UEFI. Note that if you are already booted with UEFI but are running a PREEMPT_RT kernel, you must specify `efi=runtime` on the kernel command line. This is because by default, UEFI runtime services are disabled with PREEMPT_RT.&lt;br /&gt;
&lt;br /&gt;
To minimize confusion and possibly booting up with the wrong environment, it is recommended to disable CSM (Compatibility Support Module) completely if you intend on a UEFI installation. This way, the system cannot boot in legacy BIOS mode. On the other hand, if you wish to use legacy BIOS, make sure CSM is enabled and if applicable, disable UEFI boot support and specify, &amp;quot;Legacy OpROM.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue for the Gentoo installation, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI (Recommended) ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If umount fails at all, you may have accidentally selected your root filesystem block device.'''&lt;br /&gt;
&lt;br /&gt;
The asterisk is a wild card and not a typo. This is so any partitions are unmounted first by `umount` before executing the `dd`.&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/&amp;lt;USB block device&amp;gt;*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/sdb*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
Once booted off the USB device with SystemRescue or from a currently working Debian 12/Bookworm installation:&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
If using SystemRescue, the network configuration may need to be modified as it defaults to DHCP. You may either run `startx` and modify the network configuration graphically, or use `nmtui` to use the ncurses interface.&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
sudo/root privileges are required.&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device specified during installation will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH and PYTHONPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;br /&gt;
&lt;br /&gt;
By default, a simple firewall (nftables) has been enabled. If you wish to fully and permanently disable the firewall, run:&lt;br /&gt;
&lt;br /&gt;
 sudo rc-service nftables clear&lt;br /&gt;
 sudo rc-service nftables stop&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=72</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=72"/>
		<updated>2025-03-03T03:21:13Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: add b3sum&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* git (required for fetching the installer)&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
* b3sum&lt;br /&gt;
* OPTIONAL: syslinux (if burning SystemRescue) or syslinux-utils if using Debian&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 12/Bookworm. Versions of Debian older than 12/Bookworm will not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
For a UEFI installation of Gentoo, you must have UEFI runtime services available. This means that you must be booted into a UEFI enabled environment, such as SystemRescue in UEFI mode, or a Linux system booted with UEFI. Note that if you are already booted with UEFI but are running a PREEMPT_RT kernel, you must specify `efi=runtime` on the kernel command line. This is because by default, UEFI runtime services are disabled with PREEMPT_RT.&lt;br /&gt;
&lt;br /&gt;
To minimize confusion and possibly booting up with the wrong environment, it is recommended to disable CSM (Compatibility Support Module) completely if you intend on a UEFI installation. This way, the system cannot boot in legacy BIOS mode. On the other hand, if you wish to use legacy BIOS, make sure CSM is enabled and if applicable, disable UEFI boot support and specify, &amp;quot;Legacy OpROM.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue for the Gentoo installation, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI (Recommended) ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If umount fails at all, you may have accidentally selected your root filesystem block device.'''&lt;br /&gt;
&lt;br /&gt;
The asterisk is a wild card and not a typo. This is so any partitions are unmounted first by `umount` before executing the `dd`.&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/&amp;lt;USB block device&amp;gt;*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/sdb*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
Once booted off the USB device with SystemRescue or from a currently working Debian 12/Bookworm installation:&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
If using SystemRescue, the network configuration may need to be modified as it defaults to DHCP. You may either run `startx` and modify the network configuration graphically, or use `nmtui` to use the ncurses interface.&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device specified during installation will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH and PYTHONPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;br /&gt;
&lt;br /&gt;
By default, a simple firewall (nftables) has been enabled. If you wish to fully and permanently disable the firewall, run:&lt;br /&gt;
&lt;br /&gt;
 sudo rc-service nftables clear&lt;br /&gt;
 sudo rc-service nftables stop&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=71</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=71"/>
		<updated>2025-01-13T05:47:18Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: minor change&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* git (required for fetching the installer)&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
* OPTIONAL: syslinux (if burning SystemRescue) or syslinux-utils if using Debian&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 12/Bookworm. Versions of Debian older than 12/Bookworm will not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
For a UEFI installation of Gentoo, you must have UEFI runtime services available. This means that you must be booted into a UEFI enabled environment, such as SystemRescue in UEFI mode, or a Linux system booted with UEFI. Note that if you are already booted with UEFI but are running a PREEMPT_RT kernel, you must specify `efi=runtime` on the kernel command line. This is because by default, UEFI runtime services are disabled with PREEMPT_RT.&lt;br /&gt;
&lt;br /&gt;
To minimize confusion and possibly booting up with the wrong environment, it is recommended to disable CSM (Compatibility Support Module) completely if you intend on a UEFI installation. This way, the system cannot boot in legacy BIOS mode. On the other hand, if you wish to use legacy BIOS, make sure CSM is enabled and if applicable, disable UEFI boot support and specify, &amp;quot;Legacy OpROM.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue for the Gentoo installation, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI (Recommended) ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If umount fails at all, you may have accidentally selected your root filesystem block device.'''&lt;br /&gt;
&lt;br /&gt;
The asterisk is a wild card and not a typo. This is so any partitions are unmounted first by `umount` before executing the `dd`.&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/&amp;lt;USB block device&amp;gt;*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/sdb*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
Once booted off the USB device with SystemRescue or from a currently working Debian 12/Bookworm installation:&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
If using SystemRescue, the network configuration may need to be modified as it defaults to DHCP. You may either run `startx` and modify the network configuration graphically, or use `nmtui` to use the ncurses interface.&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device specified during installation will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH and PYTHONPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;br /&gt;
&lt;br /&gt;
By default, a simple firewall (nftables) has been enabled. If you wish to fully and permanently disable the firewall, run:&lt;br /&gt;
&lt;br /&gt;
 sudo rc-service nftables clear&lt;br /&gt;
 sudo rc-service nftables stop&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=70</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=70"/>
		<updated>2025-01-13T05:44:47Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: add dependency&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* git (required for fetching the installer)&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
* OPTIONAL: syslinux (if burning SystemRescue) or syslinux-utils if using Debian&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 12/Bookworm. Versions of Debian older than 12/Bookworm will not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
For a UEFI installation of Gentoo, you must have UEFI runtime services available. This means that you must be booted into a UEFI enabled environment, such as SystemRescue in UEFI mode, or a Linux system booted with UEFI. Note that if you are already booted with UEFI but are running a PREEMPT_RT kernel, you must specify `efi=runtime` on the kernel command line. This is because by default, UEFI runtime services are disabled with PREEMPT_RT.&lt;br /&gt;
&lt;br /&gt;
To minimize confusion and possibly booting up with the wrong environment, it is recommended to disable CSM (Compatibility Support Module) completely if you intend on a UEFI installation. This way, the system cannot boot in legacy BIOS mode. On the other hand, if you wish to use legacy BIOS, make sure CSM is enabled and if applicable, disable UEFI boot support and specify, &amp;quot;Legacy OpROM.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue for the Gentoo installation, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI (Recommended) ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If umount fails at all, you may have accidentally selected your root filesystem block device.'''&lt;br /&gt;
&lt;br /&gt;
The asterisk is a wild card and not a typo. This is so any partitions are unmounted first by `umount` before executing the `dd`.&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/&amp;lt;USB block device&amp;gt;*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/sdb*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
Once booted off the USB device with SystemRescue or from a currently working Debian 12/Bookworm installation:&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
If using SystemRescue, the network configuration may need to be modified as it defaults to DHCP. You may either run `startx` and modify the network configuration graphically, or use `nmtui` to use the ncurses interface.&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device specified during installation will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;br /&gt;
&lt;br /&gt;
By default, a simple firewall (nftables) has been enabled. If you wish to fully and permanently disable the firewall, run:&lt;br /&gt;
&lt;br /&gt;
 sudo rc-service nftables clear&lt;br /&gt;
 sudo rc-service nftables stop&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=69</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=69"/>
		<updated>2025-01-13T05:42:46Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: firewall notes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
* OPTIONAL: syslinux (if burning SystemRescue) or syslinux-utils if using Debian&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 12/Bookworm. Versions of Debian older than 12/Bookworm will not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
For a UEFI installation of Gentoo, you must have UEFI runtime services available. This means that you must be booted into a UEFI enabled environment, such as SystemRescue in UEFI mode, or a Linux system booted with UEFI. Note that if you are already booted with UEFI but are running a PREEMPT_RT kernel, you must specify `efi=runtime` on the kernel command line. This is because by default, UEFI runtime services are disabled with PREEMPT_RT.&lt;br /&gt;
&lt;br /&gt;
To minimize confusion and possibly booting up with the wrong environment, it is recommended to disable CSM (Compatibility Support Module) completely if you intend on a UEFI installation. This way, the system cannot boot in legacy BIOS mode. On the other hand, if you wish to use legacy BIOS, make sure CSM is enabled and if applicable, disable UEFI boot support and specify, &amp;quot;Legacy OpROM.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue for the Gentoo installation, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI (Recommended) ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If umount fails at all, you may have accidentally selected your root filesystem block device.'''&lt;br /&gt;
&lt;br /&gt;
The asterisk is a wild card and not a typo. This is so any partitions are unmounted first by `umount` before executing the `dd`.&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/&amp;lt;USB block device&amp;gt;*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/sdb*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
Once booted off the USB device with SystemRescue or from a currently working Debian 12/Bookworm installation:&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
If using SystemRescue, the network configuration may need to be modified as it defaults to DHCP. You may either run `startx` and modify the network configuration graphically, or use `nmtui` to use the ncurses interface.&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device specified during installation will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;br /&gt;
&lt;br /&gt;
By default, a simple firewall (nftables) has been enabled. If you wish to fully and permanently disable the firewall, run:&lt;br /&gt;
&lt;br /&gt;
 sudo rc-service nftables clear&lt;br /&gt;
 sudo rc-service nftables stop&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=68</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=68"/>
		<updated>2025-01-13T05:09:51Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: /* Burning SystemRescue to USB */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
* OPTIONAL: syslinux (if burning SystemRescue) or syslinux-utils if using Debian&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 12/Bookworm. Versions of Debian older than 12/Bookworm will not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
For a UEFI installation of Gentoo, you must have UEFI runtime services available. This means that you must be booted into a UEFI enabled environment, such as SystemRescue in UEFI mode, or a Linux system booted with UEFI. Note that if you are already booted with UEFI but are running a PREEMPT_RT kernel, you must specify `efi=runtime` on the kernel command line. This is because by default, UEFI runtime services are disabled with PREEMPT_RT.&lt;br /&gt;
&lt;br /&gt;
To minimize confusion and possibly booting up with the wrong environment, it is recommended to disable CSM (Compatibility Support Module) completely if you intend on a UEFI installation. This way, the system cannot boot in legacy BIOS mode. On the other hand, if you wish to use legacy BIOS, make sure CSM is enabled and if applicable, disable UEFI boot support and specify, &amp;quot;Legacy OpROM.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue for the Gentoo installation, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI (Recommended) ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If umount fails at all, you may have accidentally selected your root filesystem block device.'''&lt;br /&gt;
&lt;br /&gt;
The asterisk is a wild card and not a typo. This is so any partitions are unmounted first by `umount` before executing the `dd`.&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/&amp;lt;USB block device&amp;gt;*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/sdb*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
Once booted off the USB device with SystemRescue or from a currently working Debian 12/Bookworm installation:&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
If using SystemRescue, the network configuration may need to be modified as it defaults to DHCP. You may either run `startx` and modify the network configuration graphically, or use `nmtui` to use the ncurses interface.&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device specified during installation will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=67</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=67"/>
		<updated>2025-01-13T05:08:36Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: minor changes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
* OPTIONAL: syslinux (if burning SystemRescue) or syslinux-utils if using Debian&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 12/Bookworm. Versions of Debian older than 12/Bookworm will not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== OPTIONAL: Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
For a UEFI installation of Gentoo, you must have UEFI runtime services available. This means that you must be booted into a UEFI enabled environment, such as SystemRescue in UEFI mode, or a Linux system booted with UEFI. Note that if you are already booted with UEFI but are running a PREEMPT_RT kernel, you must specify `efi=runtime` on the kernel command line. This is because by default, UEFI runtime services are disabled with PREEMPT_RT.&lt;br /&gt;
&lt;br /&gt;
To minimize confusion and possibly booting up with the wrong environment, it is recommended to disable CSM (Compatibility Support Module) completely if you intend on a UEFI installation. This way, the system cannot boot in legacy BIOS mode. On the other hand, if you wish to use legacy BIOS, make sure CSM is enabled and if applicable, disable UEFI boot support and specify, &amp;quot;Legacy OpROM.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue for the Gentoo installation, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI (Recommended) ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-11.03-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If umount fails at all, you may have accidentally selected your root filesystem block device.'''&lt;br /&gt;
&lt;br /&gt;
The asterisk is a wild card and not a typo. This is so any partitions are unmounted first by `umount` before executing the `dd`.&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/&amp;lt;USB block device&amp;gt;*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/sdb*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
Once booted off the USB device with SystemRescue or from a currently working Debian 12/Bookworm installation:&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
If using SystemRescue, the network configuration may need to be modified as it defaults to DHCP. You may either run `startx` and modify the network configuration graphically, or use `nmtui` to use the ncurses interface.&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device specified during installation will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=66</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=66"/>
		<updated>2023-10-11T10:18:50Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 12/Bookworm. Versions of Debian older than 12/Bookworm will not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
After downloading the iso, you must install syslinux. On Debian, syslinux-utils is required instead. This is to modify the iso to ensure the boot works properly.&lt;br /&gt;
&lt;br /&gt;
For a UEFI installation of Gentoo, you must have UEFI runtime services available. This means that you must be booted into a UEFI enabled environment, such as SystemRescue in UEFI mode, or a Linux system booted with UEFI. Note that if you are already booted with UEFI but are running a PREEMPT_RT kernel, you must specify `efi=runtime` on the kernel command line. This is because by default, UEFI runtime services are disabled with PREEMPT_RT.&lt;br /&gt;
&lt;br /&gt;
To minimize confusion and possibly booting up with the wrong environment, it is recommended to disable CSM (Compatibility Support Module) completely if you intend on a UEFI installation. This way, the system cannot boot in legacy BIOS mode. On the other hand, if you wish to use legacy BIOS, make sure CSM is enabled and if applicable, disable UEFI boot support and specify, &amp;quot;Legacy OpROM.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue for the Gentoo installation, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI (Recommended) ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If umount fails at all, you may have accidentally selected your root filesystem block device.'''&lt;br /&gt;
&lt;br /&gt;
The asterisk is a wild card and not a typo. This is so any partitions are unmounted first by `umount` before executing the `dd`.&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/&amp;lt;USB block device&amp;gt;*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/sdb*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
Once booted off the USB device with SystemRescue or from a currently working Debian 12/Bookworm installation:&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
If using SystemRescue, the network configuration may need to be modified as it defaults to DHCP. You may either run `startx` and modify the network configuration graphically, or use `nmtui` to use the ncurses interface.&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device specified during installation will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=65</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=65"/>
		<updated>2023-10-11T10:16:46Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 12/Bookworm. Versions of Debian older than 12/Bookworm will not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
After downloading the iso, you must install syslinux. On Debian, syslinux-utils is required instead. This is to modify the iso to ensure the boot works properly.&lt;br /&gt;
&lt;br /&gt;
For a UEFI installation of Gentoo, you must have UEFI runtime services available. This means that you must be booted into a UEFI enabled environment, such as SystemRescue in UEFI mode, or a Linux system booted with UEFI. Note that if you are already booted with UEFI but are running a PREEMPT_RT kernel, you must specify `efi=runtime` on the kernel command line. This is because by default, UEFI runtime services are disabled with PREEMPT_RT.&lt;br /&gt;
&lt;br /&gt;
To minimize confusion and possibly booting up with the wrong environment, it is recommended to disable CSM (Compatibility Support Module) completely if you intend on a UEFI installation. This way, the system cannot boot in legacy BIOS mode. On the other hand, if you wish to use legacy BIOS, make sure CSM is enabled and if applicable, disable UEFI boot support and specify, &amp;quot;Legacy OpROM.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI (Recommended) ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If umount fails at all, you may have accidentally selected your root filesystem block device.'''&lt;br /&gt;
&lt;br /&gt;
The asterisk is a wild card and not a typo. This is so any partitions are unmounted first by `umount` before executing the `dd`.&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/&amp;lt;USB block device&amp;gt;*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/sdb*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
Once booted off the USB device with SystemRescue or from a currently working Debian 12/Bookworm installation:&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
If using SystemRescue, the network configuration may need to be modified as it defaults to DHCP. You may either run `startx` and modify the network configuration graphically, or use `nmtui` to use the ncurses interface.&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device specified during installation will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=64</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=64"/>
		<updated>2023-10-11T09:50:37Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 12/Bookworm. Versions of Debian older than 12/Bookworm will not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
After downloading the iso, you must install syslinux. On Debian, syslinux-utils is required instead. This is to modify the iso to ensure the boot works properly.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI (Recommended) ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If umount fails at all, you may have accidentally selected your root filesystem block device.'''&lt;br /&gt;
&lt;br /&gt;
The asterisk is a wild card and not a typo. This is so any partitions are unmounted first by `umount` before executing the `dd`.&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/&amp;lt;USB block device&amp;gt;*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/sdb*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
Once booted off the USB device with SystemRescue or from a currently working Debian 12/Bookworm installation:&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
If using SystemRescue, the network configuration may need to be modified as it defaults to DHCP. You may either run `startx` and modify the network configuration graphically, or use `nmtui` to use the ncurses interface.&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
For a UEFI installation of Gentoo, you must have UEFI runtime services available. This means that you must be booted into a UEFI enabled environment, such as SystemRescue in UEFI mode, or a Linux system booted with UEFI. Note that if you are already booted with UEFI but are running a PREEMPT_RT kernel, you must specify `efi=runtime` on the kernel command line. This is because by default, UEFI runtime services are disabled with PREEMPT_RT.&lt;br /&gt;
&lt;br /&gt;
To minimize confusion and possibly booting up with the wrong environment, it is recommended to disable CSM (Compatibility Support Module) completely if you intend on a UEFI installation. This way, the system cannot boot in legacy BIOS mode. On the other hand, if you wish to use legacy BIOS, make sure CSM is enabled and if applicable, disable UEFI boot support and specify, &amp;quot;Legacy OpROM.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device specified during installation will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=63</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=63"/>
		<updated>2023-10-11T09:49:54Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 12/Bookworm. Versions of Debian older than 12/Bookworm will not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
After downloading the iso, you must install syslinux. On Debian, syslinux-utils is required instead. This is to modify the iso to ensure the boot works properly.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI (Recommended) ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If umount fails at all, you may have accidentally selected your root filesystem block device.'''&lt;br /&gt;
&lt;br /&gt;
The asterisk is a wild card and not a typo. This is so any partitions are unmounted first by `umount` before executing the `dd`.&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/&amp;lt;USB block device&amp;gt;*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/sdb*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
Once booted off the USB device with SystemRescue or from a currently working Debian 12/Bookworm installation:&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
If using SystemRescue, the network configuration may need to be modified as it defaults to DHCP. You may either run `startx` and modify the network configuration graphically, or use `nmtui` to use the ncurses interface.&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
For a UEFI installation of Gentoo, you must have UEFI runtime services available. This means that you must be booted into a UEFI enabled environment, such as SystemRescue in UEFI mode, or a Linux system booted with UEFI. Note that if you are already booted with UEFI but are running a PREEMPT_RT kernel, you must specify `efi=runtime` on the kernel command line. This is because by default, UEFI runtime services are disabled with PREEMPT_RT.&lt;br /&gt;
&lt;br /&gt;
To minimize confusion and possibly booting up with the wrong environment, it is recommended to disable CSM (Compatibility Support Module) completely if you intend on a UEFI installation. This way, the system cannot boot in legacy BIOS mode. On the other hand, if you wish to use legacy BIOS, make sure CSM is enabled and if applicable, disable UEFI boot support and specify Legacy OpROM only.&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device specified during installation will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=62</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=62"/>
		<updated>2023-10-11T09:47:54Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: UEFI+legacy note&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 12/Bookworm. Versions of Debian older than 12/Bookworm will not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
After downloading the iso, you must install syslinux. On Debian, syslinux-utils is required instead. This is to modify the iso to ensure the boot works properly.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI (Recommended) ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If umount fails at all, you may have accidentally selected your root filesystem block device.'''&lt;br /&gt;
&lt;br /&gt;
The asterisk is a wild card and not a typo. This is so any partitions are unmounted first by `umount` before executing the `dd`.&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/&amp;lt;USB block device&amp;gt;*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/sdb*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
Once booted off the USB device with SystemRescue or from a currently working Debian 12/Bookworm installation:&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
If using SystemRescue, the network configuration may need to be modified as it defaults to DHCP. You may either run `startx` and modify the network configuration graphically, or use `nmtui` to use the ncurses interface.&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
For a UEFI installation of Gentoo, you must have UEFI runtime services available. This means that you must be booted into a UEFI enabled environment, such as SystemRescue in UEFI mode, or a Linux system booted with UEFI. Note that if you are already booted with UEFI but are running a PREEMPT_RT kernel, you must specify `efi=runtime` on the kernel command line. This is because by default, UEFI runtime services are disabled with PREEMPT_RT.&lt;br /&gt;
&lt;br /&gt;
To minimize confusion and possibly booting up with the wrong environment, it is recommended to disable CSM completely if you intend on a UEFI installation. This way, the system cannot boot in legacy BIOS mode. On the other hand, if you wish to use legacy BIOS, make sure CSM is enabled and if applicable, disable UEFI boot support.&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device specified during installation will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=61</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=61"/>
		<updated>2023-10-11T08:18:17Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: Add UEFI note&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 12/Bookworm. Versions of Debian older than 12/Bookworm will not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
After downloading the iso, you must install syslinux. On Debian, syslinux-utils is required instead. This is to modify the iso to ensure the boot works properly.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI (Recommended) ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If umount fails at all, you may have accidentally selected your root filesystem block device.'''&lt;br /&gt;
&lt;br /&gt;
The asterisk is a wild card and not a typo. This is so any partitions are unmounted first by `umount` before executing the `dd`.&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/&amp;lt;USB block device&amp;gt;*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/sdb*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
Once booted off the USB device with SystemRescue or from a currently working Debian 12/Bookworm installation:&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
If using SystemRescue, the network configuration may need to be modified as it defaults to DHCP. You may either run `startx` and modify the network configuration graphically, or use `nmtui` to use the ncurses interface.&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
For a UEFI installation of Gentoo, you must have UEFI runtime services available. This means that you must be booted into a UEFI enabled environment, such as SystemRescue in UEFI mode, or a Linux system booted with UEFI. Note that if you are already booted with UEFI but are running a PREEMPT_RT kernel, you must specify `efi=runtime` on the kernel command line. This is because by default, UEFI runtime services are disabled with PREEMPT_RT.&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device specified during installation will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=60</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=60"/>
		<updated>2023-10-11T06:24:41Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: systemrescue note&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 12/Bookworm. Versions of Debian older than 12/Bookworm will not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
After downloading the iso, you must install syslinux. On Debian, syslinux-utils is required instead. This is to modify the iso to ensure the boot works properly.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI (Recommended) ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If umount fails at all, you may have accidentally selected your root filesystem block device.'''&lt;br /&gt;
&lt;br /&gt;
The asterisk is a wild card and not a typo. This is so any partitions are unmounted first by `umount` before executing the `dd`.&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/&amp;lt;USB block device&amp;gt;*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/sdb*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
Once booted off the USB device with SystemRescue or from a currently working Debian 12/Bookworm installation:&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
If using SystemRescue, the network configuration may need to be modified as it defaults to DHCP. You may either run `startx` and modify the network configuration graphically, or use `nmtui` to use the ncurses interface.&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device specified during installation will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=59</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=59"/>
		<updated>2023-10-11T06:21:40Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: /* Burning SystemRescue to USB */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 12/Bookworm. Versions of Debian older than 12/Bookworm will not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
After downloading the iso, you must install syslinux. On Debian, syslinux-utils is required instead. This is to modify the iso to ensure the boot works properly.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI (Recommended) ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If umount fails at all, you may have accidentally selected your root filesystem block device.'''&lt;br /&gt;
&lt;br /&gt;
The asterisk is a wild card and not a typo. This is so any partitions are unmounted first by `umount` before executing the `dd`.&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/&amp;lt;USB block device&amp;gt;*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/sdb*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device specified during installation will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=58</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=58"/>
		<updated>2023-10-11T06:11:20Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: add yet another warning&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 12/Bookworm. Versions of Debian older than 12/Bookworm will not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
After downloading the iso, you must install syslinux. On Debian, syslinux-utils is required instead. This is to modify the iso to ensure the boot works properly.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI (Recommended) ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If umount fails at all, you may have accidentally selected your root filesystem block device.'''&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/&amp;lt;USB block device&amp;gt;*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 umount /dev/sdb*&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device specified during installation will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=57</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=57"/>
		<updated>2023-10-11T06:07:03Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: /* Running the installer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 12/Bookworm. Versions of Debian older than 12/Bookworm will not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
After downloading the iso, you must install syslinux. On Debian, syslinux-utils is required instead. This is to modify the iso to ensure the boot works properly.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI (Recommended) ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device specified during installation will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=56</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=56"/>
		<updated>2023-10-11T06:06:08Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: /* Running the installer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 12/Bookworm. Versions of Debian older than 12/Bookworm will not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
After downloading the iso, you must install syslinux. On Debian, syslinux-utils is required instead. This is to modify the iso to ensure the boot works properly.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI (Recommended) ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device specified during installation will be removed!'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=55</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=55"/>
		<updated>2023-10-11T06:03:19Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: /* Running the installer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 12/Bookworm. Versions of Debian older than 12/Bookworm will not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
After downloading the iso, you must install syslinux. On Debian, syslinux-utils is required instead. This is to modify the iso to ensure the boot works properly.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI (Recommended) ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
If you wish to use the same USB device as SystemRescue, you must use the &amp;quot;copytoram&amp;quot; function. This can be selected when first booting into SystemRescue at the GRUB menu.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: Theoretically, it should be possible to boot the Gentoo image off a USB device when specifying legacy BIOS during the install, however it fails to boot on the author's system. It is therefore suggested to specify UEFI during the installation for USB devices.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: For NVMe devices, UEFI is required.'''&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=54</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=54"/>
		<updated>2023-10-11T05:54:20Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: /* Prerequisites */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
All of these are included in SystemRescue however these can all be installed on Debian 12/Bookworm. Versions of Debian older than 12/Bookworm will not work.&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
After downloading the iso, you must install syslinux. On Debian, syslinux-utils is required instead. This is to modify the iso to ensure the boot works properly.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=53</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=53"/>
		<updated>2023-10-11T05:48:12Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
After downloading the iso, you must install syslinux. On Debian, syslinux-utils is required instead. This is to modify the iso to ensure the boot works properly.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=52</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=52"/>
		<updated>2023-10-11T05:47:23Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: It is strongly advised to backup all data before proceeding!'''&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
After downloading the iso, you must install syslinux. On Debian, syslinux-utils is required instead. This is to modify the iso to ensure the boot works properly.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=51</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=51"/>
		<updated>2023-10-11T05:44:32Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: /* Burning SystemRescue to USB */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
After downloading the iso, you must install syslinux. On Debian, syslinux-utils is required instead. This is to modify the iso to ensure the boot works properly.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target.&lt;br /&gt;
&lt;br /&gt;
Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=50</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=50"/>
		<updated>2023-10-11T05:43:53Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: Major update&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Downloading SystemRescue ==&lt;br /&gt;
&lt;br /&gt;
If you intend on using SystemRescue, download the latest version from here:&lt;br /&gt;
&lt;br /&gt;
https://www.system-rescue.org/Download/&lt;br /&gt;
&lt;br /&gt;
After downloading the iso, you must install syslinux. On Debian, syslinux-utils is required instead. This is to modify the iso to ensure the boot works properly.&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for UEFI ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid --uefi /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
=== SystemRescue for Legacy BIOS ===&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 &amp;lt;path-to-System-Rescue.iso&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 isohybrid -s 63 -h 255 /home/lcnc/systemrescue-10.02-amd64.iso&lt;br /&gt;
&lt;br /&gt;
== Burning SystemRescue to USB ==&lt;br /&gt;
&lt;br /&gt;
Before inserting the USB device that will be used as SystemRescue, as root, run:&lt;br /&gt;
&lt;br /&gt;
 fdisk -l&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&lt;br /&gt;
 lsblk&lt;br /&gt;
&lt;br /&gt;
To list available block devices.&lt;br /&gt;
&lt;br /&gt;
After inserting the USB device, re-run the same command again. The device that did not appear before is most likely the intended target. Do not specify a partition. If for example you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
&lt;br /&gt;
Then after plugging in the USB device, you have:&lt;br /&gt;
&lt;br /&gt;
 /dev/sda1&lt;br /&gt;
 /dev/sda2&lt;br /&gt;
 /dev/sda3&lt;br /&gt;
 /dev/sdb1&lt;br /&gt;
 /dev/sdb2&lt;br /&gt;
&lt;br /&gt;
You would likely use /dev/sdb as the USB device.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: All data on the device will be destroyed so proceed with caution!'''&lt;br /&gt;
&lt;br /&gt;
As root, run:&lt;br /&gt;
&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/&amp;lt;USB block device&amp;gt; bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 dd if=/path/to/system-rescue.iso of=/dev/sdb bs=8M oflag=sync status=progress&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=49</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=49"/>
		<updated>2023-10-11T05:26:43Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=48</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=48"/>
		<updated>2023-10-11T05:26:22Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* GRUB&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If using SystemRescue, any block device will easily be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=45</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=45"/>
		<updated>2023-10-05T04:04:03Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* GRUB&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue and it is strongly advised to use the latest version. Debian Bookworm also has the required versions of these tools but due to Debian's aggressive automounting, the installer script may fail. The installer is designed to handle all mounting and unmounting by itself. If you attempt to select a device that is currently in-use, such as your current Debian system, the script will error out.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If using SystemRescue, any block device except the live system will be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any and all devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=44</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=44"/>
		<updated>2023-10-05T04:02:57Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* GRUB&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue and it is strongly advised to use the latest version. Debian Bookworm also has the required versions of these tools but due to Debian's aggressive automounting, the installer script may fail. The installer is designed to handle all mounting and unmounting by itself. If you attempt to select a device that is currently in-use, such as your current Debian system, the script will error out.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If using SystemRescue, any block device except the live system will be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any devices that you will not be using for the install in advance.'''&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=43</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=43"/>
		<updated>2023-10-05T04:01:04Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* GRUB&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue and it is strongly advised to use the latest version. Debian Bookworm also has the required versions of these tools but due to Debian's aggressive automounting, the installer script may fail. The installer is designed to handle all mounting and unmounting by itself. If you attempt to select a device that is currently in-use, such as your current Debian system, the script will error out.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If using SystemRescue, any block device except the live system will be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data. To ensure the integrity of your data, unplug any devices that you will not be using for the install.'''&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=42</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=42"/>
		<updated>2023-10-05T03:59:47Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* GRUB&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue and it is strongly advised to use the latest version. Debian Bookworm also has the required versions of these tools but due to Debian's aggressive automounting, the installer script may fail. The installer is designed to handle all mounting and unmounting by itself. If you attempt to select a device that is currently in-use, such as your current Debian system, the script will error out.&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT: If using SystemRescue, any block device except the live system will be susceptible to destruction. It is your responsibility to ensure the correct device is selected upon execution! The author of this wiki and the installer is not responsible for any damages or loss of data.'''&lt;br /&gt;
&lt;br /&gt;
There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=41</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=41"/>
		<updated>2023-09-13T22:53:49Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* GRUB&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue and it is strongly advised to use the latest version. Debian Bookworm also has the required versions of these tools but due to Debian's aggressive automounting, the installer script may fail. The installer is designed to handle all mounting and unmounting by itself. If you attempt to select a device that is currently in-use, such as your current Debian system, the script will error out. Several checks are in-place to ensure your current root filesystem will not be affected. There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
 sudo emerge --sync&lt;br /&gt;
 sudo emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=Main_Page&amp;diff=40</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=Main_Page&amp;diff=40"/>
		<updated>2023-09-13T22:43:33Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [https://openlunchbox.com OpenLunchbox]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;MediaWiki&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Consult the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents User's Guide] for information on using the wiki software.&lt;br /&gt;
&lt;br /&gt;
== Installing Gentoo for LinuxCNC ==&lt;br /&gt;
*  [https://openlunchbox.com/mw19/index.php/HOWTO:_Gentoo_for_LinuxCNC Gentoo for LinuxCNC]&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=Main_Page&amp;diff=39</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=Main_Page&amp;diff=39"/>
		<updated>2023-09-13T22:42:07Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: /* Installing Gentoo for LinuxCNC */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [https://openlunchbox.com OpenLunchbox]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;MediaWiki&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Consult the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents User's Guide] for information on using the wiki software.&lt;br /&gt;
&lt;br /&gt;
== Installing Gentoo for LinuxCNC ==&lt;br /&gt;
* https://openlunchbox.com/mw19/index.php/HOWTO:_Gentoo_for_LinuxCNC&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=Main_Page&amp;diff=38</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=Main_Page&amp;diff=38"/>
		<updated>2023-09-13T22:40:49Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [https://openlunchbox.com OpenLunchbox]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;MediaWiki&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Consult the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents User's Guide] for information on using the wiki software.&lt;br /&gt;
&lt;br /&gt;
== Installing Gentoo for LinuxCNC ==&lt;br /&gt;
* [https://openlunchbox.com/mw19/index.php/HOWTO:_Gentoo_for_LinuxCNC]&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_Images&amp;diff=37</id>
		<title>HOWTO: Gentoo Images</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_Images&amp;diff=37"/>
		<updated>2023-09-13T22:40:31Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: NTULINUX moved page HOWTO: Gentoo Images to HOWTO: Gentoo for LinuxCNC&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[HOWTO: Gentoo for LinuxCNC]]&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=36</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=36"/>
		<updated>2023-09-13T22:40:31Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: NTULINUX moved page HOWTO: Gentoo Images to HOWTO: Gentoo for LinuxCNC&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* GRUB&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue and it is strongly advised to use the latest version. Debian Bookworm also has the required versions of these tools but due to Debian's aggressive automounting, the installer script may fail. The installer is designed to handle all mounting and unmounting by itself. If you attempt to select a device that is currently in-use, such as your current Debian system, the script will error out. Several checks are in-place to ensure your current root filesystem will not be affected. There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
 emerge --sync&lt;br /&gt;
 emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=35</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=35"/>
		<updated>2023-09-13T22:39:51Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: /* Running the installer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* GRUB&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue and it is strongly advised to use the latest version. Debian Bookworm also has the required versions of these tools but due to Debian's aggressive automounting, the installer script may fail. The installer is designed to handle all mounting and unmounting by itself. If you attempt to select a device that is currently in-use, such as your current Debian system, the script will error out. Several checks are in-place to ensure your current root filesystem will not be affected. There is no support for RAID or LVM configurations.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
Upon installation, you will be asked some questions in regards to UEFI or legacy BIOS for GRUB, filesystem type and filesystem sizes. If you specify any erroneous options, or a filesystem size that is too large for the block device, the script will fail.&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
 emerge --sync&lt;br /&gt;
 emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=Main_Page&amp;diff=34</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=Main_Page&amp;diff=34"/>
		<updated>2023-09-13T22:35:28Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [https://openlunchbox.com OpenLunchbox]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;MediaWiki&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Consult the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents User's Guide] for information on using the wiki software.&lt;br /&gt;
&lt;br /&gt;
== Installing Gentoo for LinuxCNC ==&lt;br /&gt;
* [https://openlunchbox.com/mw19/index.php/HOWTO:_Gentoo_Images HOWTO: Gentoo Images]&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=Main_Page&amp;diff=33</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=Main_Page&amp;diff=33"/>
		<updated>2023-09-13T22:34:46Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [https://openlunchbox.com OpenLunchbox]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;MediaWiki&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Consult the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents User's Guide] for information on using the wiki software.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing Gentoo for LinuxCNC ==&lt;br /&gt;
* [https://openlunchbox.com/mw19/index.php/HOWTO:_Gentoo_Images HOWTO: Gentoo Images]&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=32</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=32"/>
		<updated>2023-09-13T22:27:21Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* GRUB&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue and it is strongly advised to use the latest version. Debian Bookworm also has the required versions of these tools but due to Debian's aggressive automounting, the installer script may fail. The installer is designed to handle all mounting and unmounting by itself.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
 emerge --sync&lt;br /&gt;
 emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set.&lt;br /&gt;
&lt;br /&gt;
LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=31</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=31"/>
		<updated>2023-09-13T22:26:35Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* GRUB&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue and it is strongly advised to use the latest version. Debian Bookworm also has the required versions of these tools but due to Debian's aggressive automounting, the installer script may fail. The installer is designed to handle all mounting and unmounting by itself.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system (~1.2GB of data.)&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
 ./installer.sh&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
You should see a message if the program ran successfully. Reboot and select the Gentoo installation media.&lt;br /&gt;
&lt;br /&gt;
The password for root and lcnc (the regular Linux user) is: gentoo-cnc123&lt;br /&gt;
&lt;br /&gt;
Use NetworkManager to add or modify network settings. A working internet connection is required for the remaining steps. Due to licensing restrictions (something to do with GNU readline) LinuxCNC cannot be pre-packaged in binary form.&lt;br /&gt;
&lt;br /&gt;
You will need to run the following to compile and install LinuxCNC:&lt;br /&gt;
 emerge --sync&lt;br /&gt;
 emerge linuxcnc&lt;br /&gt;
&lt;br /&gt;
After installation, you must log out and log back in again for the new environment variables (TCLLIBPATH) to be set. LinuxCNC will show up under &amp;quot;Accessories&amp;quot; in the applications menu, as well as latency histogram, latency-test and some others.&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=30</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=30"/>
		<updated>2023-09-13T22:11:14Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: /* Running the installer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* GRUB&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue and it is strongly advised to use the latest version. Debian Bookworm also has the required versions of these tools but due to Debian's aggressive automounting, the installer script may fail. The installer is designed to handle all mounting and unmounting by itself.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system.&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, run the following three commands:&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
 ./installer.sh&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
	<entry>
		<id>https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=29</id>
		<title>HOWTO: Gentoo for LinuxCNC</title>
		<link rel="alternate" type="text/html" href="https://openlunchbox.com/mw19/index.php?title=HOWTO:_Gentoo_for_LinuxCNC&amp;diff=29"/>
		<updated>2023-09-13T22:10:36Z</updated>

		<summary type="html">&lt;p&gt;NTULINUX: /* Running the installer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
For using the installer, you must have the following:&lt;br /&gt;
&lt;br /&gt;
* btrfs-progs&lt;br /&gt;
* dosfstools&lt;br /&gt;
* e2fsprogs&lt;br /&gt;
* f2fs-tools&lt;br /&gt;
* GRUB&lt;br /&gt;
* parted&lt;br /&gt;
* xfsprogs&lt;br /&gt;
&lt;br /&gt;
All of these are included in SystemRescue and it is strongly advised to use the latest version. Debian Bookworm also has the required versions of these tools but due to Debian's aggressive automounting, the installer script may fail. The installer is designed to handle all mounting and unmounting by itself.&lt;br /&gt;
&lt;br /&gt;
A working internet connection is also required. This is not only to fetch the installer, but also because the installer downloads the required files for the Gentoo system.&lt;br /&gt;
&lt;br /&gt;
== Fetching the installer ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, simply run:&lt;br /&gt;
 git clone https://github.com/NTULINUX/gentoo_backup.git&lt;br /&gt;
 cd gentoo_backup	&lt;br /&gt;
 git checkout linuxcnc&lt;br /&gt;
&lt;br /&gt;
== Running the installer ==&lt;br /&gt;
Once you are in the gentoo_backup directory, simply run:&lt;br /&gt;
 ./installer.sh&lt;/div&gt;</summary>
		<author><name>NTULINUX</name></author>
	</entry>
</feed>