Chapter 7

Advanced Raspberry Pi Configuration

Owing to its origins in embedded computing, the BCM2835 chip at the heart of the Raspberry Pi doesn’t have anything like a PC’s Basic Input-Output System (BIOS) menu where various low-level system settings can be configured. Instead, it relies on text files containing configuration strings that are loaded by the chip when the power is switched on.

Before taking a look at the various options available in these files—config.txt and cmdline.txt—a word of warning: changing some of these settings from their defaults can result in a Pi that doesn’t boot until the files are reverted, in the best case, and that can physically damage the system, in the worst case. These potentially dangerous settings will be highlighted with warnings in this chapter.

Editing Configuration Files via NOOBS

If you edited your configuration files in such a way that your operating system no longer boots, the easiest way to restore them is to use the NOOBS software (refer to Chapter 2, “Getting Started with the Raspberry Pi”). If you installed your operating system via NOOBS, you can use the tool to edit the configuration files; if you installed your ...

Get Raspberry Pi User Guide, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.