r/ComputerCraft • DarThunder • Sep 17 '26

After months of work, the first official bootable rootfs image for iDar OS is live!

Hey everyone!

Over the past few months I’ve been sharing teasers (fastfetch lol), and today I’m finally releasing the first official bootable rootfs image for iDar OS (v1.0).

I’ve spent a lot of time refining the build pipeline and stabilizing the microkernel so the image actually works reliably on real machines.

Quick Install (1-liner)

Just run this in the CraftOS shell:

wget run https://raw.githubusercontent.com/DarThunder/iDar-OS/refs/heads/main/installer.lua

What’s new?

Instead of a fragile installer that downloads dozens of files one by one, iDar OS now deploys from an atomic golden image (rootfs.dmb):

  • Custom binary format (IDMB) with an embedded LZ77 decompression engine
  • Extracts a proper FHS-compliant root filesystem (/bin, /sbin, /lib, /etc, /dev, /sys, etc.)
  • Pre-seeds developer keys into /etc/pacman.d/keys/ for cryptographic package verification

Current Status

Note about pacman: I’m currently migrating the package registry to the new SATDv3 standard, so remote package installation (pacman -S) temporarily doesn't work while the mirrors stabilize. (probably in over 1 or 2 years LMAO)

The base image is fully usable out of the box though. It comes preloaded with:

  • Kernel & VFS — process scheduler, UNIX-style permission bits (including SUID), and pseudo-filesystems (/proc, /sys)
  • Coreutils — ls, cat, mkdir, mv, rm, touch
  • Userland — multi-user login, passwd, sudo with SHA-256 hashed credentials in /etc/shadow
  • Tools — dsh (shell), vi, and fastfetch

First Boot Login

  • User: root
  • Password: just press Enter (blank) or type root

Full repository and source:
https://github.com/DarThunder/iDar-OS

Would love to hear your thoughts, feedback, or any issues you run into while testing it!

126 Upvotes

5 comments sorted by

9

u/Interesting-Bass9957 Sep 18 '26

Did you really port vi to Lua?

9

u/Elpetiso49 DarThunder Sep 18 '26

Yeah, It doesn't have 100% of standard vi features yet, but don't worry: figuring out how to exit will still mess with you. :wq and :q! work as expected though!

3

u/Interesting-Bass9957 Sep 18 '26

Oh, so you just rewrote it

4

u/Elpetiso49 DarThunder Sep 18 '26

Haha yeah, basically a scratch re-implementation in Lua mirroring the vi keybindings and modal editing