CRUX

Last updated
CRUX Linux
The Crux Linux Logo Cruxlogo.png
The Crux Linux Logo
CRUX screenshot.jpg
Screenshot KDE Desktop for Crux Linux OS (2007).
Developer Per Lidén and CRUX community
OS family Linux (Unix-like)
Working stateActive
Source model Open source
Initial releaseDecember 2002;21 years ago (2002-12)
Latest release 3.7 [1] / September 26, 2022;18 months ago (2022-09-26)
Update methodports
Package manager pkgutils [2]
Platforms x86-64
Kernel type Linux (Monolithic)
Userland GNU
Influenced Arch Linux
Default
user interface
Openbox
License Various
Official website crux.nu

CRUX is a lightweight x86-64 Linux distribution targeted at experienced Linux users and delivered by a tar.gz-based package system with BSD-style initscripts. It is not based on any other Linux distribution. [3] It also utilizes a ports system to install and upgrade applications. [4]

Contents

Although crux is the Latin word for "cross," the choice of the name "CRUX" itself has no meaning. Per Lidén chose it because it "sounded cool," and ends in "X" which puts it in line with various other Unix flavors such as IRIX, Ultrix, Mac OS X and IBM AIX. [5]

Installation

CRUX does not include a GUI installation program. Instead, the user boots the kernel stored on either a CD or diskette; partitions the hard disk drive(s) to which the operating system will be installed (using a program such as fdisk or cfdisk); creates the appropriate file systems on the various partitions; mounts the CD or NFS share along with the partitions made previously for use by the package installation script; compiles a new kernel; and installs a bootloader, all via shell commands. [6] [7]

Package management

CRUX implements an infrastructure similar to that of BSD-based operating systems for package management. Packages consist of a Pkgfile (which is a shell script), any patches required to adjust the program to work, md5sum hashes used to verify the integrity of the downloaded files and a footprint file listing the files to be included in the packages. These files are downloaded from a CRUX software repository, compiled, and installed using the prt-get frontend to pkgutils. [2] The software sources are downloaded from the websites of their respective upstream at the address specified in the Pkgfile.

Releases

x86 Release History
VersionDate
1.02002 December
1.12003 March
1.22003 August
1.32003 December
1.3.12004 February
2.02004 March
2.12005 April
2.22006 April
2.32007 March
2.42007 December
2.52008 December
2.62009 September
2.72010 October
2.7.12011 November
2.82012 October
3.02013 January
3.12014 July
3.22015 November
3.32017 February
3.42018 May
3.5 [8] 2019 June
3.6 [9] 2020 December
3.6.12020 December
3.72022 September

Reviews

Simone Rota reviewed CRUX for OSNews: [10]

Since to use CRUX you must compile your own kernel and modules, the hardware compatibility list is basically the same as the Linux kernel.(2.4.21 on the tested release). No third-party modules are available on the CD, in case of unsupported hardware the only option is to fetch the drivers from another machine. The bootable CD-Rom kernel is compiled with a relatively small set of options, that should be enough to boot the machine and proceed with installation.

Related Research Articles

<span class="mw-page-title-main">Linux distribution</span> Operating system based on the Linux kernel

A Linux distribution is an operating system made from a software collection that includes the Linux kernel and often a package management system. Linux users usually obtain their operating system by downloading one of the Linux distributions, which are available for a wide variety of systems ranging from embedded devices and personal computers to powerful supercomputers.

<span class="mw-page-title-main">Slackware</span> Linux distribution (operating system)

Slackware is a Linux distribution created by Patrick Volkerding in 1993. Originally based on Softlanding Linux System (SLS), Slackware has been the basis for many other Linux distributions, most notably the first versions of SUSE Linux distributions, and is the oldest distribution that is still maintained.

<span class="mw-page-title-main">Gentoo Linux</span> Linux distribution

Gentoo Linux is a Linux distribution built using the Portage package management system. Unlike a binary software distribution, the source code is compiled locally according to the user's preferences and is often optimized for the specific type of computer. Precompiled binaries are available for some packages. Gentoo runs on a wide variety of processors, including x86, PowerPC, SPARC, DEC Alpha, ARM, MIPS and PA-RISC.

<span class="mw-page-title-main">GoboLinux</span> Linux distribution

