Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!olivea!grapevine.lcs.mit.edu!ai-lab!life.ai.mit.edu!mycroft From: mycroft@trinity.gnu.ai.mit.edu (Charles Hannum) Newsgroups: comp.os.386bsd.misc Subject: Re: Will this work (two IDE drives, DOS and *BSD)? Date: 27 Aug 1993 18:17:13 GMT Organization: MIT Artificial Intelligence Lab Lines: 36 Distribution: world Message-ID: <MYCROFT.93Aug27141713@trinity.gnu.ai.mit.edu> References: <1993Aug24.015342.14669@news.csuohio.edu> <1993Aug24.024314.15697@news.csuohio.edu> <BRAD.93Aug26091051@stemwinder.FCR.COM> NNTP-Posting-Host: trinity.gnu.ai.mit.edu In-reply-to: brad@FCR.COM's message of 26 Aug 93 09:10:51 In article <BRAD.93Aug26091051@stemwinder.FCR.COM> brad@FCR.COM (Brad Parker) writes: 4. when I boot from the second IDE drive, the boot tracks ask me (yea!) what drive/file to boot from. I enter "wd(1,a)/netbsd". Works like a champ. (but, it would be nice if one could configure a default boot disk/file) You might try the following patch to the boot code. It will fail on some systems with both IDE/ESDI disks and SCSI disks. -----8<-----snip-----8<-----snip-----8<-----snip-----8<-----snip-----8<----- *** boot.c.~1~ Mon Aug 2 10:52:00 1993 --- boot.c Fri Aug 27 11:14:17 1993 *************** *** 85,91 **** * As a default set it to the first partition of the first * * floppy or hard drive * \***************************************************************/ ! part = unit = 0; maj = (drive&0x80 ? 0 : 2); /* a good first bet */ name = names[currname++]; --- 85,92 ---- * As a default set it to the first partition of the first * * floppy or hard drive * \***************************************************************/ ! part = 0; ! unit = drive&0x7f; maj = (drive&0x80 ? 0 : 2); /* a good first bet */ name = names[currname++]; -----8<-----snip-----8<-----snip-----8<-----snip-----8<-----snip-----8<-----