Knoppix 7.5
Live Linux
Knoppix 7.5 is based on the current development version of Debian GNU/Linux and comes with hardware support from kernel 3.18 including many updates and new features.
The DVD in this month's issue is the exclusive Linux Magazine Edition of Knoppix 7.5, released in conjunction with the CeBIT 2015 Exhibition and Conference for IT and Digital Business in Hannover, Germany. This newest release from Klaus Knopper incorporates a number of new features, including kernel 3.18.6, Xorg 7.7 with core server 1.16.2 for hardware support, a custom SysVinit package for boot up, a small 12MB "boot only" CD ISO for those who cannot boot from a USB flash drive, a menu entry for the ClamAV scanner, the Knock kernel patch, an SSH server and client with TCP Stealth support, a number of new packages, and updates to standard software.
Debian systemd
Although you can find reasons for and against the use of systemd
, the decision made by the Debian team to change the default boot system, along with tight integration by systemd
of many system services, has greatly increased the complexity of system startup and made adjustments to the process difficult, especially when compared with the relatively primitive SysVinit.
The boot system in Knoppix, essentially comprising a single startup script for hardware detection and parallel launching of critical system components (knoppix-autoconfig
) remains the same because it has its own SysVinit package. Systemd's own SysV replacement is not used in Knoppix, although the other systemd components are installed to resolve dependencies. This means that Knoppix boots up the same way it always has, unlike the Debian base since "jessie".
Installing Knoppix on a Flash Disk – Update
Knoppix tends to be installed on and launched from a USB stick rather than a regular DVD, especially now that many state-of-the-art ultrabooks no longer have a DVD drive. Although the DVD version is already read optimized, using a "sort list" in an attempt to reduce frequent, very slow positioning of the laser read head, flash memory accelerates the boot process and responsiveness of the system by at least a factor of five. This means that start times of less than 15 seconds, from loading the kernel to displaying the complete desktop (including Compiz), are possible, assuming fairly recent computer hardware and a fast USB flash drive are provided.
The Knoppix flash disk installation program flash-knoppix
checks the target USB stick for the presence of a legacy Knoppix installation and offers to replace only the compressed file system and kernel, rather than completely reinstall everything. Because software packages installed by the user might be incompatible with the new system, you also have the option to keep only personal data and settings (/home/knoppix
) or anything installed at a later date. (Although this is not recommended, it will – in some cases – save work during subsequent installations.)
For the update to work, you need to ensure – when you first install Knoppix on a USB stick – that the first partition has enough space to accommodate the contents of a DVD later on, even if the current version does not need as much space. Otherwise, you run the risk of not having enough space for an update later on. About 4.5GB should be sufficient for the first partition.
The writable second (Linux) partition for Knoppix can then occupy the remaining space on the data carrier. Symmetric encryption of the data partition with AES 256 is optionally available for sensitive user credentials (passwords for websites, network access, etc). This means that even if the USB stick is lost or stolen, your personal passwords and data are still protected.
At the technical level, cryptsetup
/dm-crypt
is now used instead of cryptoloop
because Debian has removed cryptoloop support from losetup
. This change is under the hood, however, and not visible to the user.
EFI and Hybrid Boot via CD + USB Flash
Booting directly from a USB flash disk is fast and convenient, because all changes and saved files are automatically written to the data partition. However, some computers still cannot boot from USB, either because they are too old and the BIOS does not support this option or because they have a firmware such as EFI, which complicates the process of, or prevents, booting from external disks.
Basically, Knoppix can also be started in EFI mode from a USB stick, because the first partition contains a folder named efi
with the necessary boot files. However, if the EFI firmware of the computer is set to Secure Boot, booting of operating systems other than those signed and "allowed" by the manufacturer is not possible. In this case, a BIOS setting of CSM, which should always exist on computers with EFI support, can help. CSM stands for "Compatibility Support Modules," but this actually translates to "Legacy start using a boot record and bootloader."
If you are still unable to boot from a USB flash disk, Knoppix 7.5 has an ISO image of a very small (12MB) "boot only" CD in the KNOPPIX
folder. You can burn this on a blank disk and, with its help, then boot the computer along with a pre-installed USB stick of the same version 7.5. After initially booting from the boot CD, the system switches over to the USB stick after a short time, and the boot process continues from there. This workaround works very well on most problematic computers, particularly for Macs with limited options for booting from external disks, even via EFI.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
New Linux Kernel Patch Allows Forcing a CPU Mitigation
Even when CPU mitigations can consume precious CPU cycles, it might not be a bad idea to allow users to enable them, even if your machine isn't vulnerable.
-
Red Hat Enterprise Linux 9.5 Released
Notify your friends, loved ones, and colleagues that the latest version of RHEL is available with plenty of enhancements.
-
Linux Sees Massive Performance Increase from a Single Line of Code
With one line of code, Intel was able to increase the performance of the Linux kernel by 4,000 percent.
-
Fedora KDE Approved as an Official Spin
If you prefer the Plasma desktop environment and the Fedora distribution, you're in luck because there's now an official spin that is listed on the same level as the Fedora Workstation edition.
-
New Steam Client Ups the Ante for Linux
The latest release from Steam has some pretty cool tricks up its sleeve.
-
Gnome OS Transitioning Toward a General-Purpose Distro
If you're looking for the perfectly vanilla take on the Gnome desktop, Gnome OS might be for you.
-
Fedora 41 Released with New Features
If you're a Fedora fan or just looking for a Linux distribution to help you migrate from Windows, Fedora 41 might be just the ticket.
-
AlmaLinux OS Kitten 10 Gives Power Users a Sneak Preview
If you're looking to kick the tires of AlmaLinux's upstream version, the developers have a purrfect solution.
-
Gnome 47.1 Released with a Few Fixes
The latest release of the Gnome desktop is all about fixing a few nagging issues and not about bringing new features into the mix.
-
System76 Unveils an Ampere-Powered Thelio Desktop
If you're looking for a new desktop system for developing autonomous driving and software-defined vehicle solutions. System76 has you covered.