Re: Screwed my inittab/runlevel

From: Sean Estabrooks (seanlkml_at_rogers.com)
Date: 12/30/03

  • Next message: James Pifer: "Re: Screwed my inittab/runlevel"
    To: redhat-list@redhat.com
    Date: Tue, 30 Dec 2003 17:37:11 -0500
    
    

    On 30 Dec 2003 17:46:12 -0500
    James Pifer <jamesredhatlist@obrien-pifer.com> wrote:

    > On Tue, 2003-12-30 at 17:10, Jason Dixon wrote:
    > > On Tue, 2003-12-30 at 09:17, James Pifer wrote:
    > > > I have a Redhat 9 system that I have totally screwed up inittab and
    > > > runlevel to where it will not boot correctly now. I was trying to
    > > > change
    > > > it from default initlevel 5 to 3. Not sure if I didn't give it
    > > > enough
    > > > time or what, but now it's hosed.
    > > >
    > > > When it boots I get:
    > > > INIT: /etc/inittab[8]: missing action field
    > > > (same line repeats with 19,22,30,33,39,42,43, and 51)
    > > > Cannot execute /etc/rc.d/rc.sysinit
    > >
    > > According to a diff of your inittab against mine, the only change
    > > you've
    > > made is this:
    > >
    > > id:1:initdefault:
    > >
    > > This forces init to boot single-user. I've never tried this, so I'm
    > > not
    > > sure whether to be surprised or not by the error you're seeing.
    > > Change
    > > that line to the following and everything should be ok. If not,
    > > you've
    > > hosed something else.
    > >
    > > id:3:initdefault:
    > >
    > > Jason Dixon, RHCE
    > > DixonGroup Consulting
    > > http://www.dixongroup.net
    > >
    > Yeah, that was the last thing I tried. It was set to 3 before that. Any
    > idea what would cause the errors I posted since inittab looks ok?
    >
    > Thanks,
    > James

    If you edit the inittab with an editor that then stores the file with
    MSDOS line terminators (CR-LF) you'll see that error. Perhaps you've
    resaved the file now with Unix line terminators (LF) and the problem will
    disappear.

    Sean

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: James Pifer: "Re: Screwed my inittab/runlevel"

    Relevant Pages

    • Re: Screwed my inittab/runlevel
      ... On Tue, 2003-12-30 at 09:17, James Pifer wrote: ... > I have a Redhat 9 system that I have totally screwed up inittab and ... > runlevel to where it will not boot correctly now. ... Email me directly with a copy of your inittab. ...
      (RedHat)
    • Re: umount /var on Sol 10
      ... but all things like svcadm don't seem to make a diff. ... svc.startd seems to be run out of inittab at all run levels. ... >> have mirrored all partitions in root disk with SVM. ...
      (comp.sys.sun.admin)