README.md 1016 Bytes
Newer Older
Your Name's avatar
Your Name committed
1
# for install
Your Name's avatar
Your Name committed
2 3
`make install DESTDIR=/`

Your Name's avatar
Your Name committed
4 5 6 7 8
# basic usage
`update-initrd KERNELVER=xxxx MODDIR=/lib/modules/xxxx OUTPUT=/boot/initrd.img-xxxx`

# boot modes
```
Your Name's avatar
Your Name committed
9 10 11 12
boot=classic    : Booting from installed system
boot=normal     : Booting from installed system but / as tmpfs (All directories binded)
boot=live       : Live boot mode. Search main.sfs (see also sfs=xxx) file and mount overlayfs
boot=freeze     : Frozen mode. Booting from installed system but / as overlayfs (changes never saved)
Your Name's avatar
Your Name committed
13 14 15
```
# boot parameters
```
Your Name's avatar
Your Name committed
16 17 18 19 20 21 22 23 24
sfs=xxx         : Search xxx and used for booting from live rootfs
LANG=xxx        : Change language (initrd and system)
root=xxx        : Change rootfs localion or uuid
overlay=zram    : Live boot mode uses zram0 as tmpfs (experimental)
overlay=disable : Live boot mode does not use overlayfs (dangerous)
debug           : Write debug logs
quiet           : No output mode (Only error logs writed)
ro              : mount filesystem as read-only
rw              : mount filesystem as read-write
Your Name's avatar
Your Name committed
25 26
```