Skip to content

Commit

Permalink
fix #69 (#70)
Browse files Browse the repository at this point in the history
Add a search command line to `grub.cfg` for find `grub-btrfs.cfg`
`search -f --set=root --no-floppy /grub/grub-btrfs.cfg`
  • Loading branch information
Antynea authored Sep 12, 2019
1 parent e286bf1 commit 2c03d5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions 41_snapshots-btrfs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2c03d5f

Please sign in to comment.