Corrupt inittab/rc.sysinit ?!
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Red Hat support > Red Hat General > Corrupt inittab/rc.sysinit ?!




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Corrupt inittab/rc.sysinit ?!  
George Hewitt


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:08 AM

Major problems here, very definite case to show that you shouldn't fiddle if
you don't know what you're doing!!

I was looking to make a few changes to the system (RH 8) as follows:

1. Change it so it loaded to a text local login (ie. no X/GUI) on boot.

2. Have a PERL program start running at boot time.

......

Okay, so I did a little background reading on the above. Found that to
accomplish (1) I needed to set it to runlevel 3 at boot, instead of 5.
Changed this in the necessary file (can't remember which one, but it was as
documented).

The second part I was a little less confident about. As I understood it I
needed to add it to the rc.local file, which I did. This didn't cut it so I
tried adding a sh script into rc.d and then followed instructions to symlink
it to rc.3.

Now when I boot I can't do anything, comes up with death-errors as detailed:

INIT: /etc/inittab[xx] : missing action field
INIT: Cannot execute "/etc/rc.d/rc.sysinit
INIT: Entering runlevel: 3
grep: /proc/cmdline : No such file or directory
Entering non-interactive startup
INIT: Cannot execute "/sbin/update
INIT: ID "1" Respawning too fast: disabled for 5 minutes
INIT: ID "2" Respawning too fast: disabled for 5 minutes
INIT: ID "3" Respawning too fast: disabled for 5 minutes
INIT: ID "4" Respawning too fast: disabled for 5 minutes
INIT: ID "5" Respawning too fast: disabled for 5 minutes
INIT: ID "6" Respawning too fast: disabled for 5 minutes
INIT: No more processes left in this runlevel.


Ooops! Any help would be so appreciated! (This'll teach me...)







[ Post a follow-up to this message ]



    Re: Corrupt inittab/rc.sysinit ?!  
J.O. Aho


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:08 AM

George Hewitt wrote:
quote:
> Major problems here, very definite case to show that you shouldn't fiddle if > you don't know what you're doing!! > > I was looking to make a few changes to the system (RH 8) as follows: > > 1. Change it so it loaded to a text local login (ie. no X/GUI) on boot. > > 2. Have a PERL program start running at boot time. > > ...... > > Okay, so I did a little background reading on the above. Found that to > accomplish (1) I needed to set it to runlevel 3 at boot, instead of 5. > Changed this in the necessary file (can't remember which one, but it was a s > documented). > > The second part I was a little less confident about. As I understood it I > needed to add it to the rc.local file, which I did. This didn't cut it so I > tried adding a sh script into rc.d and then followed instructions to symli nk > it to rc.3. > > Now when I boot I can't do anything, comes up with death-errors as detaile d: > > INIT: /etc/inittab[xx] : missing action field > INIT: Cannot execute "/etc/rc.d/rc.sysinit > INIT: Entering runlevel: 3 > grep: /proc/cmdline : No such file or directory > Entering non-interactive startup > INIT: Cannot execute "/sbin/update > INIT: ID "1" Respawning too fast: disabled for 5 minutes > INIT: ID "2" Respawning too fast: disabled for 5 minutes > INIT: ID "3" Respawning too fast: disabled for 5 minutes > INIT: ID "4" Respawning too fast: disabled for 5 minutes > INIT: ID "5" Respawning too fast: disabled for 5 minutes > INIT: ID "6" Respawning too fast: disabled for 5 minutes > INIT: No more processes left in this runlevel. > > > Ooops! Any help would be so appreciated! (This'll teach me...) > >
If I would be you, I would put in CD1 and boot from that, typing at the prom pt 'linux rescue'. When you got so far that the system partitions are mounted and you have chroot:ed to it too, then install the initscripts packages from the CD1 rpm -Uvh --force initscripts-7.14-1.i386.rpm (the version number may be different) When this is done, just reboot (do an exit twice). //Aho




[ Post a follow-up to this message ]



    Re: Corrupt inittab/rc.sysinit ?!  
George Hewitt


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:08 AM

Cheers, I thought it would be something along that line.

Will give that a shot as soon as CD1 is downloaded again(gone and lost the
blasted thing..)
quote:
> If I would be you, I would put in CD1 and boot from that, typing at the
prompt
quote:
> 'linux rescue'. > > When you got so far that the system partitions are mounted and you have > chroot:ed to it too, then install the initscripts packages from the CD1 > > rpm -Uvh --force initscripts-7.14-1.i386.rpm > > (the version number may be different) > > When this is done, just reboot (do an exit twice). > > > > //Aho >




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:31 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register