Ask Klaus
Ask Klaus
![](/var/linux_magazin/storage/images/issues/2016/188/ask-klaus/knopper_klaus.png/672314-1-eng-US/Knopper_Klaus.png_medium.png)
Klaus Knopper answers your Linux questions.
UEFI Boot Problems
I just bought a new Lenovo Notebook, and I'm trying to start Knoppix from USB flash disk. Knoppix seems to start to a certain point, but then I get no graphics, just a black screen. None of the cheatcodes seem to help. What happens, how to fix?
With the recent versions, Knoppix supports booting on UEFI-enabled computers. However, the graphics card in UEFI boot mode is set to a VESA graphics mode by the firmware, not to "text mode" as known for non-UEFI systems. A visible indication of this is the missing boot logo and the fact that after the kernel has loaded, the usual text messages that indicate progress during the Knoppix boot are missing until the mode setting kicks in and resets the screen resolution. Because the graphics chipset had been in a VESA mode previously, the X server can fail to set the native resolution; hence, the "black screen" or system freeze effect that you observed.
The only workaround I found so far is disabling UEFI and reverting to Legacy or CSM (compatibility support module) boot mode, which re-enables text mode for the bootloader and puts the graphics card in a default mode that lets Xorg start normally. Some notebooks, especially MacBooks with DVD drives, do not boot in UEFI mode automatically when selecting to boot from CD or DVD. For this purpose, the Knoppix "boot-only" CD is useful. An ISO for the CD resides in the KNOPPIX
folder. The boot-only CD starts the bootloader and kernel from the CD, then searches for other drives that contain the KNOPPIX
folder (e.g., a USB flash disk), and continues booting from there.
Joining PDFs
Is there a simple way to concatenate several hundred PDF files into a single, continuous PDF under Linux?
The easiest way that requires no special program is using the PostScript/PDF interpreter Ghostscript directly. The original command line is somewhat lengthy, so I usually put this in a script (e.g., pdfcat.sh
):
#!/bin/bash gs -q -sPAPERSIZE=a4 -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=- "$@"
If you need a different paper size than A4 (e.g., letter), change the PAPERSIZE
option accordingly.
The syntax for concatenating all files in a directory is:
pdfcat.sh directory/*.pdf > all.pdf
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.
![Learn More](https://www.linux-magazine.com/var/linux_magazin/storage/images/media/linux-magazine-eng-us/images/misc/learn-more/834592-1-eng-US/Learn-More_medium.png)
News
-
Plasma 6.3 Ready for Public Beta Testing
Plasma 6.3 will ship with KDE Gear 24.12.1 and KDE Frameworks 6.10, along with some new and exciting features.
-
Budgie 10.10 Scheduled for Q1 2025 with a Surprising Desktop Update
If Budgie is your desktop environment of choice, 2025 is going to be a great year for you.
-
Firefox 134 Offers Improvements for Linux Version
Fans of Linux and Firefox rejoice, as there's a new version available that includes some handy updates.
-
Serpent OS Arrives with a New Alpha Release
After months of silence, Ikey Doherty has released a new alpha for his Serpent OS.
-
HashiCorp Cofounder Unveils Ghostty, a Linux Terminal App
Ghostty is a new Linux terminal app that's fast, feature-rich, and offers a platform-native GUI while remaining cross-platform.
-
Fedora Asahi Remix 41 Available for Apple Silicon
If you have an Apple Silicon Mac and you're hoping to install Fedora, you're in luck because the latest release supports the M1 and M2 chips.
-
Systemd Fixes Bug While Facing New Challenger in GNU Shepherd
The systemd developers have fixed a really nasty bug amid the release of the new GNU Shepherd init system.
-
AlmaLinux 10.0 Beta Released
The AlmaLinux OS Foundation has announced the availability of AlmaLinux 10.0 Beta ("Purple Lion") for all supported devices with significant changes.
-
Gnome 47.2 Now Available
Gnome 47.2 is now available for general use but don't expect much in the way of newness, as this is all about improvements and bug fixes.
-
Latest Cinnamon Desktop Releases with a Bold New Look
Just in time for the holidays, the developer of the Cinnamon desktop has shipped a new release to help spice up your eggnog with new features and a new look.