From owner-freebsd-questions@FreeBSD.ORG Tue Mar 11 19:09:11 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 270811065671 for ; Tue, 11 Mar 2008 19:09:11 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id DF56D8FC1B for ; Tue, 11 Mar 2008 19:09:10 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id m2BJ6kNs001643; Tue, 11 Mar 2008 15:06:46 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id m2BJ6kdo001642; Tue, 11 Mar 2008 15:06:46 -0400 (EDT) (envelope-from jerrymc) Date: Tue, 11 Mar 2008 15:06:46 -0400 From: Jerry McAllister To: Brian Minard Message-ID: <20080311190646.GC1531@gizmo.acns.msu.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Trouble Rescuing a System 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, 11 Mar 2008 19:09:11 -0000 On Mon, Mar 10, 2008 at 07:25:35PM -0400, Brian Minard wrote: > I am trying to use the Fixit shell from FreeBSD 6.1 STABLE to rescue a > system running 7.0 STABLE. The problem is that I can't make the root > partition (i.e., "/") for the hard disk writable. I can mount other > partitions on the hard disks as writable. The hard disks contain a > mirrored GEOM file system. In creating the GEOM mirror I mapped > /dev/da0 to /dev/mirror/gm0 and then mirrored gm0 on /dev/da1. (All of > the GEOM configuration was done under 6.1 and the system was recently > upgraded to 7.0). > > The fstab I created in the Fixit shell contains the following lines: > > /dev/da0s1a /mnt/root ufs ro 0 > /dev/da0s1d /mnt/var ufs rw 0 Well, when you have it marked as 'ro' as in the line above, it will be mounted read only. Try changing that to 'rw' Make sure it is not already mounted. Do: mount -u /mnt/root ////jerry > > Fixit# mount /mnt/root > Fixit# mount -u -w /mnt/root > mount: /dev/da0s1a: Operation not permitted. > > Mounting the /var file system works as expected. > > What can I do to make /mnt/root a writable file system? > > Thanks, > Brian > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"