Skip to content
Snippets Groups Projects
Commit eec4dcd9 authored by Leah Rowe's avatar Leah Rowe
Browse files

grub.cfg: scan grub.cfg on lvm first, before crypto volumes

In most LUKS setups, the user configured LVM, so doing this check first will
increase boot speeds.
parent 3364d90e
Branches
Tags
No related merge requests found
......@@ -153,13 +153,14 @@ menuentry 'Load Operating System (incl. fully encrypted disks) [o]' --hotkey='o
fi
done
# 3) encrypted devices/partitions
search_grub crypto
# 4) LVM inside LUKS containers
# 3) LVM inside LUKS containers
for vol in ${lvmvol}; do
try_user_config "${vol}"
done
# 4) encrypted devices/partitions
search_grub crypto
# TODO: generalize last resorts
# Use first connected device? not just sata port 1
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment