Knoppix 7.5

Live Linux

Article from Issue 173/2015
Author(s):

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

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • This Month's DVD

    Linux Magazine exclusive Knoppix 7.5

  • Knoppix 6.3 Exclusive!

    Knoppix creator (and Q&A mastermind) Klaus Knopper shares some insights on the latest release.

  • Knoppix 7.3

    Knoppix 7.3 comprises the current state of Debian GNU/Linux development and comes with the current hardware support of kernel 3.13, a new update function, and extended security and privacy features.

  • On the DVD: Knoppix 6.7

    This month’s Linux Magazine DVD features the brand new Knoppix 6.7 Live distro [1] [2]. With its clever on-the-fly decompression, Knoppix manages to store 9GB of software on a single-layer DVD.

  • On the DVD: Knoppix 7.0

    This month’s Linux Magazine DVD is the brand new Knoppix 7.0 Live distro in 32- and 64-bit options.

comments powered by Disqus

Direct Download

Read full article as PDF:

Price $2.95

News

njobs Europe
What:
Where:
Country:
Njobs Netherlands Njobs Deutschland Njobs United Kingdom Njobs Italia Njobs France Njobs Espana Njobs Poland
Njobs Austria Njobs Denmark Njobs Belgium Njobs Czech Republic Njobs Mexico Njobs India Njobs Colombia