summaryrefslogtreecommitdiff
path: root/resources/grub/config/grub.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'resources/grub/config/grub.cfg')
-rw-r--r--resources/grub/config/grub.cfg17
1 files changed, 5 insertions, 12 deletions
diff --git a/resources/grub/config/grub.cfg b/resources/grub/config/grub.cfg
index 97fdb576..d9bf6df2 100644
--- a/resources/grub/config/grub.cfg
+++ b/resources/grub/config/grub.cfg
@@ -42,18 +42,15 @@ function try_user_config {
done
}
function search_grub {
- echo -n "Attempting to load grub.cfg from: "
+ echo -n "Attempting to load grub.cfg from '${1}' devices"
for i in 0 1 2 3 4 5 6 7 8 9 10 11; do
- echo "\nTrying disk ${1}${i}"
for part in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do
- echo "\nTrying partiton ${part}"
try_user_config "(${1}${i},${part})"
done
# raw devices e.g. (ahci0) instead of (ahci0,1)
- echo "\nTrying to boot to a raw disk ..."
try_user_config "(${1}${i})"
- echo # Insert newline
done
+ echo # Insert newline
}
function try_isolinux_config {
@@ -67,18 +64,15 @@ function try_isolinux_config {
done
}
function search_isolinux {
+ echo "\nAttempting to parse isolinux/syslinux config from '${1}' devices"
for i in 0 1 2 3 4 5 6 7 8 9 10 11; do
- echo "\nAttempting to parse isolinux menu from ${1}${i}"
for part in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do
- echo "\nTrying partiton ${part}"
try_isolinux_config "(${1}${i},${part})"
done
# raw devices e.g. (usb0) instead of (usb0,1)
- echo "\nTrying raw usb device ..."
try_isolinux_config "(${1}${i})"
- echo # Insert newline
done
-
+ echo # Insert newline
}
menuentry 'Load Operating System (incl. fully encrypted disks) [o]' --hotkey='o' {
search_grub ahci
@@ -109,9 +103,8 @@ menuentry 'Load Operating System (incl. fully encrypted disks) [o]' --hotkey='o
done
set pager=0
- echo -n "Attempting to cryptomount: "
+ echo -n "Attempting to unlock encrypted volumes"
for dev in ${ahcidev} ${atadev} ${lvmvol} ${raidvol}; do
- echo -n "${dev} "
if cryptomount "${dev}" ; then break ; fi
done
set pager=1