From: "Volker Augustin" <[EMAIL PROTECTED]>
Subject: Stage2 is not loaded
Date: Wed, 18 Oct 2000 15:49:53 +0200
> when the system starts up, there is this message - i think it says
> "GRUB loading stage2" or something similar - then the dots and when
> the dots are all there the system halts ... :-?
First of all, try another floppy disk, because floppy disks are
fragile. In fact, I've broken a number of floppies, to test GRUB.
If the phenomenon is reproducible, investigate where GRUB hangs
up. It is rather difficult to debug assembly code, but you can easily
debug C code by inserting grub_printf calls into some places. For
example, you write this:
#define DEBUG_PRINT(msg) \
grub_printf("DEBUG: line %d in %s: %s\n", \
__LINE__, __FILE__, (msg))
...
DEBUG_PRINT ("before foo");
foo ();
DEBUG_PRINT ("after foo");
and, if GRUB only prints this and hangs up:
DEBUG: line xyz in foo.c: before foo
the cause should be in the function foo!
If I were you, I would first add DEBUG_PRINTs into the function
init_bios_info in common.c and the function cmain in stage2.c.
Usually, I don't tell anyone to debug GRUB himself/herself, but this
time I assume that you are willing to do that yourself, because you
try to use the CVS version.
Cheers,
Okuji
_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub