mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
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.
This commit is contained in:
@@ -153,13 +153,14 @@ menuentry 'Load Operating System (incl. fully encrypted disks) [o]' --hotkey='o
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# 3) encrypted devices/partitions
|
# 3) LVM inside LUKS containers
|
||||||
search_grub crypto
|
|
||||||
# 4) LVM inside LUKS containers
|
|
||||||
for vol in ${lvmvol}; do
|
for vol in ${lvmvol}; do
|
||||||
try_user_config "${vol}"
|
try_user_config "${vol}"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# 4) encrypted devices/partitions
|
||||||
|
search_grub crypto
|
||||||
|
|
||||||
# TODO: generalize last resorts
|
# TODO: generalize last resorts
|
||||||
# Use first connected device? not just sata port 1
|
# Use first connected device? not just sata port 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user