From owner-freebsd-questions@FreeBSD.ORG Wed Nov 5 12:53:25 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 CF4F81065691 for ; Wed, 5 Nov 2008 12:53:25 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.6]) by mx1.freebsd.org (Postfix) with ESMTP id A1F298FC16 for ; Wed, 5 Nov 2008 12:53:25 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 22430 invoked from network); 5 Nov 2008 12:53:25 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 5 Nov 2008 12:53:25 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id BF48C5083C; Wed, 5 Nov 2008 07:53:21 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id BC25E1CFCB; Wed, 5 Nov 2008 07:53:20 -0500 (EST) To: "Popof Popof" References: <9196e72b0811041057m7d33e3fap9a15246def6eb3a2@mail.gmail.com> <584820.36562.qm@web56807.mail.re3.yahoo.com> <9196e72b0811041507l1714614fw7b4bc8c2b901c763@mail.gmail.com> From: Lowell Gilbert Date: Wed, 05 Nov 2008 07:53:20 -0500 In-Reply-To: <9196e72b0811041507l1714614fw7b4bc8c2b901c763@mail.gmail.com> (Popof Popof's message of "Wed\, 5 Nov 2008 00\:07\:48 +0100") Message-ID: <44skq69vwf.fsf@lowell-desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Questions Subject: Re: Unable to mount / in read - write mode X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2008 12:53:26 -0000 "Popof Popof" writes: > The kernel used is a GENERIC one from 6.0. > > / is mounted but in read-only mode and I can use it in single user mode. > The mount command has been created on October 26 2008 and I hadn't start my > laptop since one year so I'm sure that this comes from my update. Yes, you do seem to have made a mess of your system, all right. If you hadn't used the machine lately anyway, you might find it easier to start from "scratch" (wipe out the installation and start over). But hopefully not. > Using mount command manually failed: > > >> #mount -w /dev/ad0s2a / >> mount option is unknown >> mount: /dev/ad0s2a > > > My fstab file contains > > /dev/ad0s2a / ufs rw 1 1 >> > > but ad0s2a is in ro mode as show mount output > > /dev/ados2a on / (ufs, local, read-only) At least the device names seem to be the same. This might be something silly and minor. You can boot from CD (or floppy, flash drive, etc.) to edit the file, and try to edit the file. Remember that you need a newline at the end of the fstab file, and strange characters can confuse it. > > 2008/11/4 mdh > >> --- On Tue, 11/4/08, Popof Popof wrote: >> > From: Popof Popof >> > Subject: Unable to mount / in read - write mode >> > To: "FreeBSD Questions" >> > Date: Tuesday, November 4, 2008, 1:57 PM >> > Hi, >> > I recently tried to update my FreeBSD 6.0 to FreeBSD 7.0. >> > I don't know where but I made a mistake and I am always >> > booting on the 6.0 >> > kernel. >> > The problem is that I have an error during boot process: >> > >> > mount option is unknown >> > > mount: /dev/ad0s2a : Invalid argument >> > > Mounting root filesystem rw failed, startup aborted >> > > Boot interrupted >> > >> > >> > Its seems that tools have correctly upgraded (man mount let >> > me see that I >> > use the FreeBSD 7 version of mount) but not the kernel. >> > >> > Does someone has an idea to allow me to use my filesystem >> > in read write mode >> > ? >> >> This seems to be a problem with the mount command. Why do you feel the >> kernel may be at fault? If the kernel can get to mount, then it has >> obviously already mounted / (though possibly in read-only mode, which is >> something you should let us know...) >> There is also not necessarily a corrolation between a man page and the >> actual binary. Check the binary's modification time and such for better >> detail here. Beyond that, try running the mount command manually from the >> command line after booting from a CD or in single-user mode, if single-user >> mode works. >> >> - mdh >> >> >> >> >> > _______________________________________________ > 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" > -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/