Subject: Re: Question on NT bootloader
To: Sean Damian Edmison <sedmison@owlnet.rice.edu>
From: Hubert Feyrer <hubert.feyrer@rrzc1.rz.uni-regensburg.de>
List: current-users
Date: 01/13/1998 09:57:52
Sean wrote:
> (If you figure it all out and want to send some tips, I'll include them on
> the page.)

I've got it working now.
The solution was the same as described by that FreeBSD guy
(http://www.devious.com/freebsd/) that you've got a link somewhere on your
page. The file to patch is
/sys/./arch/i386/stand/lib/crt/bootsect/start_bootsect.S (as of NetBSD 1.3). In
line 123 add the same mov command before the int 13h call suggested by FreeBSD
to boot from second, third etc. harddisk:

	mov	0x80,%dl	# boot from first harddisk
	mov	0x81,%dl	# boot from second harddisk
	mov	0x82,%dl	# boot from third harddisk
	...

After that, cd /sys/arch/i386/stand/biosboot && make, install a boot record
from the resulting biosboot.sym, and save that bootblock with dd into some
file. That file then is then listed in NT's boot.ini (beware, the name must be
8+3). That's it.


 - Hubert

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