TGViewer
NetBSD NetBSD @netbsd · 231 subscribers
Post #90 615
Building a NetBSD ramdisk kernel.

When I used OpenBSD, I was a big fan of bsd.rd: a kernel that includes a root file system with an installer and a few tools. When I invariably did something bad to my root file system, I could use that to repair things. bsd.rd is also helpful for OS updates. And there is only a single file involved.

On NetBSD however, there is usually no netbsd.rd kernel installed, or even available by default. The facility is there, it’s just not standard. To be fair, there are a number of architectures that use kernels with a ramdisk for installation. Recently, I have been toying with NetBSD on an Orange Pi 5. This is a 64-bit ARM board, using the evbarm-aarch64 architecture. I am booting from an SD card (details in a followup post) but once booted, the kernel does not see the card any more, only the NVMe SSD. So my thoughts went back to bsd.rd and I decided that I want one...

https://bentsukun.ch/posts/ramdisk-kernel/

#system #ramdisk
  • 👍 4
  • 🔥 1
More from @netbsd
  1. Aug 17, 2026NetBSD 11 is Awesome!! Installed this on a system with a 500MHz Pentium iii, 512MB ram and…
  2. Aug 17, 2026NetBSD 11.0 release. The NetBSD project is pleased to (finally) announce the NetBSD 11.0 r…
  3. Aug 17, 2026Better late than never... Let's back to the channel. 🎸
  4. Feb 5, 2026Rust in the Kernel, and other odd decisions. NetBSD already has taken a much odder decisio…
  5. Oct 13, 2025smolBSD. smolBSD is a meta-operating system built on top of NetBSD. It lets you compose yo…
  6. Sep 14, 2025Adventures in porting a Wayland Compositor to NetBSD and OpenBSD. #video #wayland
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →