Subject: i386 bootblocks & NT [was: Re: CVS commit: src]
To: Matthias Drochner <drochner@netbsd.org>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: port-i386
Date: 04/14/1999 14:50:39
On Wed, 14 Apr 1999, Matthias Drochner wrote:
> Modified Files:
> 	src/sys/arch/i386/stand/lib: dosfile.c getsecs.c pcio.c
> Log Message:
> add prototypes, slight formatting changes

While I see this, I have a question that will be of interrest when 1.4 is
out: In order to boot NetBSD from the WinNT bootloader, you need the
bootblock (512 bytes) in a file. This can be done with dd (although some
option to installboot would be handy here, too). 

However, if you do not want to boot from the first harddisk (because it's
100% NT and you don't trust M$ enought to put NetBSD on the same disk),
you need a modified bootblock that knows to from the second disk.

The modification for this is quite simple, passing just one different
argument to a certain interrupt (i386 assemly speak). I've done this for
1.3 (see http://rfhs8012.fh-regensburg.de/~feyrer/NetBSD/NT/), but lost
the sources. 

Before I start digging (again), can you or someone on port-i386 point me
at the appropriate place for where to look in the sources? Thanks! :-}


 - Hubert

-- 
Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>