jc-gentoo-portage - An opinionated, performance-oriented Gentoo Portage /etc/portage configuration

The jc-gentoo-portage repository houses an opinionated, performance-oriented Gentoo Portage (/etc/portage) configuration. This repository can be used as an inspiration to build a lean and fast Gentoo operating system. Features: Maximizes execution performance across the system by globally enabling xs, asm, orc, jit, and threads, forcing packages to use hand-written assembly routines and JIT compilation loops. Disables telemetry and remote RPC calls by globally setting -telemetry, -geoclue, -geolocation, -cloudproviders, -google, and -gnome-online-accounts. Optimizes Rust compiler outputs by enforcing modern instruction sets via target-cpu=native, opt-level=3, and strip=symbols. Links long-running daemons and high-throughput parsing utilities against jemalloc to guarantee flat memory profiles and … Continue reading

Installing Debian onto a separate partition from an existing distribution, such as Arch Linux or Gentoo, without using the Debian installer

There are various scenarios in which one might need to install a Debian-based system (e.g., Debian, Ubuntu, etc.) from another distribution (e.g., Arch Linux, Gentoo, Debian/Ubuntu distributions, Fedora, etc.). One common reason is when a user wants to set up a Debian-based system alongside an existing distribution. This could be for the purpose of testing software compatibility, development, or simply to have a dual-boot. A Debian-based distribution can be installed from any other distribution using debootstrap. The debootstrap command-line tool allows installing a Debian or Ubuntu base system within a subdirectory of an existing, installed system. Unlike traditional installation methods … Continue reading

Gentoo: How to Speed Up emerge ‐‐sync

Synchronizing with the Gentoo Portage ebuild repository using emerge --sync can be slow when utilizing the rsync protocol. However, an effective solution exists that can greatly improve the synchronization speed: Configuring emerge --sync to synchronize using Git instead. In this article, we will explore how to set up emerge to synchronize from the official Gentoo ebuild Git repository and save valuable time during the synchronizing process. Step 1: Install Git using the following command: Step 2: Remove any file from the directory /etc/portage/repos.conf/ that configures the emerge command to use rsync. Step 3: Create the file /etc/portage/repos.conf/gentoo.conf containing: Step 4: … Continue reading

Gentoo Linux and Genkernel: Unlocking a LUKS Encrypted LVM Root Partition at Boot Time using a Key File stored on an External USB Drive

Gentoo can be configured to use a key file stored on an external USB drive to unlock a LUKS encrypted LVM root partition. We will explore in this article the general steps involved in configuring Gentoo to use an external USB drive as a key file to unlock a LUKS encrypted LVM root partition. Note: The kernel boot parameters demonstrated in this guide (crypt_root, root_keydev, root_key, and dolvm) are specific to an initramfs generated by genkernel. If your system uses a different initramfs generator (e.g., Dracut), the required kernel parameters will differ. 1. Create a key file on the USB … Continue reading

Gentoo Linux: Printer driver for the Brother QL-1110NWB

Installing the printer driver for the Brother QL-1110NWB on Gentoo Linux can be a bit tricky, but thanks to a helpful ebuild written by James Cherti, the process becomes a breeze. The ebuild automates the whole process of downloading and installing the appropriate driver for the Brother QL-1110NWB on Gentoo Linux. Brother QL-111NWB Driver installation on Gentoo Create the file /etc/portage/repos.conf/motley-overlay.conf containing: Update the repository: Install the Brother QL-1110NWB printer driver: The ebuild will automatically download the necessary driver package from Brother and install it on your system. Finally, restart CUPS with: You can now register your new printer using … Continue reading