From owner-freebsd-questions Fri Feb 22 20:11: 9 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smnolde.com (att-98-60-141.atl.mediaone.net [24.98.60.141]) by hub.freebsd.org (Postfix) with ESMTP id F3C0D37B404 for ; Fri, 22 Feb 2002 20:11:06 -0800 (PST) Received: from bsd ([192.168.10.7] helo=bsd.smnolde.com) by smnolde.com with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 3.30 #1) id 16eTWd-000IUV-00; Fri, 22 Feb 2002 23:11:07 -0500 Received: from scott by bsd.smnolde.com with local (Exim 3.33 #1) id 16eTWc-0000ki-00; Fri, 22 Feb 2002 23:11:06 -0500 Date: Fri, 22 Feb 2002 23:11:06 -0500 From: "Scott M. Nolde" To: Beauford Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Can't boot into FreeBSD Message-ID: <20020222231106.A2554@smnolde.com> References: <000001c1bd5a$ca4c7840$6401a8c0@pr.phub.net.cable.rogers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: <000001c1bd5a$ca4c7840$6401a8c0@pr.phub.net.cable.rogers.com>; from beauford.2002@rogers.com on Sun, Feb 24, 2002 at 09:43:37AM -0800 X-Disclaimer: If you can read this you're looking for too much 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 Beauford(beauford.2002@rogers.com)@2002.02.24 09:43:37 +0000: > Hi, > > I am new to FreeBSD, but am not new to Unix or Linux. I do have a minor > (I think it is) problem. I have two HDs on my system. I installed > FreeBSD and it worked fine, except my second drive wasn't mounted. So I > added a line to fstab as I thought I had just missed something in the > install - apparently not. So to make a long story short, I now to boot > into something that I can only explain as Windows Safe Mode type mode. > All I want to do is remove the entry in fstab, but I can't get an editor > to work as paths aren’t set and some things aren’t mounted. So the > question is, how do I edit this fstab to remove this line, or is their a > better option? > > Thanks > > Beauford > Sounds like you're booting into single user mode. If it's not loading a kernel you may have to use the fixit floppy and use that to mount the root fs and fix the fstab file. Otherwise, you may be in single user mode with the root fs mounted read only. In that case, you'll have to mount -u -t ufs -o rw /dev/whatever to make the mount read-write. Once you successfully remounted the root fs you can use /bin/ed to edit the fstab. There's also /usr/bin/vi but you'll have to mount the /usr slice to use vi. Hope this helps. -- Scott Nolde GPG Key 0xD869AB48 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message