Hello,

I've found why the new fallback-savedefault didn't work. In fact, grub
searchs the file "/boot/grub/menu.lstdefault" instead of
"/boot/grub/default".

--------------------------------------------------
$ diff -u stage2/stage2.c-before stage2/stage2.c
--- stage2/stage2.c-before      2004-07-19 18:06:57.000000000 -0400
+++ stage2/stage2.c     2004-07-19 18:07:51.000000000 -0400
@@ -879,6 +879,7 @@
                i++;
                break;
              }
+         default_file[i] = 0;
          grub_strncat (default_file + i, "default", DEFAULT_FILE_BUFLEN - i);
          if (grub_open (default_file))
            {
--------------------------------------------------

--
Alban Crequy
Stagiaire

Révolution Linux http://www.revolutionlinux.com



_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to