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 KDE Slimbook Plasma Available for Preorder
Powered by an AMD Ryzen CPU, the latest KDE Slimbook laptop is powerful enough for local AI tasks.
-
Rhino Linux Announces Latest "Quick Update"
If you prefer your Linux distribution to be of the rolling type, Rhino Linux delivers a beautiful and reliable experience.
-
Plasma Desktop Will Soon Ask for Donations
The next iteration of Plasma has reached the soft feature freeze for the 6.2 version and includes a feature that could be divisive.
-
Linux Market Share Hits New High
For the first time, the Linux market share has reached a new high for desktops, and the trend looks like it will continue.
-
LibreOffice 24.8 Delivers New Features
LibreOffice is often considered the de facto standard office suite for the Linux operating system.
-
Deepin 23 Offers Wayland Support and New AI Tool
Deepin has been considered one of the most beautiful desktop operating systems for a long time and the arrival of version 23 has bolstered that reputation.
-
CachyOS Adds Support for System76's COSMIC Desktop
The August 2024 release of CachyOS includes support for the COSMIC desktop as well as some important bits for video.
-
Linux Foundation Adopts OMI to Foster Ethical LLMs
The Open Model Initiative hopes to create community LLMs that rival proprietary models but avoid restrictive licensing that limits usage.
-
Ubuntu 24.10 to Include the Latest Linux Kernel
Ubuntu users have grown accustomed to their favorite distribution shipping with a kernel that's not quite as up-to-date as other distros but that changes with 24.10.
-
Plasma Desktop 6.1.4 Release Includes Improvements and Bug Fixes
The latest release from the KDE team improves the KWin window and composite managers and plenty of fixes.