105 lines
2.5 KiB
Plaintext
105 lines
2.5 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=""
|
|
|
|
# hostonly mode
|
|
#
|
|
# default - 0
|
|
# dramatically reduce initramfs size
|
|
# useful only for modular kernels
|
|
#
|
|
#hostonly=0|1
|
|
|
|
# hooks
|
|
#
|
|
# supported - proc, eudev, systemd-udevd, mdev, mdevd, lvm, luks
|
|
# example -
|
|
# 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
|
|
# hooks="proc" will use CONFIG_UEVENT_HELPER as device manager
|
|
# 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=""
|