Boot order with firewire 4.8-RELEASE

Bill Campbell freebsd at celestial.com
Tue Jun 24 10:31:34 PDT 2003


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 at 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.


More information about the freebsd-questions mailing list