*BSD News Article 87523


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!vbcnet-west!samba.rahul.net!rahul.net!a2i!hustle.rahul.net!rahul.net!a2i!news.clark.net!mr.net!news.idt.net!newsfeed.internetmci.com!uuneo.neosoft.com!news
From: conrads@neosoft.com (Conrad Sabatier)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: 2.1.6.1 Upgrade gripe
Date: 27 Jan 1997 01:40:49 GMT
Organization: NeoSoft, Inc.  
Lines: 57
Message-ID: <5ch131$6pu@uuneo.neosoft.com>
References: <5cepah$936@uuneo.neosoft.com>
    <kientzleE4Mvty.CKE@netcom.com>
NNTP-Posting-Host: 206.27.167.120
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34538

In article <kientzleE4Mvty.CKE@netcom.com>,
	kientzle@netcom.com writes:
> In article <5cepah$936@uuneo.neosoft.com>,
> Conrad Sabatier <conrads@neosoft.com> wrote:
>>Which brings to mind a troubling question: *why* is it necessary to use
>>DOS at all to *upgrade*?
> 
> If you have enough hard disk space, then you don't need to use DOS.
>   a) copy the boot floppy image to a floppy with `dd'
>   b) copy requisite install files to the hard disk (i.e. `bin' and `src').
>   c) boot the install floppy and tell it to pull its files from
>      the hard disk
>   d) customize and recompile the kernel before installing more stuff
> 
> The alternative update path that most of the development team recommends:
>   a) Copy the /usr/src tree from the CDROM (disk 2)
>   b) add any custom patches to the kernel sources
>   c) `make world'
>   d) putz around with /etc to make sure your customizations are
>      carried across
> 
> I'm too crunched for time to update myself, but I'll probably try the
> `make world' approach when I update from 2.1.0 to either 2.1.6 or 2.2.

Yup, 'zackly what I ended up doing.  :-)  I think I'll just use this
approach for all future upgrades.

> P.S.  Have you tested the 2.2 boot floppy yet?  I understand they're
> actively looking for people to test it with ATAPI drives, so they can
> improve the ATAPI support.  Have you sent your patches to the ATAPI
> driver to the development team yet?  Either of these would help
> simplify future installs by making sure that future versions did
> support your ATAPI drive.

For what it's worth, here's what works for me in my kernel.

The wdc0 has two IDE hard drives (wd0 is DOS, wd1 is FreeBSD).
Wdc1 has the CD-ROM (master) on wd2. 

controller      wdc0    at isa? port "IO_WD1" bio irq 14 vector wdintr
disk            wd0     at wdc0 drive 0
disk            wd1     at wdc0 drive 1

controller      wdc1    at isa? port "IO_WD2" bio irq 15 vector wdintr
disk            wd2     at wdc1 drive 0
#disk           wd3     at wdc1 drive 1

options         ATAPI   #Enable ATAPI support for IDE bus
device          wcd0    #IDE CD-ROM

FreeBSD's sysinstall *still* doesn't think I have a CD-ROM, but it *will*
use the already mounted /cdrom.

-- 
Conrad Sabatier                  | 
conrads@neosoft.com              |  Eschew obfuscation.
http://www.neosoft.com/~conrads  |