 +
 +		if (biosdev == MAX_BIOS_DRIVE) {
 +			errnum = ERR_BOOT_FAILURE;
-+			grub_printf("no biosdev found for testbed boot");
++			grub_printf("no biosdev found for testbed boot\n");
 +		}
 +	}
 +

--- grub-0.97/stage2/builtins.c.orig	2005-02-15 14:58:23.000000000 -0700
+++ grub-0.97/stage2/builtins.c	2008-10-17 13:31:46.000000000 -0600
@@ -49,6 +49,15 @@
 # include <md5.h>
 #endif

 /* Check a password for correctness.  Returns 0 if password was
    correct, and a value != 0 for error, similarly to strcmp. */
 int
@@ -3171,6 +3197,188 @@
   return 0;
 }
 
+#ifdef SUPPORT_EMULAB
+static int
