Hello,

When one tries to compile GRUB without the support for FAT, the
compilation (link) fails because fat_mount is invoked in
chainloader_func for a Windows hack.

It's just a define omission.

-- 
Thierry LARONDE <[EMAIL PROTECTED]>
10, rue du Bel Air, 74000 ANNECY - FRANCE/ Tel : 33.(0)4.50.67.46.61
/home du SDF (Site Debian Francophone) : http://sdf.polynum.org/
--- builtins.c  Sat Feb  3 20:56:50 2001
+++ builtins.c  Sat Feb  3 21:54:05 2001
@@ -453,9 +453,12 @@ chainloader_func (char *arg, int flags)
      So this is necessary to make Windows bootable even with an extended
      partition. Maybe this should be made only for Windows, but how can
      we determine if it is Windows or not precisely?!  */
+  
+#ifdef FSYS_FAT
   if (open_partition () && fat_mount ())
     *((unsigned long *) (BOOTSEC_LOCATION + BOOTSEC_BPB_HIDDEN_SECTORS))
       = part_start;
+#endif
 
   errnum = ERR_NONE;
   

Reply via email to