From owner-freebsd-questions Fri Feb 14 06:29:17 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA08093 for questions-outgoing; Fri, 14 Feb 1997 06:29:17 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA08079 for ; Fri, 14 Feb 1997 06:29:15 -0800 (PST) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id GAA11596 for ; Fri, 14 Feb 1997 06:29:02 -0800 (PST) Received: (from nadav@localhost) by gatekeeper.barcode.co.il (8.7.5/8.6.12) id QAA25180; Fri, 14 Feb 1997 16:28:18 +0200 (IST) Date: Fri, 14 Feb 1997 16:28:18 +0200 (IST) From: Nadav Eiron To: Doug White cc: Jim Pirzyk , questions@freebsd.org Subject: Re: Changing boot drives In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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