aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-07-04 21:42:31 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-07-04 21:42:31 -0300
commitb561cb246071e38ad73e40e63d3df17c7dd0da73 (patch)
treeb648d7dd25c59d9b18d2dde758225fd80b92f4ac
parentfbd15dd6af1fe4db05ab0bb6d9295af1527ff648 (diff)
downloadbootless-b561cb246071e38ad73e40e63d3df17c7dd0da73.tar.gz
bootless-b561cb246071e38ad73e40e63d3df17c7dd0da73.tar.bz2
Fix: increase timeout, and switch from rootwait to rootdelay
-rw-r--r--templates/grub.cfg6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/grub.cfg b/templates/grub.cfg
index 39c00a3..938be46 100644
--- a/templates/grub.cfg
+++ b/templates/grub.cfg
@@ -13,7 +13,7 @@ fi
# Basic config
#
set default="0"
-set timeout=5
+set timeout=60
#
# Menu appearance
@@ -71,7 +71,7 @@ function bootfde {
# 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 rootwait=5 apparmor=1 security=apparmor
+ linux ${kernel} root=/dev/mapper/${target} cryptopts=target=${target},source=${source} ro quiet rootdelay=5 apparmor=1 security=apparmor
echo 'Loading initial ramdisk ...'
initrd ${initrd}
}
@@ -118,7 +118,7 @@ function bootimg {
# 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 rootwait=5 apparmor=1 security=apparmor
+ linux ${kernel} root=/dev/mapper/${rootfs} cryptopts=target=${target},source=${volume} ro quiet rootdelay=5 apparmor=1 security=apparmor
echo 'Loading initial ramdisk ...'
initrd ${initrd}
}