Отправлено с iPhone

> 4 марта 2017 г., в 4:02, Robert LeBlanc <rob...@leblancnet.us> написал(а):
> 
> 
> menuentry 'RXE Snapshot' {
>       load_env -f /snaps/rxe-boot/grub2/grubenv
>       configfile /snaps/rxe-boot/grub2/grub.cfg
> }
> 

Grub.cfg as created by grub-mkconfig loads $prefix/grubenv which overrides 
whatever you got from your other grubenv. $prefix does not change when you run 
different config.

It is not the first time I see similar issue. I think grubenv should be 
searched relative to current $config_directory, it is not as much property of 
loaded binary, as property of current configuration.

Could you try to change your snapshot grub.cfg this way and see if it helps? 
You can then remove explicit grubenv load.


> 
> # cat /mnt/btrfs/boot/grub2/grubenv
> # GRUB Environment Block
> saved_entry=RXE Snapshot
> ###########################

Grub-editenv list would be enough.



_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to