29.01.2016 17:56, Thiago Padilha пишет:
> Jordan, thanks for the help
> 
> Unfortunately, the "insmod regexp" line is not working for me, at least not
> from the configuration file. This my grub.cfg:
...

> 
>     search.fs_uuid 1b3fdfe0-99cb-4aba-9acd-695b84be63cc btrfs hd0,gpt3
>     insmod regexp
>     for os_path in ($btrfs)/os/*; do
>       echo $os_path
>       regexp --set=os_name '^\([^)]*\)/os/(.*)$' $os_path
>     done
> 
> Notice that I removed the configfile line to enter the interactive shell. I
> was expecting to see a list of distro names printed but nothing happens.

It does; but after grub finished processing of grub.cfg it clears screen
and displays usual banner. Add "sleep 15" after for loop.

_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to