LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-20-2008, 11:07 AM   #1
dfields
LQ Newbie
 
Registered: Feb 2008
Location: Ohio
Distribution: Slackware
Posts: 3

Rep: Reputation: 0
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!
 
Old 02-20-2008, 12:22 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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.

Last edited by bigrigdriver; 02-20-2008 at 12:34 PM.
 
Old 02-20-2008, 12:53 PM   #3
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
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
 
Old 02-21-2008, 07:35 AM   #4
dfields
LQ Newbie
 
Registered: Feb 2008
Location: Ohio
Distribution: Slackware
Posts: 3

Original Poster
Rep: Reputation: 0
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!
 
Old 02-21-2008, 08:46 AM   #5
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
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.
 
Old 02-21-2008, 08:52 AM   #6
dfields
LQ Newbie
 
Registered: Feb 2008
Location: Ohio
Distribution: Slackware
Posts: 3

Original Poster
Rep: Reputation: 0
Not Dual Boot

No its not a dual boot machine - just slack on it
 
Old 02-21-2008, 09:00 AM   #7
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
It may help if you post both your inittab file and the lilo.conf file.
 
Old 02-21-2008, 12:49 PM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting into inittab... Linux~Powered Slackware 10 02-09-2008 08:17 AM
ohci_hcd bad entry DropSig Linux - General 4 12-14-2005 08:19 PM
Bad inittab entry ??? Rocker Linux - General 2 09-03-2004 04:30 AM
open ports in an inittab entry wede AIX 3 09-02-2004 03:27 PM
need help booting the system - duplicate /etc/inittab entries? ksgill Linux - Newbie 1 05-10-2004 07:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration