From 2c03d5f9e29e2a14db43fc566d47a55e7787b489 Mon Sep 17 00:00:00 2001 From: Antynea Date: Thu, 12 Sep 2019 13:45:08 +0200 Subject: [PATCH] fix #69 (#70) Add a search command line to `grub.cfg` for find `grub-btrfs.cfg` `search -f --set=root --no-floppy /grub/grub-btrfs.cfg` --- 41_snapshots-btrfs | 1 + 1 file changed, 1 insertion(+) diff --git a/41_snapshots-btrfs b/41_snapshots-btrfs index 0ddeb73..204ce2d 100755 --- a/41_snapshots-btrfs +++ b/41_snapshots-btrfs @@ -545,6 +545,7 @@ root_grub="$(make_system_path_relative_to_its_root /boot/$grub_directory)" # Make a submenu in GRUB (grub.cfg) cat << EOF submenu '${submenuname}' { + search -f --set=root --no-floppy /grub/grub-btrfs.cfg configfile "${root_grub}/grub-btrfs.cfg" } EOF