From: Andreas Reich <[EMAIL PROTECTED]>
Subject: Chainloader File
Date: Sat, 16 Dec 2000 19:49:43 +0100
> I have some problems loading my own Bootsector with GRUB.
Which version?
> Okay, this is what I do:
>
> ----->
> grub> root (hd0,0)
> Filesystem is fat, partition type 0x6
>
> grub> makeactive [Do I need this ??]
>
> grub> chainloader /asm/mos.bin
> <-----
>
> So the Chainloader is loaded, no error messages.
> But then:
>
> ----->
> grub> boot
>
> Error 8: Kernel must be loaded before booting
>
> grub>
> <-----
>
> But I think I loaded it with the chainloader command?
> With "chainloader +1", Windows 95 boots up correctly.
I think this happens only if GRUB cannot read 512 bytes from your file
but reads less than 512 bytes. In this case, no error would be
reported, though this should be fixed.
Anyway, run the grub shell with gdb, and see what happens in
chainloader_func in stage2/builtins.c.
Thanks,
Okuji
_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub