Go to file
2020-09-04 08:49:45 +03:00
docs introduce man pages 2020-09-04 08:49:45 +03:00
hooks minor change 2020-09-04 08:40:42 +03:00
config Added keymap hook 2020-09-01 10:18:36 +02:00
device-helper make blkid optional 2020-07-15 22:23:12 +03:00
init move device managers to hooks 2020-07-27 11:32:22 +03:00
LICENSE Initial commit 2020-01-03 13:31:04 +00:00
Makefile introduce man pages 2020-09-04 08:49:45 +03:00
README.md introduce man pages 2020-09-04 08:49:45 +03:00
tinyramfs fix symlink loop 2020-08-29 22:33:12 +03:00

Tinyramfs

Currently tinyramfs is incomplete, don't expect that everything is working

Features

  • No local's, no bashisms, only POSIX shell
  • Portable, not distro specific
  • Easy to use configuration
  • Build time and init time hooks
  • LUKS (detached header, key), LVM
  • mdev, mdevd, eudev, systemd-udevd

Dependencies

  • POSIX utilities
  • POSIX shell
  • switch_root
  • mount
  • cpio
  • strip
    • Optional
  • blkid
    • Required for UUID, LABEL, PARTUUID support
  • mdev OR mdevd OR eudev OR systemd-udevd OR CONFIG_UEVENT_HELPER
    • systemd-udevd not tested
  • lvm2
    • Required for LVM support
  • cryptsetup
    • Required for LUKS support
  • busybox loadkmap
    • Required for loading keymap
  • kmod OR busybox modutils with this patch (already included in KISS Linux)
    • Not required for monolithic kernel

Installation

git clone https://github.com/illiliti/tinyramfs
cd tinyramfs
make install

Usage

# read man pages and setup /etc/tinyramfs/config
tinyramfs -o /boot/initramfs-<ver> # replace <ver> with current kernel version
# update your bootloader
# reboot...

Thanks

E5ten
dylanaraps

Donate

You can donate if you like this project

BTC: 1BwrcsgtWZeLVvNeEQSg4A28a3yrGN3FpK