Subject: Re: Booting NetBSD 1.3.2 with the NT boot loader
To: None <email@example.com>
From: Geoff Wing <firstname.lastname@example.org>
Date: 11/19/1998 11:51:55
Marcus Glocker <email@example.com> typed:
:NT 4.0 is installed on the first disc with scsi id 0 (boot-disc).
:NetBSD is installed on the second disc with scsi id 2.
:I can boot NetBSD directly if I set the second disc bootable with the
:What I want is that I can boot NetBSD with the NT boot loader. So I do
:dd if=/dev/rsd1a of=bootsect.bsd bs=512 count=1
:I copy the file on a ms-dos floppy disc, boot NT, copy the file on the
:partition and do an entry in boot.ini:
:I reboot NT and choose in the NT boot loader the NetBSD entry and got
:No bootable partition
:Why can I boot NetBSD directly from its disc, but not with the nt boot
:I am sure the bootsect.bsd is not corrupted, because I created it about
I'd suggest that using the NT bootloader is only going to work if NetBSD
is on the first disk. The bootblock written probably presumes that
the BIOS is pointing to the correct disk and goes from there. I guess
the file you would need to modify is
and rebuild it somehow. Look around the line starting with ``hd:''
1) not really remembering how it works, try:
commenting out ``andl $0xff, %edx'' and uncomment
``/*mov $0x0080, %edx*/'' (changing 80 to 81 (which points to your
2) You may need to have
movb $0x81, %ah
at the start of ``hd:'' (though maybe not).
I hope you get it working (then I might try again and stop using dosboot
(especially since newer dosboot versions just crash my computer)).
Geoff Wing <firstname.lastname@example.org> Mobile : 0412 162 441
Work URL: http://www.primenet.com.au/ Ego URL: http://pobox.com/~gcw/