Archived
3
7
Fork
You've already forked derive
2
the operating situation https://derivelinux.org
This repository has been archived on 2025年11月08日. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Shell 97.4%
  • Makefile 2%
  • C 0.6%
2025年11月08日 01:35:19 +01:00
config new scripts for stage2 build 2025年11月05日 22:41:49 +00:00
othr fix some build stuff 2025年10月18日 23:27:06 +01:00
rootfs new stuff 2025年11月03日 21:51:02 +00:00
scripts new scripts for stage2 build 2025年11月05日 22:41:49 +00:00
.gitignore new scripts for stage2 build 2025年11月05日 22:41:49 +00:00
Makefile make tarball target 2025年10月18日 17:18:28 +01:00
README.md Update README.md 2025年11月08日 01:35:19 +01:00

dérive

a simple, independent x86_64 linux distribution built from scratch, for you.

dérive is a work in progress, install at your own risk. contributions appreciated.

view our website at https://derive.codeberg.page

help with development and converse with others at https://discord.gg/EuRKxXtC

for real gangsters go to irc.libera.chat #derive

what

combines linux kernel with suckless utilities (sbase, ubase, smdev), mksh shell, one true awk, some busybox, and a few other things.

uses custom init script called situation.

designed for simplicity and purity.

building

requires:

  • linux host
  • wget, tar, gzip, xz
  • gcc, make, binutils

you may also need:

  • bison, flex

  • libelf

  • openssl

  • rsync (for kernel headers)

  • bc (for bmake tests)

  • cpio (for initramfs)

  • xorriso (for ISO creation)

  • other things i have forgotten, work it out

build commands:

make world # full build: tools → kernel → userland → iso
make tools # cross-compiler and utilities
make kernel # linux kernel
make userland # assemble root filesystem
make iso # bootable iso image
make tarball # rootfs tarball only

incremental builds:

make clean # remove outputs, keep src/ cache
make distclean # remove everything including downloads

output

  • derive.iso — bootable live system
  • out/derive-rootfs.tar.xz — base system tarball

test in qemu:

qemu-system-x86_64 -cdrom derive.iso -m 2048 -nographic

login: root

pass: derive

status

  • boots
  • runs services
  • compiles software
  • connects to networks
  • does, and doesn't do, many other things.

else

you are free to do whatever you want with this.

really.

software distributed alongside dérive is distributed under the terms of its respective software license.