tinyramfs/config

144 lines
2.3 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-01-05 23:31:39 +05:30
2020-01-30 19:23:17 +05:30
# debug mode
2020-04-12 01:01:02 +05:30
#
2020-04-18 15:46:05 +05:30
#debug=0
2020-02-21 14:27:07 +05:30
2020-03-08 05:58:00 +05:30
# overwrite initramfs
2020-04-12 01:01:02 +05:30
#
2020-04-18 15:46:05 +05:30
#force=0
2020-01-30 19:23:17 +05:30
2020-04-13 00:47:01 +05:30
# initramfs output path
2020-04-12 01:01:02 +05:30
#
# default - /tmp/initramfs-$kernel
# example - output="/tmp/myinitramfs.img.gz"
#
2020-04-18 15:46:05 +05:30
#output=""
2020-03-09 00:07:19 +05:30
# monolithic kernel
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
#
2020-04-18 15:46:05 +05:30
#monolith=0
2020-03-09 00:07:19 +05:30
2020-04-12 01:01:02 +05:30
# modules directory
#
# default - /lib/modules
# example - moddir="/mnt/root/lib/modules"
#
2020-04-18 15:46:05 +05:30
#moddir=""
2020-03-08 00:54:59 +05:30
2020-03-08 05:58:00 +05:30
# kernel version
2020-04-12 01:01:02 +05:30
#
# default - $(uname -r)
# example - kernel="5.4.18_1"
#
2020-04-18 15:46:05 +05:30
#kernel=""
2020-02-12 02:00:20 +05:30
2020-03-08 05:58:00 +05:30
# compression program
2020-04-12 01:01:02 +05:30
#
# default - gzip -9
2020-04-21 20:05:55 +05:30
# example -
# compress="pigz -9"
# compress="none" # disable compress
2020-04-12 01:01:02 +05:30
#
2020-04-18 15:46:05 +05:30
#compress=""
2020-03-08 05:58:00 +05:30
# root
2020-04-12 01:01:02 +05:30
#
2020-04-14 08:50:38 +05:30
# supported - PARTUUID, DEVICE, LABEL, UUID
2020-04-12 01:01:02 +05:30
# example -
# root="/dev/sda1"
# root="PARTUUID=35f923c5-083a-4950-a4da-e611d0778121"
#
2020-04-18 15:46:05 +05:30
#root=""
2020-01-05 23:31:39 +05:30
2020-01-25 16:57:02 +05:30
# root type
2020-04-12 01:01:02 +05:30
#
# default - autodetected
# example - root_type="btrfs"
#
2020-04-18 15:46:05 +05:30
#root_type=""
2020-01-05 23:31:39 +05:30
2020-02-21 14:27:07 +05:30
# root options
2020-04-12 01:01:02 +05:30
# example - see fstab(5)
#
2020-04-18 15:46:05 +05:30
#root_opts=""
2020-03-08 05:58:00 +05:30
# device manager
2020-04-12 01:01:02 +05:30
# supported - udev, mdev, mdevd
#
2020-04-18 15:46:05 +05:30
#devmgr=""
2020-01-28 20:43:42 +05:30
2020-02-05 19:05:17 +05:30
# hostonly mode
2020-04-12 01:01:02 +05:30
#
2020-04-18 15:46:05 +05:30
# dramatically reduce initramfs size
# useful only for modular kernels
#
#hostonly=0
2020-02-05 19:05:17 +05:30
2020-04-12 01:01:02 +05:30
# additional modules
# example - modules="fat crc32c_generic"
#
2020-04-18 15:46:05 +05:30
#modules=""
2020-01-05 23:31:39 +05:30
2020-04-12 01:01:02 +05:30
# exclude modules
# example - modules_exclude="wmi fuse"
#
2020-04-18 15:46:05 +05:30
#modules_exclude=""
2020-03-01 20:09:12 +05:30
2020-03-08 05:58:00 +05:30
# additional binaries
2020-04-12 01:01:02 +05:30
# example - binaries="ls cat /path/to/mycustomprog"
#
2020-04-18 15:46:05 +05:30
#binaries=""
2020-01-05 23:31:39 +05:30
# LVM support
2020-04-12 01:01:02 +05:30
#
2020-04-18 15:46:05 +05:30
#lvm=0
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 - 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"
# lvm_opts="discard=1"
#
2020-04-18 15:46:05 +05:30
#lvm_opts=""
2020-02-21 14:27:07 +05:30
2020-01-05 23:31:39 +05:30
# LUKS support
2020-04-12 01:01:02 +05:30
#
2020-04-18 15:46:05 +05:30
#luks=0
2020-01-05 23:31:39 +05:30
2020-03-08 05:58:00 +05:30
# LUKS encrypted root
2020-04-12 01:01:02 +05:30
#
2020-04-14 08:50:38 +05:30
# supported - PARTUUID, DEVICE, LABEL, UUID
2020-04-12 01:01:02 +05:30
# example -
# luks_root="/dev/sda1"
# luks_root="PARTUUID=35f923c5-083a-4950-a4da-e611d0778121"
#
2020-04-18 15:46:05 +05:30
#luks_root=""
2020-01-25 16:57:02 +05:30
2020-02-22 22:41:30 +05:30
# LUKS options
2020-04-12 01:01:02 +05:30
#
# supported - key, name, header, discard
# description -
# key - embed key
# name - device mapper name
# header - embed header
# discard - enable allow-discards
# example -
# luks_opts="key=/path/to/keyfile,name=myluksroot,header=/path/to/header,discard"
# luks_opts="discard=1"
#
2020-04-18 15:46:05 +05:30
#luks_opts=""