tinyramfs/config
2020-07-15 21:53:37 +03:00

109 lines
2.3 KiB
Plaintext

#
# configuration
#
# uncomment and fill settings which you needed
#
# 0 - disable
# 1 - enable
# monolithic kernel
#
# default - 0
# enable this if you have monolithic kernel (builtin modules)
#
#monolith=0|1
# compression program
#
# supported - whatever you choose
# default - none
# example - compress="pigz -9"
#
#compress=""
# root file system
#
# supported - UUID, LABEL, DEVICE, PARTUUID
# example -
# root="/dev/sda1"
# root="/dev/dm-0"
# root="/dev/disk/by-uuid/13bcb7cc-8fe5-4f8e-a1fe-e4b5b336f3ef"
# root="PARTUUID=35f923c5-083a-4950-a4da-e611d0778121"
#
#root=""
# root file system type
#
# default - autodetected throught /proc/mounts
# example - root_type="btrfs"
#
#root_type=""
# root file system options
# example - root_opts="subvol=mysubvolume,nodatacow,defaults"
# see fstab(5) man page for more info
#
#root_opts=""
# device manager
# supported - udev, mdev, mdevd
#
#devmgr=""
# hostonly mode
#
# default - 0
# dramatically reduce initramfs size
# useful only for modular kernels
#
#hostonly=0|1
# hooks
#
# currently supported - lvm, luks
# example -
# hooks="lvm luks" will support booting LUKS on LVM
# hooks="luks lvm" will support booting LVM on LUKS
# hooks="luks" will support booting only LUKS
# and so on...
#
#hooks=""
# LVM options
#
# supported - tag, name, group, config, discard
# description -
# tag - trigger lvm by tag
# name - trigger lvm by logical volume name. group must be specified
# group - trigger lvm by volume group name
# config - embed host lvm config
# discard - enable issue_discards
# example -
# lvm_opts="tag=lvm-server"
# lvm_opts="name=lv1,group=vg1"
# lvm_opts="config=1,discard=1"
# lvm_opts="discard=1"
#
#lvm_opts=""
# LUKS options
#
# supported - key, name, root, header, discard
# description -
# key - embed key
# name - device mapper name
# root - encrypted root ( UUID, LABEL, DEVICE, PARTUUID )
# header - embed header
# discard - enable allow-discards
# example -
# luks_opts="root=PARTUUID=8e05009d-a1d5-4fdb-b407-b0e79360555c,key=/path/to/keyfile,name=myluksroot,header=/path/to/header,discard=1"
# luks_opts="root=PARTUUID=8e05009d-a1d5-4fdb-b407-b0e79360555c,
# key=/path/to/keyfile,
# name=myluksroot,
# header=/path/to/header,
# discard=1"
#
# luks_opts="root=/dev/sda1,discard=1"
#
#luks_opts=""