*BSD News Article 43356


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: sserve!happy.cs.adfa.oz.au!wkt
From: wkt@happy.cs.adfa.oz.au (Warren Toomey)
Subject: Re: How to make wd1 default boot drive???
Message-ID: <1995Mar13.020407.25952@sserve.cc.adfa.oz.au>
Sender: news@sserve.cc.adfa.oz.au
Organization: Australian Defence Force Academy
References: <3jsrsq$h0e@acmey.gatech.edu> <flipk.794988215@soclab.soc.iastate.edu>
Date: Mon, 13 Mar 1995 02:04:07 GMT

In article <flipk.794988215@soclab.soc.iastate.edu>, flipk@iastate.edu (Phil Knaack) writes:
|> In <3jsrsq$h0e@acmey.gatech.edu> 
|> 	ccastco@prism.gatech.edu (Costas Malamas) writes:
|> 
|> >	part = unit = 0;
|> >	maj = (drive&0x80 ? 0 : 2);		/* a good first bet */
|> >	name = names[currname++];

Replace the first line with:

	part = 0; unit = 1;

I am using this on my home 486. wd0 has FreeBSD 1.1, and wd1 has FreeBSD 2.0.
Both drives have BTEASY and DOS partition tables in their boot sector.
Of course, the bootstrapper for FreeBSD 1.1 (wd0) has unit=0, and the bootstrapper
for FreeBSD 2.0 (wd1) has unit=1.

	Warren
-- 

`` ... nor do I regularly post multi-kilobyte screeds about driver software I
can't release because aliens haven't used the radio receivers in my head to
give me permission yet.'' -- John F. Woods