Hi, I am playing with the search command in grub2 from debian experimental and have noticed some oddness
The search command currently returns the device as hdX,X rather than (hdX,X). This means that the variable created using -s can't be used as a replacement for the device string. For Example I'd like to be able to do this: # Set our root device search -f /grub/grub.cfg -s root # Set our prefix set prefix=${root}/grub/ # I think broken variable handling means this doesn't work. menuentry "My Linux OS" { search -s LINUX_ROOT -u XXXX-YYYY-ZZZZ-AAAA-BBBB set root=$LINUX_ROOT linux=/vmlinuz initrd=/intrd.img } Or do I completely misunderstand the search command and usage of variables? -- Daniel Reurich Centurion Computer Technology (2005) Limited. Ph: 021 797 722 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel