Roger Binns escribió:
I also considered the "find" command.  eg I could put a sentinel file in
the correct partition and let Grub search to find that.  But I couldn't
figure out how to make that part of the normal boot process as above.

You may be interested on borrowing the findf command from Super Grub Disk source (check dev_grub/stage2/builtins.c ( http://supergrub.forjamari.linex.org).

Once the first match of the sentinel file is found a variable is set but you could change that behaviour so that the root command is being issued.

If you try it and you cannot get it to work you can ask me more help.

If you even send me documentation on where the hell are these LABELS stored I may (very unprobable) be able to implement that functionality on grub legacy.

adrian15


_______________________________________________
Bug-grub mailing list
Bug-grub@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to