Hollis Blanchard <[EMAIL PROTECTED]> writes:

>> root is not a command but a variable in GRUB 2.
>
> Actually, I see now that it is a command: grub_rescue_cmd_root() in
> kern/rescue.c. Is that only a rescue mode thing? That seems to be
> exactly what I need... aside from the very confusing use of "root"
> meaning where GRUB finds the kernel and "root" meaning where Linux
> finds /sbin/init.

Personally I do not care about if GRUB is confusing for linux users.
As I see it, GRUB is not only a linux loader.

> I cannot find any grub_env_get("root") callers.

I thought I have changed the command to the variable.  But perhaps
this was only done for prefix (although that would be weird...).  In
that case we need a `root' variable.  It is high on my todo list now,
but don't rely too much on me and my todo list and please write it if
you need it.  It is the right thing to do it this way.

--
Marco



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

Reply via email to