LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Slackware 12 Not Booting bad inittab entry (https://www.linuxquestions.org/questions/linux-newbie-8/slackware-12-not-booting-bad-inittab-entry-622535/)

dfields 02-20-2008 11:07 AM

Slackware 12 Not Booting bad inittab entry
 
My slackware 12 system hangs when booting and ends with the following last 3 lines:

Bad inittab entry: id:3:initdefault:
Bad inittab entry: pf::powerfail:/sbin/genpowerfail start
Bad inittab entry: pg::powerokwait:/sbin/genpowerfail stop

Any help would be appreciated before I move to re-installing the OS (a third time). :)

Thanks!

bigrigdriver 02-20-2008 12:22 PM

The id:3:initdefault: looks OK, but there seem to be signigicant differences between Slackware and Suse.

My inittab has this for the powerfail lines:
Code:

# what to do when power fails/returns
pf::powerwait:/etc/init.d/powerfail start
po::powerokwait:/etc/init.d/powerfail stop

But, as the saying goes, 'in Linux, there's more than one way to do the job'. Or words to that effect.

Update: after googling a bit, I find that genpowerfail has to do with UPS or some such thing. I found this:
http://www.overclock.net/linux-unix/...slackware.html, which shows inittab entries like this:
Code:

# What to do when power fails.
pf::powerfail:/sbin/genpowerfail start

# If power is back, cancel the running shutdown.
pg::powerokwait:/sbin/genpowerfail stop

It looks like your inittab is ok. The problem lies elsewhere.

Try dmesg and /var/log/messages to look for other problems.

Drakeo 02-20-2008 12:53 PM

well the proplem is at that point it is calling on the hardware.when did this start and is this a dual boot system. if it is does the other distro start. did you tweak your lilo comands? little more info

dfields 02-21-2008 07:35 AM

Re-Installing
 
I'm not sure what is going on with this install - I've tried some suggestions I've found here and nothing seems to be working. It's not a dual-boot system - just Slackware 12.0 linux kernel 2.6.21.5-smp and its not going past those lines from my previous post.

Thanks for everyone's suggestions and help though!

Drakeo 02-21-2008 08:46 AM

when I asked dual boot I was asking do you already have windows on this because this looks like a cpu failure. and if so can you boot windows. call for power and the mother board is not sending it.

dfields 02-21-2008 08:52 AM

Not Dual Boot
 
No its not a dual boot machine - just slack on it

masonm 02-21-2008 09:00 AM

It may help if you post both your inittab file and the lilo.conf file.

H_TeXMeX_H 02-21-2008 12:49 PM

If this is a fresh install, I would also make sure the media you used is not corrupt.


All times are GMT -5. The time now is 08:51 AM.