SOLVED ->Re: Help! I killed my rc.conf and cant boot correctly!
Keith Spencer
bsd2000au at yahoo.com.au
Mon Jun 30 05:28:15 PDT 2003
Thanks
--- Roman Neuhauser <neuhauser at bellavista.cz> wrote: >
# bsd2000au at yahoo.com.au / 2003-06-28 16:04:58
> +1000:
> > --- Adam <blueeskimo at gmx.net> wrote: > On Fri,
> > 2003-06-27 at 23:57, Keith Spencer wrote:
> > > > Want to hear a tale of stupidity and woe. I
> screwed up fbsd 4.7
> > > > system rc.conf and can only seem to boot into
> a basic session.
> > > > Cant edit or save to /etc files. What to do
> and you guessed
> > > > it...noboot disk was made although I have
> another 4.7 fbsd machine
> > > > nearby. Tell me it's not fatal guys!
> > >
> > > I don't see why you wouldn't be able to boot
> into single-user mode,
> > > edit the rc.conf, then reboot. What exactly is
> the problem editing
> > > the files in /etc from SU mode?
> >
> > When the machine boots it drops straight into (I
> guess) single user
> > mode. The /usr/sbin /usr/bin cant be cd-ed to and
> the /etc dir says it
> > is read only file system! So I can't save to it.
> I have a "Schlacter
> > tute" fireall setup on it. With whatever security
> it entails. Any
> > clue? Can I interupt the boot and do something?
> > This is a mission critical machine darn it...Oh
> dear!
>
> mount -u /
> mount -a -t ufs
> swapon -a
> /usr/bin/vi /etc/rc.conf
>
> --
> If you cc me or remove the list(s) completely I'll
> most likely ignore
> your message. see
http://www.eyrie.org./~eagle/faqs/questions.html
http://mobile.yahoo.com.au - Yahoo! Mobile
- Check & compose your email via SMS on your Telstra or Vodafone mobile.
More information about the freebsd-questions
mailing list