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 ]
|