From owner-freebsd-newbies Wed Dec 12 9:39:14 2001 Delivered-To: freebsd-newbies@freebsd.org Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [171.66.112.163]) by hub.freebsd.org (Postfix) with ESMTP id 9FE4337B416 for ; Wed, 12 Dec 2001 09:39:09 -0800 (PST) Received: from localhost (andrsn@localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.9.3/8.9.1) with ESMTP id JAA00266; Wed, 12 Dec 2001 09:38:19 -0800 (PST) Date: Wed, 12 Dec 2001 09:38:19 -0800 (PST) From: Annelise Anderson To: Petre Bandac Cc: freebsd-newbies@FreeBSD.ORG Subject: Re: oops I did it again :-) In-Reply-To: <01121200453701.00174@k> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 12 Dec 2001, Petre Bandac wrote: > edited /etc/fstab for userquota but it says the kernel ain't supporting it > :-) > > now it's being mounted as read-only and I can't undo the changes to fstab; > what's the line I must write at boot time so I can mount the partition (I'm > talking about the root partition /) read-write. > > thanks in advance > > petre > I think typing mount -u / should work. This won't give you any editor but ed, a line editor, however, because for those you need to mount your /usr file system. Since /etc/fstab is corrupted, you can't do mount -a. So you need to use /sbin/mount /dev/ad0s1f /mnt (adjusting as required for file system and mountpoint). It may help to type /bin/cat /etc/fstab so you have the contents of /etc/fstab on the screen to look at to get the info on the file systems. Annelise If you have a bad line in fstab for mounting /, you may have to type /sbin/smount /dev/ad0s1a / instead of mount -u / -- Annelise Anderson Author of: FreeBSD: An Open-Source Operating System for Your PC Available from: BSDmall.com and amazon.com Book Website: http://www.bittreepress.com/FreeBSD/introbook/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message