> > If chainload=(fd0)+1 works, then chainload=(fd0)nn+1 should work too.
> 
> Nope(!) chainloader=(fd0)0+1 works, but chainloader=(fd0)323+1 fails.
> Strange indeed...

I believe I've found the problem. After som checks, I noticed that all
sectors up to 35 worked correctly, but >36 failed. I added a "geom"
option, that prints the geometry. This seems to be the problem! When
running from CD, I get the geometry:

CHS=80,2,36 Totalsectors=5760

>From a ordinary floppy I get:
CHS=80,2,18 Totalsectors=2880

If we assume the get_diskinfo_floppy is correct, then the INT13,1 returns
wrong information. I'll look in the ATAPI-specs later this afternoon. 

For, now, it's enough with a quick hardcoded value. Where is the best
place to fix that?

/Peter Astrand <[EMAIL PROTECTED]>

Reply via email to