Index: normal/cmdline.c =================================================================== --- normal/cmdline.c (revision 1826) +++ normal/cmdline.c (working copy) @@ -137,12 +137,17 @@ { grub_normal_init_page (); grub_setcursor (1); + + if ( nested == -1 ) + grub_printf ("\n\ + WARNING: GNU GRUB couldn't open /boot/grub/grub.cfg\n\ + Falling back to GNU GRUB Command Line\n\n"); grub_printf ("\ [ Minimal BASH-like line editing is supported. For the first word, TAB\n\ lists possible command completions. Anywhere else TAB lists possible\n\ device/file completions.%s ]\n\n", - nested ? " ESC at any time exits." : ""); + nested !=- 1 ? " ESC at any time exits." : ""); while (1) { @@ -153,7 +158,7 @@ cmdline[0] = '\0'; if (! grub_cmdline_get ("grub> ", cmdline, sizeof (cmdline), 0, 1) - && nested) + && nested > 0) return; if (! *cmdline) Index: normal/main.c =================================================================== --- normal/main.c (revision 1826) +++ normal/main.c (working copy) @@ -481,7 +481,7 @@ free_menu (menu); } else - grub_cmdline_run (nested); + grub_cmdline_run (-1); } /* Enter normal mode from rescue mode. */