[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Chainloader File
From: |
OKUJI Yoshinori |
Subject: |
Re: Chainloader File |
Date: |
Sun, 17 Dec 2000 04:11:43 +0900 |
From: Andreas Reich <address@hidden>
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
- Chainloader File, Andreas Reich, 2000/12/16
- Re: Chainloader File,
OKUJI Yoshinori <=