GoboLinux is a Linux distribution whose most prominent feature is a reorganization of the traditional Linux file system. Rather than following the Filesystem Hierarchy Standard like most Unix-like systems, each program in a GoboLinux system has its own subdirectory tree, where all of its files may be found. Thus, a program "Foo" has all of its specific files and libraries in /Programs/Foo, under the corresponding version of this program at hand. For example, the commonly known GCC compiler suite version 8.1.0, would reside under the directory /Programs/GCC/8.1.0.

<span class="mw-page-title-main">GNU GRUB</span> Boot loader package

GNU GRUB is a boot loader package from the GNU Project. GRUB is the reference implementation of the Free Software Foundation's Multiboot Specification, which provides a user the choice to boot one of multiple operating systems installed on a computer or select a specific kernel configuration available on a particular operating system's partitions.

<span class="mw-page-title-main">DragonFly BSD</span> Free and open-source Unix-like operating system

DragonFly BSD is a free and open-source Unix-like operating system forked from FreeBSD 4.8. Matthew Dillon, an Amiga developer in the late 1980s and early 1990s and FreeBSD developer between 1994 and 2003, began working on DragonFly BSD in June 2003 and announced it on the FreeBSD mailing lists on 16 July 2003.

<span class="mw-page-title-main">Portage (software)</span> Gentoo package management system

Portage is a package management system originally created for and used by Gentoo Linux and also by ChromeOS, Calculate, Sabayon, and Funtoo Linux among others. Portage is based on the concept of ports collections. Gentoo is sometimes referred to as a meta-distribution due to the extreme flexibility of Portage, which makes it operating-system-independent. The Gentoo/Alt project was concerned with using Portage to manage other operating systems, such as BSDs, macOS and Solaris. The most notable of these implementations is the Gentoo/FreeBSD project.

<span class="mw-page-title-main">Live CD</span> Complete, bootable computer installation that runs directly from a CD-ROM

A live CD is a complete bootable computer installation including operating system which runs directly from a CD-ROM or similar storage device into a computer's memory, rather than loading from a hard disk drive. A live CD allows users to run an operating system for any purpose without installing it or making any changes to the computer's configuration. Live CDs can run on a computer without secondary storage, such as a hard disk drive, or with a corrupted hard disk drive or file system, allowing data recovery.

<span class="mw-page-title-main">Arch Linux</span> Rolling release distribution of Linux

Arch Linux is an independently developed x86-64 general-purpose Linux distribution that strives to provide the latest stable versions of most software by following a rolling-release model. The default installation is intentionally minimal so that users can add only the packages they require.

<span class="mw-page-title-main">UEFI</span> Operating system and firmware specification

Unified Extensible Firmware Interface is a specification that defines the architecture of the platform firmware used for booting the computer hardware and its interface for interaction with the operating system. Examples of firmware that implement the specification are AMI Aptio, Phoenix SecureCore, TianoCore EDK II, InsydeH2O. UEFI replaces the BIOS which was present in the boot ROM of all personal computers that are IBM PC compatible, although it can provide backwards compatibility with the BIOS using CSM booting. Intel developed the original Extensible Firmware Interface (EFI) specification. Some of the EFI's practices and data formats mirror those of Microsoft Windows. In 2005, UEFI deprecated EFI 1.10.

Puppy Linux is an operating system and family of light-weight Linux distributions that focus on ease of use and minimal memory footprint. The entire system can be run from random-access memory (RAM) with current versions generally taking up about 600 MB (64-bit), 300 MB (32-bit), allowing the boot medium to be removed after the operating system has started. Applications such as AbiWord, Gnumeric and MPlayer are included, along with a choice of lightweight web browsers and a utility for downloading other packages. The distribution was originally developed by Barry Kauler and other members of the community, until Kauler retired in 2013. The tool Woof can build a Puppy Linux distribution from the binary packages of other Linux distributions.

<span class="mw-page-title-main">QEMU</span> Free virtualization and emulation software

QEMU is a free and open-source emulator. It emulates a computer's processor through dynamic binary translation and provides a set of different hardware and device models for the machine, enabling it to run a variety of guest operating systems. It can interoperate with Kernel-based Virtual Machine (KVM) to run virtual machines at near-native speed. QEMU can also do emulation for user-level processes, allowing applications compiled for one architecture to run on another.

