diff options
Diffstat (limited to 'templates/grub.cfg')
-rw-r--r-- | templates/grub.cfg | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/templates/grub.cfg b/templates/grub.cfg index 1124452..39c00a3 100644 --- a/templates/grub.cfg +++ b/templates/grub.cfg @@ -68,8 +68,10 @@ function bootfde { rmmod lvm insmod lvm + # Complete kernel params available at + # https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html echo "Loading ${volume}..." - linux ${kernel} root=/dev/mapper/${target} cryptopts=target=${target},source=${source} ro quiet apparmor=1 security=apparmor + linux ${kernel} root=/dev/mapper/${target} cryptopts=target=${target},source=${source} ro quiet rootwait=5 apparmor=1 security=apparmor echo 'Loading initial ramdisk ...' initrd ${initrd} } @@ -113,8 +115,10 @@ function bootimg { set initrd="/boot/custom/${distro}initrd.img-${version}" fi + # Complete kernel params available at + # https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html echo "Loading ${1}..." - linux ${kernel} root=/dev/mapper/${rootfs} cryptopts=target=${target},source=${volume} ro quiet apparmor=1 security=apparmor + linux ${kernel} root=/dev/mapper/${rootfs} cryptopts=target=${target},source=${volume} ro quiet rootwait=5 apparmor=1 security=apparmor echo 'Loading initial ramdisk ...' initrd ${initrd} } |