Subject: Re: rc.conf and install
To: None <Ephaeton@gmx.net>
From: David Walker <diw@tpg.com.au>
List: netbsd-help
Date: 08/08/2001 16:45:19
A couple of questions, when I want to read /etc/defaults/rc.conf can I just
type the path and filename or do I need to type read /etc/defaults/rc.conf.
I would probably try both and see which works.
Can you explain what fsck does?
I imagine you mean I should type:
fsck /
and then:
fsck /usr
can you explain what is optional and why?
Presumably then from the root I type mount -a.
Do I need to specify a directory where to mount it?
I see that fsck stands for file system consistency check and it reads
/etc/fstab to find out which filesystems are present and checks them.
A further question, I know I have installed a manual. Apparently if I type
man password it will show me info about netbsd passwords. Do you know if
there is a reference to commands so I can learn about them and stop having
to ask all the time. At the moment I have to try suggestions, reboot into
Windows, connect to www, check my email, search the www, reboot into netbsd,
etc. It's expensive and slow. And I can't imagine anyone wanting to answer
my questions. I wouldn't.

-----Original Message-----
From: Martin Weber <Ephaeton@gmx.net>
To: David Walker <diw@tpg.com.au>
Cc: netbsd-help@netbsd.org <netbsd-help@netbsd.org>
Date: Wednesday, 8 August 2001 15:52
Subject: Re: rc.conf and install


>On Wednesday 08 August 2001 08:12 you've wrote:
>> I have done all this and it appears to work (i.e. I have ./MAKEDEV).
>> I have tried rebooting from HD and it starts but aborts and tells me boot
>> from multi-user, mode not possible and to try single user and "rc.conf
not
>> configured". I tried -s but it says -s not found.
>> Unfortunately when I use vi to edit /etc/rc.conf (presumably vi
>> /etc/rc.conf) it says vi: not found. Perhaps I need to be in a directory
>> other than root to do this? Apparently all I need to do when editing my
>> rc.conf is change 'no' in configured to 'yes'.
>
>Basically yes. Of course you will want to read /etc/defaults/rc.conf for
>defaults and what you might easily change (in /etc/rc.conf of course).
>For the 'vi not found' thing - vi normally resides in /usr/bin/vi , and
that
>means that it's on /usr, which by default lands on an own partition by
>sysinst. So this means, after you've stumbled into single user, make an
>(optional) fsck / and /usr, mount -a (that mounts everything that stands in
>your /etc/fstab, including /usr of course) and then you can happily edit
>rc.conf. Once you have done this your netbsd (yay! ;) machine will boot
>happily. Enjoy,
>
>Martin Weber
>