Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/illiliti/tinyramfs

Tiny initramfs written in POSIX shell
https://github.com/illiliti/tinyramfs

embedded initramfs initrd linux luks lvm posix shell zfs

Last synced: 3 months ago
JSON representation

Tiny initramfs written in POSIX shell

Lists

README

        

# 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](https://gist.github.com/illiliti/ef9ee781b5c6bf36d9493d99b4a1ffb6) (already included in KISS Linux)
- Optional. Required if kernel compiled with loadable external modules

## Installation

```sh
make PREFIX=/usr install
```

## Documentation

[here](doc/)

## Thanks

[E5ten](https://github.com/E5ten)
[dylanaraps](https://github.com/dylanaraps)

## Donate

You can donate if you like this project

BTC: 1BwrcsgtWZeLVvNeEQSg4A28a3yrGN3FpK