In Linux systems, initrd is a scheme for loading a temporary root file system into memory, to be used as part of the Linux startup process. initrd and initramfs refer to two different methods of achieving this. Both are commonly used to make preparations before the real root file system can be mounted.

<span class="mw-page-title-main">Sabayon Linux</span> Gentoo-based Linux distribution

Sabayon Linux or Sabayon, was an Italian Gentoo-based Linux distribution created by Fabio Erculiani and the Sabayon development team. Sabayon followed the "out of the box" philosophy, aiming to give the user a wide number of applications ready to use and a self-configured operating system.

<span class="mw-page-title-main">FreeBSD</span> Free and open-source Unix-like operating system

FreeBSD is a free and open-source Unix-like operating system descended from the Berkeley Software Distribution (BSD). The first version of FreeBSD was released in 1993 developed from 386BSD and the current version runs on x86, ARM, PowerPC and RISC-V processors. The project is supported and promoted by the FreeBSD Foundation.

GNU variants are operating systems based upon the GNU operating system. According to the GNU project and others, these also include most operating systems using the Linux kernel and a few others using BSD-based kernels.

The Linux booting process involves multiple stages and is in many ways similar to the BSD and other Unix-style boot processes, from which it derives. Although the Linux booting process depends very much on the computer architecture, those architectures share similar stages and software components, including system startup, bootloader execution, loading and startup of a Linux kernel image, and execution of various startup scripts and daemons. Those are grouped into 4 steps: system startup, bootloader stage, kernel stage, and init process. When a Linux system is powered up or reset, its processor will execute a specific firmware/program for system initialization, such as Power-on self-test, invoking the reset vector to start a program at a known address in flash/ROM, then load the bootloader into RAM for later execution. In personal computer (PC), not only limited to Linux-distro PC, this firmware/program is called BIOS, which is stored in the mainboard. In embedded Linux system, this firmware/program is called boot ROM. After being loaded into RAM, bootloader will execute to load the second-stage bootloader. The second-stage bootloader will load the kernel image into memory, decompress and initialize it then pass control to this kernel image. Second-stage bootloader also performs several operation on the system such as system hardware check, mounting the root device, loading the necessary kernel modules, etc. Finally, the very first user-space process starts, and other high-level system initializations are performed.

<span class="mw-page-title-main">NetBSD</span> Free and open-source Unix-like operating system

NetBSD is a free and open-source Unix operating system based on the Berkeley Software Distribution (BSD). It was the first open-source BSD descendant officially released after 386BSD was forked. It continues to be actively developed and is available for many platforms, including servers, desktops, handheld devices, and embedded systems.

<span class="mw-page-title-main">Kwort Linux</span>

Kwort is a Linux distribution, based on CRUX. Kwort's desktop environment is Openbox.

References

  1. "CRUX 3.7 Released!". 26 September 2022. Archived from the original on 2022-10-03. Retrieved 2022-10-03.
  2. 1 2 "The Package System", Handbook, Crux.nu, archived from the original on January 22, 2013, retrieved January 19, 2013
  3. Loli, Eugenia. "Interview With the Creators of CRUX and Root Linux". OS News. Archived from the original on 27 May 2018. Retrieved 29 March 2016.
  4. HomePage, Crux.nu, archived from the original on August 13, 2001, retrieved January 19, 2013
  5. "6. Miscellaneous", FAQ, Crux.nu, July 22, 2008, archived from the original on February 20, 2008, retrieved March 26, 2012
  6. "Installing CRUX", Handbook, Crux.nu, archived from the original on May 27, 2010, retrieved March 26, 2012
  7. "NFSInstall", Wiki, Crux.nu, July 15, 2008, archived from the original on September 24, 2008, retrieved March 26, 2012
  8. "CRUX | Main / ReleaseNotes3-5". crux.nu. Archived from the original on 2021-05-12. Retrieved 2020-12-11.
  9. "CRUX | Main / ReleaseNotes3-6". crux.nu. Archived from the original on 2020-11-27. Retrieved 2020-12-11.
  10. Review: CRUX Linux Archived 2018-06-12 at the Wayback Machine , OSNews