From owner-freebsd-newbies Wed Dec 12 16:13:46 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 3CD0A37B420 for ; Wed, 12 Dec 2001 16:13:25 -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 QAA01833; Wed, 12 Dec 2001 16:12:53 -0800 (PST) Date: Wed, 12 Dec 2001 16:12:53 -0800 (PST) From: Annelise Anderson To: Petre Bandac Cc: freebsd-newbies@FreeBSD.ORG Subject: Re: oops I did it again :-) In-Reply-To: <01121223350503.00192@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: > the part with mount /dev/ad .... worked, and I may praise myself I got the > idea before reading your mail - anyways thanks very much for your help. > > one last question - call me lazy because I didn't RTFM - but the kernel stuff > is the same like in linux - for every extra thing I need - quota support and > other stuff - I must recompile, right ? but where are the sources ? [stupid > question, isn't it ? :-)] sources are in /usr/src; config files are in /usr/src/sys/i386/conf, and you'll need to add stuff from LINT to GENERIC (copy GENERIC first to a new name, and edit the copy) but see the handbook for step-by-step instructions (they're in my book, too); I think quotas need something from LINT but I'm not sure; you probably need to enable something in rc.conf as well overall it's different from linux and I'd avoid making too many analogies Annnelise > now the last thing I need to config is the X Window and I can say I got a > fully functionable freebsd box ... > > thanks again, > > petre > > On Wednesday 12 December 2001 19:38, Annelise Anderson wrote using one of his > keyboards: > > 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