From owner-freebsd-questions@FreeBSD.ORG Thu Jun 21 21:05:17 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 E51CC16A468 for ; Thu, 21 Jun 2007 21:05:17 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by mx1.freebsd.org (Postfix) with ESMTP id BED6B13C468 for ; Thu, 21 Jun 2007 21:05:17 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 29745 invoked from network); 21 Jun 2007 21:05:16 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 21 Jun 2007 21:05:15 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 7A67728440; Thu, 21 Jun 2007 17:05:14 -0400 (EDT) To: Steel City Phantom References: <467ACC6F.8010907@yahoo.com> From: Lowell Gilbert Date: Thu, 21 Jun 2007 17:05:14 -0400 In-Reply-To: <467ACC6F.8010907@yahoo.com> (Steel City Phantom's message of "Thu\, 21 Jun 2007 15\:07\:27 -0400") Message-ID: <44hcp1xblh.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: remounting a drive 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: Thu, 21 Jun 2007 21:05:18 -0000 Steel City Phantom writes: > ok, i had a working bsd system. > > i shut it down, and removed a drive from it to use in another computer > > i turn it on and i get mounting errors, nothing unsual, can't find drives > > from the manualroot prompt i put in the path to the root partition to > the drive that is still in the machine > > i boot to single user mode > > im now trying to edit my fstab so i can boot normally (the drive > numbers moved from ad1 to ad0 because i removed a hardrive) > > i can see all the files, i mounted my /usr partition, but for some > reason i can't remount the / parition to edit the fstab. when i enter > the command mount -o rw / i get operation not permitted. i tried > mount -o rw /dev/ad1s1 / and mount -o rw /dev/ad0s1 /and got the same > thing. ive used this in the past and it works, i don't know why its > not working now. any ideas? > > bsd 6.2 if it matters > > when i do mount > /dev/ad1s1 on / (ufs, local, read-only) > devfs on /dev (devfs, local) > /dev/ad1s1f on /usr/ (ufs, local, soft-updates) Try the "-u" (update) option.