From owner-freebsd-questions@FreeBSD.ORG Tue Feb 6 10:42:46 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5003516A400 for ; Tue, 6 Feb 2007 10:42:46 +0000 (UTC) (envelope-from niclas.zeising@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id DF8FD13C441 for ; Tue, 6 Feb 2007 10:42:45 +0000 (UTC) (envelope-from niclas.zeising@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so1493657uge for ; Tue, 06 Feb 2007 02:42:44 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bzuk1tBGrhvZZvXYzEQBxvyot+bpXodiijMa37XYb+yf9Fs8YxWTDaheoQUwkgZmKI3DFT+b9VnseOwQ7aBV70I1jGnXCILV+lerphKR2tgIxbRFhO5vwP6/J4IcyCFAbeO1nVh/1kCwic5T2eud+y2WIpaRRSM4or2o1B+B7WQ= Received: by 10.78.164.13 with SMTP id m13mr1561704hue.1170758563590; Tue, 06 Feb 2007 02:42:43 -0800 (PST) Received: by 10.78.77.18 with HTTP; Tue, 6 Feb 2007 02:42:43 -0800 (PST) Message-ID: Date: Tue, 6 Feb 2007 11:42:43 +0100 From: "Niclas Zeising" To: "DSA - JCR" In-Reply-To: <4810.217.114.136.133.1170755012.squirrel@llca513-a.servidoresdns.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4810.217.114.136.133.1170755012.squirrel@llca513-a.servidoresdns.net> Cc: freebsd-questions@freebsd.org Subject: Re: How to update fstab (or other) in Single User (read only fs) 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: Tue, 06 Feb 2007 10:42:46 -0000 On 2/6/07, DSA - JCR wrote: > Hi all > > FreeBSD 6.2 i386 > > I need to edit fstab to delete a geom mirror dev in order to boot my PC > and I can=B4t because when my computer boots find a problem in fstab > (because geom mirror device not ok) and then go to Single User mode. > > In this mode I can=B4t edit fstab, because there is not editor working (I= =B4ve > tried ee, vi.. all says "fs is readonly") > > How can I do this? I think there must be a way to do it, isn't it? > > thanks in advance > > Juan Coru=F1a > Desarrollo de Software Atlantico > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > You have to remount / rw, try mount -uw / from the command line prompt you get when you are in single user mode, then use vi /etc/fstab or /rescue/vi /etc/fstab if the regular vi won't work. HTH! //Niclas --