Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 2003 10:31:32 -0700
From:      Bill Campbell <freebsd@celestial.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Boot order with firewire 4.8-RELEASE
Message-ID:  <20030624103132.A27540@barryg.mi.celestial.com>
In-Reply-To: <20030624071541.GB77226@happy-idiot-talk.infracaninophile.co.uk>; from m.seaman@infracaninophile.co.uk on Tue, Jun 24, 2003 at 08:15:41AM %2B0100
References:  <20030623164024.A2684@barryg.mi.celestial.com> <20030624071541.GB77226@happy-idiot-talk.infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 24, 2003 at 08:15:41AM +0100, Matthew Seaman wrote:
>On Mon, Jun 23, 2003 at 04:40:24PM -0700, Bill Campbell wrote:
>
...
>> My basic question is how does one control the order devices are scanned
>> during the boot process?  I would like to be sure that the system will come
>> up after a power failure with no operator intervention if possible.
>
>It's not really the order that the disks are discovered which matters
>as such, but that the device numbers for your system disks depend on
>the presence or absence of the external drive.
>
>You can get round that by 'wiring down' the SCSI buses and devices in
>your kernel config.  Eg. assume that your boot drive is at LUN 0 on an
>Adaptec SCSI interface.  Then you could do:
>
>    device     scbus0 at ahc0
>    device     da0 at scbus0 target 0 unit 0
>
>to ensure your boot disk always appears as da0. See the section 'SCSI
>DEVICE CONFIGURATION' in /usr/src/sys/i386/conf/LINT for more details.

Thanks!  I'm climbing the learning curve on freebsd (largely ``learn by
destroying'' :-).

Bill
--
INTERNET:   bill@Celestial.COM  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030624103132.A27540>