Bootloader fails when chainloaded from grub 1/2 in a specific way.
|Reported by:||dustin howett||Owned by:||nobody|
|Has a Patch:||no||Platform:||x86|
When I load my haiku partition (/dev/sda2) from GRUB Legacy as such:
I get a read error (bootloader debug turned on)
From GRUB 2:
set root=(hd0,2) chainloader +1
I also get a read error
BUT, with GRUB 1 and
root (hd0,1) chainloader +1
The bootloader works just fine.
This is probably a bug in GRUB, but I think it might be related to int 13 and how the bootloader uses it; when GRUB reads the disk BEFORE chainloading, there is no issue, but when only the first sector is loaded, the boot fails.