2
0
Fork
You've already forked tinyramfs
0
Tiny initramfs written in POSIX shell
  • Shell 97%
  • Makefile 3%
Find a file
2025年09月08日 15:42:40 +00:00
.github/workflows meta: add shellcheck 2021年08月04日 20:10:58 +03:00
doc doc/tinyramfs.5{,scd}: Add more information regarding usage of hooks 2025年09月08日 15:42:40 +00:00
hook hook/uki: new hook for generating a uki 2025年09月08日 15:42:40 +00:00
lib lib/init.sh: fix parsing kernel cmdline ( #42 ) 2024年09月22日 15:28:40 +03:00
test test/*: increase memory in qemu vm 2021年08月15日 10:37:16 +03:00
LICENSE Initial commit 2020年01月03日 13:31:04 +00:00
Makefile doc/*: add man pages 2022年05月10日 19:23:42 +03:00
README.md README.md: Document objcopy or llvm-objcopy dependency for UKI 2025年09月08日 15:42:40 +00:00
tinyramfs tinyramfs: add support for late (after initramfs generation) hooks 2025年09月08日 15:42:40 +00:00

Tinyramfs

Tiny initramfs written in POSIX shell

Features

  • No local's, no bashisms, only POSIX shell
  • Portable, not distro specific
  • Easy to use configuration
  • Make time and init time hooks
  • ZFS + native encryption support
  • LUKS (detached header, key), LVM
  • mdev, mdevd, eudev, systemd-udevd
  • Resume from swap partition

Dependencies

  • POSIX make (build time)
  • POSIX utilities
  • POSIX shell
  • switch_root
  • mount
  • cpio
  • ldd
    • Optional. Required for copying binary dependencies
  • strip
    • Optional. Required for reducing image size by stripping binaries
  • blkid
    • Optional. Required for UUID, LABEL, PARTUUID support
  • mdev OR mdevd OR eudev OR systemd-udevd OR CONFIG_UEVENT_HELPER
    • Optional. Required for modular kernel, /dev/mapper/* and /dev/disk/* creation
  • zfs
    • Optional. Required for ZFS support
  • lvm2
    • Optional. Required for LVM support
  • cryptsetup
    • Optional. Required for LUKS support
  • busybox loadkmap
    • Optional. Required for keymap support
  • kmod OR busybox modutils with patch (already included in KISS Linux)
    • Optional. Required if kernel compiled with loadable external modules
  • objcopy and objdump OR llvm-objcopy
    • Optional. Required for UKI support

Installation

make PREFIX=/usr install

Documentation

here

Thanks

E5ten
dylanaraps

Donate

You can donate if you like this project

BTC: 1BwrcsgtWZeLVvNeEQSg4A28a3yrGN3FpK