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
|
|
|
#
|
2020-06-28 09:28:57 +05:30
|
|
|
# 0 - disable
|
|
|
|
# 1 - enable
|
2020-02-14 05:33:24 +05:30
|
|
|
|
2020-03-09 00:07:19 +05:30
|
|
|
# monolithic kernel
|
2020-05-07 17:36:34 +05:30
|
|
|
#
|
|
|
|
# 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
|
|
|
#
|
2020-05-07 17:36:34 +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
|
|
|
#
|
2020-06-28 09:28:57 +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=""
|
2020-02-14 05:33:24 +05:30
|
|
|
|
2020-06-28 09:28:57 +05:30
|
|
|
# root file system
|
2020-04-12 01:01:02 +05:30
|
|
|
#
|
2020-06-28 09:28:57 +05:30
|
|
|
# supported - UUID, LABEL, DEVICE, PARTUUID
|
2020-04-12 01:01:02 +05:30
|
|
|
# example -
|
|
|
|
# root="/dev/sda1"
|
2020-05-07 17:36:34 +05:30
|
|
|
# root="/dev/dm-0"
|
2020-06-28 09:28:57 +05:30
|
|
|
# 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
|
|
|
|
2020-06-28 09:28:57 +05:30
|
|
|
# root file system type
|
2020-04-12 01:01:02 +05:30
|
|
|
#
|
2020-06-28 09:28:57 +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
|
|
|
|
2020-06-28 09:28:57 +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-09 23:15:10 +05:30
|
|
|
|
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-06-28 09:28:57 +05:30
|
|
|
# default - 0
|
2020-04-18 15:46:05 +05:30
|
|
|
# dramatically reduce initramfs size
|
|
|
|
# useful only for modular kernels
|
|
|
|
#
|
2020-05-07 17:36:34 +05:30
|
|
|
#hostonly=0|1
|
2020-02-05 19:05:17 +05:30
|
|
|
|
2020-06-28 09:28:57 +05:30
|
|
|
# hooks
|
2020-04-12 01:01:02 +05:30
|
|
|
#
|
2020-06-28 09:28:57 +05:30
|
|
|
# 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...
|
2020-04-12 01:01:02 +05:30
|
|
|
#
|
2020-06-28 09:28:57 +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
|
2020-06-28 09:28:57 +05:30
|
|
|
# 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"
|
2020-06-28 09:28:57 +05:30
|
|
|
# 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
|
|
|
#
|
2020-06-28 09:28:57 +05:30
|
|
|
# supported - key, name, root, header, discard
|
2020-04-12 01:01:02 +05:30
|
|
|
# description -
|
|
|
|
# key - embed key
|
|
|
|
# name - device mapper name
|
2020-06-28 09:28:57 +05:30
|
|
|
# root - encrypted root ( UUID, LABEL, DEVICE, PARTUUID )
|
2020-04-12 01:01:02 +05:30
|
|
|
# header - embed header
|
|
|
|
# discard - enable allow-discards
|
|
|
|
# example -
|
2020-06-28 09:28:57 +05:30
|
|
|
# luks_opts="root=PARTUUID=35f923c5-083a-4950-a4da-e611d0778121,key=/path/to/keyfile,name=myluksroot,header=/path/to/header,discard=1"
|
|
|
|
# luks_opts="root=PARTUUID=35f923c5-083a-4950-a4da-e611d0778121,
|
|
|
|
# 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=""
|