Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 1997 13:06:22 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Gunnar Pruessner <pruess@yamuna.will.knipp.de>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: switching root device
Message-ID:  <Pine.BSF.3.96.971023130548.2937e-100000@gdi.uoregon.edu>
In-Reply-To: <199710131040.MAA07164@yamuna.will.knipp.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971023130548.2937e-100000>