Subject: Re: rc.conf and install
To: David Walker <diw@tpg.com.au>
From: Martin Weber <Ephaeton@gmx.net>
List: netbsd-help
Date: 08/08/2001 08:21:27
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