From owner-freebsd-questions Sat Mar 30 2:34:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tomts22-srv.bellnexxia.net (tomts22.bellnexxia.net [209.226.175.184]) by hub.freebsd.org (Postfix) with ESMTP id A3B0C37B41A for ; Sat, 30 Mar 2002 02:34:24 -0800 (PST) Received: from scaryg.shacknet.nu ([64.231.142.160]) by tomts22-srv.bellnexxia.net (InterMail vM.4.01.03.23 201-229-121-123-20010418) with ESMTP id <20020330103423.NSXS18619.tomts22-srv.bellnexxia.net@scaryg.shacknet.nu> for ; Sat, 30 Mar 2002 05:34:23 -0500 Received: from freymann (helo=localhost) by scaryg.shacknet.nu with local-esmtp (Exim 3.35 #1) id 16rGE4-0007Ry-00 for freebsd-questions@freebsd.org; Sat, 30 Mar 2002 05:36:48 -0500 Date: Sat, 30 Mar 2002 05:36:48 -0500 (EST) From: "Gerald T. Freymann" To: freebsd-questions@freebsd.org Subject: Moving a HD from ControllerA to CtrlB Message-ID: <20020330052955.M28629-100000@scaryg.shacknet.nu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have a situation where I have a hard drive connected to a hd controller and that controller has kicked the bucket. I don't have a mate to swap with, but I do have a different controller card I can use. The problem being FreeBSD won't boot because the device names have obviously changed. I get to a mountroot prompt, and I can use ufs:da0s1a and that will give me read access to the directories only. The old slices where: /dev/mlxd0s1a #/ /dev/mlxd0s1e #/home /dev/mlxd0s1f #/usr /dev/mlxd0s1g #/var /dev/mlxd0s1h #/web Would the new slices be same letters at the end, just replace mlxd0 with da0 ? Then, I need to get write access to root, and update /etc/fstab with the new device names... what is the command to get read/write access? And is it possible to simply edit fstab? or are there more files that need to be updated.... My goal is to make this drive bootable again into FreeBSD. Any assistance greatly appreciated! -ger To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message