Subject: Re: Dual disk multiboot
To: None <edelcamp@easynet.fr>
From: Kurt Schreiner <ks@fred.DE>
List: port-i386
Date: 05/25/1998 09:53:09
hi,

hm, maybe you could use dosboot and a netbsd kernel from your dos
partition? using the nt-boot manager you could make an entry for
booting dos and use a config.sys menu for then booting netbsd.

I'm doing this all the time with my notebook (defautling to boot
netbsd! ;-)

boot.ini looks like this:

[boot loader]
timeout=30
default=C:\
[operating systems]
C:\="NetBSD"
multi(0)disk(0)rdisk(0)partition(1)\WINNT40S="Windows NT Server Version 4.00" /sos
multi(0)disk(0)rdisk(0)partition(1)\WINNT40S="Windows NT Server Version 4.00 [VGA mode]" /basevideo /sos

some excerpts from  config.sys and autoexec.bat:

in config.sys:

SWITCHES=/F
[MENU]
menuitem=NetBSD,NetBSD
menuitem=DOS_ONLY,DOS_ONLY
menuitem=MINI,DOS/WINDOWS (No Net)
menuitem=NORMAL,MESS/WINDOZE + CD-ROM
menuitem=CARD,DOS/WINDOWS + Socket and Card Service
menuitem=DeskStationV, Desk Station V + Socket and Card Service
menudefault=NetBSD,15

[NetBSD]
rem do nothing
[DOS_ONLY]
rem do nothing
.....

and in autoexec.bat:

@echo off
rem
rem %config% is set in config.sys to the menu name choosen
rem
goto %config%
rem first do the right thing:
:NetBSD
if exist c:\netbsd.bat c:\netbsd.bat
goto end
:DOS_ONLY
goto end
rem shouldn't come here...
echo "Gee! What's that? No NetBSD? You really want DOS?"
goto NORMAL
....

finally, netbsd.bat:

rem
rem there ARE REAL OPERATING SYSTEMS
rem throw away this messy bill shit!
@cd \bootbsd
@bootbsd.com netbsd

(I renamed dosboot.com to bootbsd.com the other day.... ;-)

hope this helps,

-ks
===============================================================================
Dipl.-Inform. Kurt Schreiner            Tel. : +49 6131 39 5134
Universitaet Mainz/Zentralbibliothek	Fax. : +49 6131 39 4159
Jakob Welder Weg 6			Mail : kurt.schreiner@uni-mainz.de
D-55128 Mainz
===============================================================================