Skip to content

Tiny initramfs written in POSIX shell

License

Notifications You must be signed in to change notification settings

neeshy/tinyramfs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tinyramfs

Tiny initramfs written in POSIX shell. This project is based on https://github.com/illiliti/tinyramfs

Features

  • No 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 shell
  • POSIX utilities
  • make
  • switch_root
  • mount
  • cpio
  • ldd
    • Required for copying binary dependencies
  • ldconfig
    • Required for LUKS support
  • strip
  • findfs
  • mdev, mdevd, eudev or systemd-udevd (optional)
    • Required for modular kernel, /dev/mapper/* and /dev/disk/* creation
  • zfs (optional)
  • lvm2 (optional)
  • cryptsetup (optional)
  • busybox loadkmap (optional)
  • kmod or busybox modutils with patch (already included in KISS Linux)
    • Optional. Required if kernel compiled with loadable external modules

Installation

make PREFIX=/usr install

Documentation

Here

Thanks

illiliti
E5ten
dylanaraps

About

Tiny initramfs written in POSIX shell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 98.1%
  • Makefile 1.9%