From owner-freebsd-questions@FreeBSD.ORG Fri Jun 13 01:51:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0B211065687 for ; Fri, 13 Jun 2008 01:51:35 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 4275E8FC19 for ; Fri, 13 Jun 2008 01:51:35 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: (qmail 2018 invoked by uid 89); 13 Jun 2008 01:52:21 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 13 Jun 2008 01:52:21 -0000 Message-ID: <4851D328.8060107@ibctech.ca> Date: Thu, 12 Jun 2008 21:53:44 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Dan Nelson References: <84a992f30806121702r39f132a8y11f8e410221e132c@mail.gmail.com> <20080613012029.GA16341@dan.emsphone.com> In-Reply-To: <20080613012029.GA16341@dan.emsphone.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Glenn Gillis Subject: Re: Tried to symlink /etc to another disk, now stuck X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2008 01:51:35 -0000 Dan Nelson wrote: >> To make a long story shorter, is there any hope for getting a >> privileged user account on this machine to move /etc back to where it >> should be? > > It may be easiest to boot a live CD (FreeSBIE, or a FreeBSD-7 install > disc 1 should work), mount both of your hard drives from it, and put > /etc back where it belongs that way. This is a very good point, but in this case, if its only /etc that has been relocated, the system is at mountroot> because fstab can't be found. If the disk type is known, it is as simple as typing the appropriate location of the root fs at that prompt and the system will come up. Under single user, the OP would have full access to everything to revert the changes (perhaps other disk areas with binaries may have to be mounted manually as well)... I'm off to try it. I've got a system here with a da device. I'll fsck up /etc/fstab, reboot, and report back with the appropriate mountroot> prompt entry... Steve