Chainloading from the second HD bug?

From:

Andy McLaughlin

Subject:

Chainloading from the second HD bug?

Date:

Mon, 6 Nov 2006 23:42:51 +0000

Hi, I develop an OS, Visopsys (http://visopsys.org), which couldn't
seem to boot from the second HD with GRUB. Normally it works fine as
a simple chainload like Windows.
It took me a while to figure this out, but GRUB 0.97 (Fedora FC5)
seems to be passing the wrong value in the SI register -- it's passing
the pointer to the corresponding partition entry on the *first* HD,
instead of the entry from the second HD.
I can work around it by doing the 'swap' command with the HDs, but
it's a bit kludgey and without this bug my OS would be able to work
fine from the second HD without swapping.
I don't have time to look at the GRUB code or search the bug reports
-- I just thought I'd mention it anyway. If you want to reply please
email directly since I don't follow this list.
Cheers,
Andy
--
If he asks me "Did you have a good time?" I'll say,
"Get the lights, Mr. Grim Reaper" -odds