Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 1997 16:28:18 +0200 (IST)
From:      Nadav Eiron <nadav@barcode.co.il>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        Jim Pirzyk <pirzyk@faf.disney.com>, questions@freebsd.org
Subject:   Re: Changing boot drives
Message-ID:  <Pine.BSF.3.91.970214162702.25126A-100000@gatekeeper.barcode.co.il>
In-Reply-To: <Pine.BSI.3.94.970213154602.6915F-100000@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, 13 Feb 1997, Doug White wrote:

> On Thu, 13 Feb 1997, Jim Pirzyk wrote:
> 
> > 
> > I installed FreeBSD 2.1.6 on the second drive in my machine (at the time
> > it was called wd1), but now I moved it to wd2 and my CDROM to wd1.  It now
> > sees the CDROM, but how do I change it so that when I boot up, it tries
> > to mount root from wd2a, instead of wd1a.  It panics when it tries to mount
> > wd1a.  I can at the boot: prompt type  '1:wd(2,a)/kernel' but I would like
> > not to have to do that if possible.
> 
> Rebuild your kernel and modify the 'kernel root on ...' line as
> appropriate.

You'll also have to change /etc/fstab. It would be much easier for you if 
you just rename your disk back to wd1. To do that, remove the wd1 line 
from the kernel config file (i.e. comment it out) and replace the '2' on 
the wd2 line with a '1'. This would make your disk be called wd1 again. 
The CD is not called wd1 but wcd0, so they will not collide.

> 
> Doug White                              | University of Oregon  
> Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
> http://gladstone.uoregon.edu/~dwhite    | Computer Science Major
> 
> 
Nadav



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