Run the grub shell under a unix environment and attach GDB to the
process. Then, you can trace the execution entirely. This is the
easiest way to debug GRUB. Probably you will set a breakpoint at the
fucntion "root_func" in builtins.c and run the command "root" with the
argument specified a hidden partition.

Okuji

Reply via email to