Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!oakhill!nhatrang!kbta From: kbta@nhatrang (Khanh-Binh Ta) Subject: Re: [Q] How to edit file /etc/rc.local Message-ID: <CH9EED.48J@oakhill.sps.mot.com> Sender: news@oakhill.sps.mot.com Nntp-Posting-Host: nhatrang Organization: Motorola SPS, Austin, Texas X-Newsreader: TIN [version 1.2 PL2] References: <CGwJJ9.BDq@oakhill.sps.mot.com> <CGxEpM.Bpw@mentor.cc.purdue.edu> <rwa.754075243@aupair.cs.athabascau.ca> Date: Mon, 29 Nov 1993 15:15:49 GMT Lines: 33 Ross Alexander (rwa@aupair.cs.athabascau.ca) wrote: : spm@staff.cc.purdue.edu (Sean McDermott) writes: : >To edit the file....do the following......... : >boot single user...(type -s at the boot prompt) : >mount -u -o rw / : You might want to run "fsck /dev/rXX0a" for some suitable value of XX first. : >mount /var : >mount /usr : Ditto here. Or else just "fsck -p". : >mount (anything else in /etc/fstab) : mount -t ufs -a. He hasn't initialized the network yet. : >cd etc : >vi rc.local : >sync;sync;sync : >shutdown -r now Hello all, I've got my NetBSD back by following the steps above. Many thanks to Ross, Sean and all... kb