Ask Klaus
Ask Klaus
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.
News
-
Endless OS 6 has Arrived
After more than a year since the last update, the latest release of Endless OS is now available for general usage.
-
Fedora Asahi 40 Remix Available for Macs with Apple Silicon
If you've been anticipating KDE's Plasma 6 for your Apple Silicon-powered Mac, then you're in luck.
-
Red Hat Adds New Deployment Option for Enterprise Linux Platforms
Red Hat has re-imagined enterprise Linux for an AI future with Image Mode.
-
OSJH and LPI Release 2024 Open Source Pros Job Survey Results
See what open source professionals look for in a new role.
-
Proton 9.0-1 Released to Improve Gaming with Steam
The latest release of Proton 9 adds several improvements and fixes an issue that has been problematic for Linux users.
-
So Long Neofetch and Thanks for the Info
Today is a day that every Linux user who enjoys bragging about their system(s) will mourn, as Neofetch has come to an end.
-
Ubuntu 24.04 Comes with a “Flaw"
If you're thinking you might want to upgrade from your current Ubuntu release to the latest, there's something you might want to consider before doing so.
-
Canonical Releases Ubuntu 24.04
After a brief pause because of the XZ vulnerability, Ubuntu 24.04 is now available for install.
-
Linux Servers Targeted by Akira Ransomware
A group of bad actors who have already extorted $42 million have their sights set on the Linux platform.
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.