tinyramfs/config

114 lines
2.8 KiB
Plaintext
Raw Normal View History

2020-01-05 23:31:39 +05:30
#
# configuration
#
2020-04-18 15:46:05 +05:30
# uncomment and fill settings which you needed
2020-04-12 01:01:02 +05:30
#
# 0 - disable
# 1 - enable
2020-03-09 00:07:19 +05:30
# monolithic kernel
#
# default - 0
2020-04-18 15:46:05 +05:30
# enable this if you have monolithic kernel (builtin modules)
2020-04-12 01:01:02 +05:30
#
#monolith=0|1
2020-03-09 00:07:19 +05:30
2020-03-08 05:58:00 +05:30
# compression program
2020-04-12 01:01:02 +05:30
#
# supported - whatever you choose
# default - none
# example - compress="pigz -9"
2020-04-12 01:01:02 +05:30
#
2020-04-18 15:46:05 +05:30
#compress=""
# root file system
2020-04-12 01:01:02 +05:30
#
# supported - UUID, LABEL, DEVICE, PARTUUID
2020-04-12 01:01:02 +05:30
# example -
# root="/dev/sda1"
# root="/dev/dm-0"
# root="/dev/disk/by-uuid/13bcb7cc-8fe5-4f8e-a1fe-e4b5b336f3ef"
2020-04-12 01:01:02 +05:30
# root="PARTUUID=35f923c5-083a-4950-a4da-e611d0778121"
#
2020-04-18 15:46:05 +05:30
#root=""
2020-01-05 23:31:39 +05:30
# root file system type
2020-04-12 01:01:02 +05:30
#
# default - autodetected throught /proc/mounts
2020-04-12 01:01:02 +05:30
# example - root_type="btrfs"
#
2020-04-18 15:46:05 +05:30
#root_type=""
2020-01-05 23:31:39 +05:30
# root file system options
# example - root_opts="subvol=mysubvolume,nodatacow,defaults"
# see fstab(5) man page for more info
2020-04-12 01:01:02 +05:30
#
2020-04-18 15:46:05 +05:30
#root_opts=""
2020-02-05 19:05:17 +05:30
# hostonly mode
2020-04-12 01:01:02 +05:30
#
# default - 0
2020-04-18 15:46:05 +05:30
# dramatically reduce initramfs size
# useful only for modular kernels
#
#hostonly=0|1
2020-02-05 19:05:17 +05:30
# hooks
2020-04-12 01:01:02 +05:30
#
2020-07-27 14:02:22 +05:30
# supported - proc, eudev, systemd-udevd, mdev, mdevd, lvm, luks
# example -
2020-07-27 14:02:22 +05:30
# hooks="eudev lvm luks" will use eudev as device manager and support booting LUKS on LVM
# hooks="mdev luks lvm" will use mdev as device manager and support booting LVM on LUKS
# hooks="systemd-udevd luks" will use systemd-udevd as device manager and support booting only LUKS
2020-08-31 20:16:35 +05:30
# hooks="keymap" will first load the keymap set at keymap_path.
# Note: If you use encryption, be sure to load this hook before the others
2020-07-27 14:02:22 +05:30
# hooks="proc" will use CONFIG_UEVENT_HELPER as device manager
# and so on...
2020-04-12 01:01:02 +05:30
#
#hooks=""
2020-01-05 23:31:39 +05:30
2020-02-22 22:41:30 +05:30
# LVM options
2020-04-12 01:01:02 +05:30
#
# supported - tag, name, group, config, discard
# description -
# tag - trigger lvm by tag
# name - trigger lvm by logical volume name. group must be specified
2020-04-12 01:01:02 +05:30
# 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"
2020-04-12 01:01:02 +05:30
# lvm_opts="discard=1"
#
2020-04-18 15:46:05 +05:30
#lvm_opts=""
2020-02-21 14:27:07 +05:30
2020-02-22 22:41:30 +05:30
# LUKS options
2020-04-12 01:01:02 +05:30
#
# supported - key, name, root, header, discard
2020-04-12 01:01:02 +05:30
# description -
# key - embed key
# name - device mapper name
# root - encrypted root ( UUID, LABEL, DEVICE, PARTUUID )
2020-04-12 01:01:02 +05:30
# header - embed header
# discard - enable allow-discards
# example -
2020-07-16 00:23:37 +05:30
# 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"
2020-04-12 01:01:02 +05:30
#
2020-04-18 15:46:05 +05:30
#luks_opts=""
2020-08-31 20:16:35 +05:30
# keymap path
#
# path that will be passed to loadkmap
# example - keymap_path="/usr/share/bkeymaps/us/us.bmap"
#
#keymap_path=""