From owner-freebsd-questions Thu Oct 23 13:08:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA24125 for questions-outgoing; Thu, 23 Oct 1997 13:08:05 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA24066 for ; Thu, 23 Oct 1997 13:08:00 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.5) with SMTP id NAA03239; Thu, 23 Oct 1997 13:06:22 -0700 (PDT) Date: Thu, 23 Oct 1997 13:06:22 -0700 (PDT) From: Doug White Reply-To: Doug White To: Gunnar Pruessner cc: freebsd-questions@FreeBSD.ORG Subject: Re: switching root device In-Reply-To: <199710131040.MAA07164@yamuna.will.knipp.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 13 Oct 1997, Gunnar Pruessner wrote: > I have two SCSI HDs on an Adaptec 2940UW, which have ID0 and ID2. There > are no other HDs (especially no IDE). Both HDs have an installation > of FreeBSD (2.2.2). To switch from boot device ID0 to ID2 I simply changed > the boot device in the controllers BIOS (I wanted to switch statically > rather then typing "0:sd(1,a)/kernel" again and again). > But whenever the system boots from ID2 it "switches root to sd0" after > device probing. It has booted the correct kernel from sd1 (ID2) but the > wrong devices are mounted, because it mounts /dev/sd0a as / and reads > the wrong /etc/fstab. > Any ideas? You'll need to wire down your SCSI devices in each environment, so that the boot disk always shows up as sd0. See /sys/i386/conf/LINT. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major