diff options
author | Leah Rowe <leah@libreboot.org> | 2021-10-31 18:10:34 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2021-10-31 18:10:34 +0000 |
commit | eec4dcd97e60e46339d5cc133d45e6914a8f5cfa (patch) | |
tree | 66e7c3494ff48c2592f15990e2a4b194d3e58b47 /resources/grub/config/grub.cfg | |
parent | 3364d90edd8a70eca4af8f62b7dd450d6c51a669 (diff) |
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.
Diffstat (limited to 'resources/grub/config/grub.cfg')
-rw-r--r-- | resources/grub/config/grub.cfg | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/resources/grub/config/grub.cfg b/resources/grub/config/grub.cfg index ad8161f7..ef3c8a48 100644 --- a/resources/grub/config/grub.cfg +++ b/resources/grub/config/grub.cfg @@ -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 |