mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-08 23:19:31 +00:00
Currently on a LFS system booted via legacy BIOS (intead of UEFI), the users can make two different configurations: 1. The DRM driver for the GPU is built as a module. Then before the module is loaded (i.e. the root fs is properly mounted) the kernel messages are displayed via the VGA console. 2. The DRM driver for the GPU is built into the kernel image. Then the kernel messages are displayed via the DRM-emulated framebuffer console since a very early stage (before the root fs is properly mounted). When the system is booted via UEFI, we use SimpleDRM on the EFI framebuffer for displaying kernel messages, thus it's always the case 2. Both are not good for diagnostic in case the root fs cannot be mounted properly (it's very frequent on lfs-support): - With 1 the VGA console can only fit 80x24 characters, so the relevent information is often flushed away. - With 2 the panic message is often displayed improperly when a DRM driver is running. The "DRM panic" feature introduced since Linux 6.11 (but it'll only become usable for LFS since Linux 6.12) can fix the case 2, while case 1 just cannot be fixed. So start to make LFS booted via legacy BIOS to use method 2 now, then we can enable DRM panic and fix this long-standing issue. |
||
---|---|---|
appendices | ||
bootscripts | ||
chapter01 | ||
chapter02 | ||
chapter03 | ||
chapter04 | ||
chapter05 | ||
chapter06 | ||
chapter07 | ||
chapter08 | ||
chapter09 | ||
chapter10 | ||
chapter11 | ||
images | ||
part3intro | ||
prologue | ||
stylesheets | ||
udev-lfs | ||
.gitignore | ||
aux-file-data.sh | ||
gen-changelog.py | ||
general.ent | ||
git-version.sh | ||
index.xml | ||
INSTALL | ||
lfs-latest-git.php | ||
lfs-latest.php | ||
make-aux-files.sh | ||
Makefile | ||
obfuscate.sh | ||
packages.ent | ||
patches.ent | ||
pdf-fixups.sh | ||
process-scripts.sh | ||
README | ||
tidy.conf |
LFS Book README This document is meant to instruct the user on how to convert the book's XML source to other formats (e.g. HTML, PDF, PS and TXT). First, if you have not already done so, please read the INSTALL file for instructions on how to install the required software. If you have already completed the steps outlined in the INSTALL file, then continue reading for examples how to convert these files into various other formats. In all examples, setting the parameter REV=systemd is needed to build the systemd version of the book. XML to XHTML: ------------- make BASEDIR=/path/to/output/location XML to single file XHTML (nochunks): ------------------------------------ make BASEDIR=/path/to/output/location nochunks XML to TXT ---------- Follow the instructions for nochunks and then run: lynx -dump /path/to/nochunks >/path/to/output XML to PDF: ----------- make BASEDIR=/path/to/output/location pdf