diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-07-04 20:27:06 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-07-04 20:27:06 -0300 |
commit | fbd15dd6af1fe4db05ab0bb6d9295af1527ff648 (patch) | |
tree | 125bb3f08796abad3c413fb2d529e7d5fcddeb54 | |
parent | dd6d729d2c7aaba9d909ee3029fb87adf7ddce30 (diff) | |
download | bootless-fbd15dd6af1fe4db05ab0bb6d9295af1527ff648.tar.gz bootless-fbd15dd6af1fe4db05ab0bb6d9295af1527ff648.tar.bz2 |
Fix: adds rootwait=5 to account for USB drives
-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} } |