Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4829

Beginners • Re: Actual headless boot

$
0
0
Have you looked at Raspberry Pi OS Lite? That seems like it would probably meet your criteria. It has no desktop environment, and can do a serial console and/or USB+HDMI text mode console. There will be no graphical processes running on the main CPU, just getty for serial0 and tty1. The VideoCore co-processor will be opaquely running something to generate the text mode console on HDMI, but that should have no real impact on the system.

The default /boot/firmware/cmdline.txt will look something like:

Code:

console=serial0,115200 console=tty1 root=PARTUUID=b20d2743-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=GB
Remove "console=tty1", and I think that will probably prevent getty spawning for tty1, if you want to completely inhibit HDMI text console. I recommend leaving the HDMI text console enabled for convenience, unless you have a really good reason to disable it. You shouldn't need to do anything special to get a Pi 4B (rev 1.5) to boot headless. I have several of them which normally run with nothing plugged into USB or HDMI, running a mix of Lite and the normal OS; even with the default GUI desktop enabled, they boot fine headless.

I just noticed you mentioned OpenBSD. If that's the OS you want to run, you probably need to be asking these questions on an OpenBSD forum. Everything above is for Raspios / Raspberry Pi OS.

Statistics: Posted by Murph9000 — Sat Oct 05, 2024 10:46 pm



Viewing all articles
Browse latest Browse all 4829

Trending Articles