From owner-freebsd-questions@FreeBSD.ORG Fri Jun 13 02:07:34 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 BC0ED1065672 for ; Fri, 13 Jun 2008 02:07:34 +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 4E7DF8FC14 for ; Fri, 13 Jun 2008 02:07:34 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: (qmail 2513 invoked by uid 89); 13 Jun 2008 02:08:19 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 13 Jun 2008 02:08:19 -0000 Message-ID: <4851D6DD.8090801@ibctech.ca> Date: Thu, 12 Jun 2008 22:09:33 -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> <4851D328.8060107@ibctech.ca> In-Reply-To: <4851D328.8060107@ibctech.ca> 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 02:07:34 -0000 Steve Bertrand wrote: > Dan Nelson wrote: > 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... # cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/da0a / ufs rw,noatime 1 1 md /tmp mfs rw,-s32M,nosuid,noatime 0 0 (..snip..) ..change /etc/fstab to mount root to /dev/ad15a, reboot: mountroot> # mountroot>ufs:/dev/da0a {ENTER} ...machine boots up. To the OP...if you know what your disk type is, you CAN get it to continue to mount root at the mountroot prompt. Furthering that, you can also fsck and mount your other disk mountpoints in order to gain access to your editing binaries. There is no need to use an external resource to boot the machine from if you are already aware that the only thing that got fsck'd up is the mountpoints in the fstab (or, like in this case, the file was unavailable entirely). The disk structure is still the same, and the system can see this with manual intervention. OP: at the mountroot> prompt, try this: ufs:/dev/ad0s1a and see if you get anywhere. Steve