PDA

View Full Version : During boot process .. " init: Switching to runlevel: 0



eekarum
07-12-2004, 12:07 AM
I did a HDD install from the Knoppix linuxtag 3.4 DVD, removed all knoppix-specifics and replaced them with official debian packages & kernel 2.6

Now the system won't complete the boot process on its own - after mounting the root filesystem and loading the modules, it initiates a shutdown.

I'm not sure if this is being called from a shutdown script, or what's going on.

I have to start in single user mode and issue "init 2" to get it to work.

Has anyone else seen this, and if not , I would still appreciate some insight.

shah
07-23-2004, 03:06 AM
Try edit your /etc/inittab :

On top of the file should have this line:
# The default runlevel.
id:5:initdefault:

Yout id must be 5, if different change it.

Also check your /etc/rc5.d folder for unusual symlink.

eekarum
09-01-2004, 01:56 AM
Thanks I have tried that, but am still at a loss. The system begins to boot, then switches to runlevel 0 on its own, and halts.

I can only get it to boot by entering single-user mode and issuing 'init 2' .

I have since reinstalled knoppix using knoppix-installer, and upgraded with debian-specific debs. Exact same problem..

What could be causing the system to enter runlevel 0 on its own, during boot? My hdd is clean, and it's not being fsck'd , and nothing out of the ordinary appears to be happening except for this.

shah
09-01-2004, 08:08 AM
I believed there is some services that not suppose to run in your init.
Try list your /etc/rc5.d and /etc/rcS.d, and post it here.