Skip to content

Commit

Permalink
Search for GRUB configuration files also on LVM
Browse files Browse the repository at this point in the history
  • Loading branch information
Mexit committed Apr 6, 2024
1 parent a94175a commit 0947a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/grub.config
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function find_grub_cfg {
insmod jfs
insmod reiserfs

for grubcfg in (*,*)/boot/grub*/grub.cfg; do
for grubcfg in (*,*)/boot/grub*/grub.cfg (lvm\/*)/boot/grub*/grub.cfg; do
regexp --set=1:grubcfg_device '^\((.*)\)/' "${grubcfg}"
if [ -f "${grubcfg}" ]; then
grubcfg_found=true
Expand Down

0 comments on commit 0947a08

Please sign in to comment.