[syslinux] Chainloading DRMK

H. Peter Anvin hpa at zytor.com
Thu Aug 19 07:41:35 PDT 2010


On 08/18/2010 11:24 PM, Michal Soltys wrote:
> On 18.08.2010 23:43, Gene Cumm wrote:
>> On Sun, Aug 1, 2010 at 13:59, Gert Hulselmans<gerth at zytor.com>  wrote:
>>> Gene Cumm wrote:
>>>>
>>>> In addition to those register values, it also must have a value of
>>>> 0x0000003f (little endian, of course) at ds:[bp+28].  I still need to
>>>> trace around to find what that's used for.
> 
> That's hidden sectors value. Basically from what you say, it wants valid
> BPB values (hidden sectors, possibly chs geometry and drive) in
> relocated bootsector.

Hidden sectors = partition offset, for those who don't know the terminology.

> I'm slowly finalizing quite extensive update to chain module, which
> should simply allow loading DRMK without any further adjustments, using
> invocation such as:
> 
> chain hd part segf=0x70 segs=0x4000 setgeo setdrv at 0x24 sethid maps
> nohand write
> 
> Of course, if that's all there is that DRMK really wants.

This also cries out for a convenience alias ;)

	-hpa


-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.




More information about the Syslinux mailing list