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
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.
-
Juno Tab 3 Launches with Ubuntu 24.04
Anyone looking for a full-blown Linux tablet need look no further. Juno has released the Tab 3.
-
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.