From the old Crunchbang [http://crunchbang.org/]:
"CrunchBang uses the Openbox window manager. Openbox is lightweight and speedy, and as a result, CrunchBang is fast. Also, whilst CrunchBang is not primarily designed for older systems, it has been reported to operate very well where system resources are limited. Once installed, CrunchBang should boot-up and operate faster than a regular Debian GNOME/KDE installation."
Old website now redirects to: https://www.bunsenlabs.org/
Crunchbang, a full Debian distribution outfitted with the lightweight window manager Openbox, is well suited to the higher end thin client hardware. Crunchbang utilises not only a lightweight desktop, but the standard installation creates a compact Debian system requiring less than 2GB of space. Installed to a Compact Flash card, it can transform a thin client into an inexpensive silent fanless desktop system. This article describes installing Crunchbang to a thin client based on an x86 processor and outfitted with a Compact Flash card.
The Crunchbang 10 (Statler) 32-bit version does not work with all x86 processors. The National Semiconductor/AMD Geode GX processors, and VIA C3 and Eden processors with Samuel and Ezra cores are not supported. However, AMD Geode NX processors, VIA C3 and Eden processors with Nehemiah cores, and all VIA C7 processors (Esther cores) are compatible. Technically speaking, Crunchbang utilises a non-PAE i686 kernel. A "non-PAE" kernel is compatible with all x86 processors. However an "i686" kernel utilises a specific processor instruction (cmov) not implemented on NS/AMD Geode GX processors, or VIA Samuel and Ezra cores.
256MB or more of RAM memory is required; 512MB is recommended. Processors clocked under 800 MHz can work but may be unusable for some tasks.
Crunchbang has been tested to install and operate on:
On these systems, Crunchbang provides a functional desktop with acceptable performance for web browsing, email, word processing, image editing, audio playback, file browsing and printing. It is not suited to video playback; video does play but the output can be choppy, especially when running full screen. Web pages with complex scripting can feel sluggish with 800MHz processors.
You will need:
Install the Compact Flash card in place of the existing flash memory of your thin client. This will require an appropriate cable and adapter unless your thin client is socketed for Compact Flash. While the stated minimum size card for a standard installation is 4GB (3.7GiB), it is possible to install to a 2GB (1.8GiB) card with some customisation. Use the section Small Installation for installing to a 2GB device.
Download the ISO installation image of the 32-bit stable version of Crunchbang 10 (Statler). Use the downloaded image to create a bootable USB flash drive according to directions at the Crunchbang website. Crunchbang 11 (Waldorf) is available for testing, but these instructions are specific to Crunchbang 10 (Statler). If you use them to install Waldorf, you may have to improvise. The Waldorf non-PAE installer "for older PCs" is suitable for any thin client and required for VIA processors with Nehemiah cores.
The following instructions are also suitable for installing Crunchbang to a 2.5" (laptop) IDE hard drive installed in a thin client.
This procedure creates a standard Crunchbang installation to an ext4 filesystem with a swap partition. The ext4 filesystem provides the best performance on Compact Flash devices of all linux filesystems (ext2, ext3, ext4). No special accommodations are made for write minimisation. The CF device should last more than a decade before the write capacity is exceeded. That said, Compact Flash devices are NOT as reliable as hard disk drives or solid-state drives. You are advised to implement and use a backup strategy for your installation.
Boot the thin client from the USB flash drive. It may be necessary to alter the BIOS setup to boot USB devices. (Try the DEL key with Neoware devices or the F10 key with HP devices to enter BIOS setup.) Once booted, follow these instructions:
Wait as the installer components are loaded.
Wait as the disk is formatted and files copied.
To create a small installation on a 2GB (1.8GiB) CF card, Crunchbang must be installed to a single partition occupying the entire device without a swap partition or file. To install to a single partition:
Wait as the installer components are loaded.
In the next sequence, you will manually partition your drive with a single ext4 partition using all the space WITHOUT any space devoted to a swap partition.
Wait as the disk is formatted and files copied.
Crunchbang barely fits on a 2GB device; there is not enough space to complete an update and upgrade. Unneeded packages should be removed to create work space before attempting to update and upgrade. Suggested packages to remove:
reiser4progs reiserfsprogs gnome-bluetooth libgnome-bluetooth7 bluez libbluetooth3 xcompmgr cairo-compmgr cairo-compmgr-core cairo-compmgr-plugins vlc gimp xfburn crunchbang-extra-themes tango-icon-theme human-icon-theme
If you manually configure your Ethernet connection, you can remove
the wifi tools, wifi firmware, and Network Manager as well. The package
ifplugd
makes a good replacement for automating Ethernet connections.
Clearing (aka cleaning) the apt cache will also free up additional space. Clear the apt cache by executing
the following command as root:
apt-get clean
Without swap space, the system can potentially run out of memory. However, Crunchbang starts up in only 80MB of memory, and the installed applications can be utilized without running out of memory if used in moderation. Occasionally, open programs may need to be shut down to run others. It is an acceptable compromise for a small device.
With some thin clients, the IDE interface often defaults to UDMA/33 speeds because the kernel drivers cannot detect an "80 conductor cable". (See here for more detail on this).
If the Compact Flash card you are using is rated higher than 200x or 30MBps should see some benefit by logging in as root and then:
/etc/default/grub
with your favourite text editor.GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX_DEFAULT="quiet libata.force=short40c"
update-grub
This article was contributed by Craig Oakes