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
- Host: GitHub
- URL: https://github.com/illiliti/tinyramfs
- Owner: illiliti
- License: gpl-3.0
- Created: 2020-01-03T13:31:03.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-17T21:45:01.000Z (10 months ago)
- Last Synced: 2024-07-28T20:36:23.640Z (4 months ago)
- Topics: embedded, initramfs, initrd, linux, luks, lvm, posix, shell, zfs
- Language: Shell
- Homepage:
- Size: 1.48 MB
- Stars: 101
- Watchers: 8
- Forks: 18
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-initramfs - tinyramfs - POSIX shell (Projects)
- awesome-kiss - tinyramfs - A tiny initramfs generator written in POSIX shell. (Software)
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