Opened 12 years ago

Last modified 3 years ago

#2285 assigned bug

Bootloader fails when chainloaded from grub 1/2 in a specific way.

Reported by: dustin howett Owned by: nobody
Priority: normal Milestone: R1
Component: System/Boot Loader Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description

When I load my haiku partition (/dev/sda2) from GRUB Legacy as such:

chainloader (hd0,1)+1

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.

Change History (4)

comment:1 by mmadia, 10 years ago

Platform: x64x86-64

comment:2 by bonefish, 10 years ago

Platform: x86-64x86

comment:3 by mmu_man, 4 years ago

Hi, is this bug still valid? Did you run makebootable after installing (Installer should now do it for you)?

comment:4 by axeld, 3 years ago

Owner: changed from axeld to nobody
Status: newassigned
Note: See TracTickets for help on using tickets.