Klaus talks about some new features in the latest Knoppix

Remaster your Own Knoppix

When you copy Knoppix to a new USB flash disk using flash-knoppix, it is possible to include personal settings, additional programs, and configuration changes (Figure 3). All changes are compressed to a new overlay image inside the destination's KNOPPIX folder, thus minimizing the required space.

Figure 3: Remastering a custom Knoppix.

A teacher could, for example, install documents and exercises and make a new version containing these changes for the students. It's still easy to reset the modified Knoppix version to the original state by simply deleting the additional overlay file.

The code necessary for creating a new overlay on-the-fly from the running Knoppix system, excluding some unwanted files and cloop-compressing the image to the destination file, is shown in Listing 2.

Listing 2

Creating an Overlay

 

I'm somewhat surprised that the code in Listing 2 really worked right away. Apparently, it's sufficient to ignore temporary files and sockets in order to create the ISO filesystem stream for compression, and the cloop tool create_compressed_fs will pad missing data with zeros in order to always write full blocks.

UEFI Secure Boot Support

Knoppix has been coming with a signed UEFI secure bootloader for a while now, but this does not mean it will boot right away on computers with UEFI Secure Boot enabled in the firmware. On first boot with UEFI, a blue screen will be displayed (Figure 4), telling the user to enroll the file loader.efi into the secure boot configuration. This is not an error message, though it might look like one; don't give up yet!

Figure 4: Don't be discouraged by the blue screen: configuring a UEFI boot requires an extra step.

Just follow the instructions, which I describe in more detail online [5] . After this "enrollment" has been successfully conducted (it's only needed once to allow booting the Linux loader permanently), Knoppix will display its UEFI boot screen (without the usual penguin logo), and, in most cases, will continue to start up normally. In some cases, the boot procedure will be silent, because of missing text screen support in UEFI, until the graphical interface starts up.

Conclusion

Knoppix 8.1 is the latest update of the Debian-based Knoppix live distribution, which now comes as a single image for DVD and direct USB flash disk installation. For more information about the new release, see the Knoppix website.

Other Updates in Knoppix 8.1

  • LibreOffice 5.4.1, Gimp 2.8.20
  • Chromium 60.0.3112.78 and Firefox (Iceweasel) 55 web browser with uBlock Origin and NoScript security plugin
  • New programs: EtherApe (graphical network monitor), archivemount, Terminator (terminal emulator with many features)
  • New version of 3D window manager Compiz 0.9.13.1
  • LXDE (Default) with file manager PCManFM 1.2.5, KDE 5.8 (boot option knoppix desktop=kde), Gnome 3.24 (boot option knoppix desktop=gnome, DVD version only)
  • Wine v2.0.0 (git) for integration of Windows-based programs
  • qemu-kvm 2.8 for (para-)virtualization
  • Electrum 2.7.9 for managing Bitcoin wallets
  • Tiny boot-only CD image inside the KNOPPIX directory for computers that can only boot from CD but not from DVD or USB flash drive

Did You Know?

1. If you place a shell script called knoppix.sh inside the KNOPPIX folder on your flash-knoppix-generated Knoppix USB flash disk, it will be run automatically during startup.

2. You can start a single program instead of running the system initialization procedure, like the Bash shell or an editor, by adding

init=/bin/bash

or

init=/bin/vim

to the boot options after knoppix or knoppix64.

Infos

  1. Knoppix 8.1: http://knopper.net/knoppix/knoppix810-en.html
  2. Xorriso Project Page: https://www.gnu.org/software/xorriso/#download
  3. "Professor Knopper's Lab: Hybrid Image Mode" by Klaus Knopper, Linux Magazine, issue198, May 2017, http://www.linux-magazine.com/Issues/2017/198/Professor-Knopper-s-Lab-Hybrid-Image-Mode
  4. No Firefox ALSA Support: https://bugzilla.mozilla.org/show_bug.cgi?id=1345661
  5. Knoppix UEFI Support: http://knopper.net/knoppix/knoppix-uefi-en.html

The Author

Klaus Knopper is an engineer, creator of Knoppix, and cofounder of LinuxTag expo. He works as a regular professor at the University of Applied Sciences, Kaiserslautern, Germany.

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

  • 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.

  • Professor Knopper's Lab – Hybrid Image Mode

    As DVD drives disappear from modern notebook computers, Knoppix offers a hybrid image mode that works for both DVDs and flash drives.

  • Knoppix 6.3 Exclusive!

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

  • Ask Klaus

    What’s new in Knoppix 7.4?

  • Knoppix 7.5 CeBIT Edition

    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.

comments powered by Disqus
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.

Learn More

News