LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-18-2017, 01:39 PM   #1
Glody
LQ Newbie
 
Registered: Apr 2017
Posts: 4

Rep: Reputation: Disabled
No inittab file found


Hello dear all, I use a Slackware 12.2 associated with a database in MYSql, by innatention a collegue abruptly shut down the inverter, which caused the untimely shutdown of the server that we use since 2009 without problem. After restoring the current, we have this error message:
INIT: version 2.86 booting
INIT: No inittab file found
Enter runlevel:
But the machine crashes no keyboard key runs
All suggestions are welcome. Thank you
 
Old 04-18-2017, 01:59 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Welcome to LQ

I'd use a Slackware install DVD or CD1 to boot, then mount the root Slackware 12.2 partition as /mnt, see what is damaged and repair. If really there is no /mnt/etc/inittab or it is damaged, just replace it. Oh and as Slackware 12.2 is no more maintained since December 9, 2013 I advise you to upgrade.

Additionally, so that your post be seen by more people running Slackware, I suggest that you hit "Report" on your own post and request a moderator to move this thread to the Slackware forum.

Last edited by Didier Spaier; 04-18-2017 at 10:41 PM.
 
Old 04-18-2017, 08:34 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Try this: Boot to a Live CD of something (the Slackware install disk might work for this, as this is command line), mount your root directory, then, as root, issue these commands:

Code:
updatedb
locate inittab
If inittab is present but malformed, you might be able to repair it.

I have not tested this.
 
1 members found this post helpful.
Old 04-20-2017, 04:48 AM   #4
Glody
LQ Newbie
 
Registered: Apr 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks for your help, but when I try to type: # updatedb
I have: -sh:updatedb :not found
 
Old 04-20-2017, 04:53 AM   #5
Glody
LQ Newbie
 
Registered: Apr 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you Mr Didier, but the problem is about commands: after to boot with DVD Slackware I have this
Root@Slackware :/# when I try to mount any command be abble
 
Old 04-20-2017, 05:54 AM   #6
Glody
LQ Newbie
 
Registered: Apr 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi, I had just changed my hard drives in another computer, now I can have the ability to type the execution level but only when I have entered the levels from 0 to 6, the following message tells me there are No process in this level
And I do not know what to do
When I boot with my Slackware DVD, after mounting the root
Root @ slackware: / # here I can not execute any command unless I try to edit / etc / inittab
With the code: vi / etc / inittab
It shows me a series of 39 action that execute.
If you can help me with some codes to solve this problem.
cordially.
 
Old 04-21-2017, 11:37 PM   #7
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
Quote:
Originally Posted by Glody View Post
Hi, I had just changed my hard drives in another computer, now I can have the ability to type the execution level but only when I have entered the levels from 0 to 6, the following message tells me there are No process in this level
And I do not know what to do
When I boot with my Slackware DVD, after mounting the root
Root @ slackware: / # here I can not execute any command unless I try to edit / etc / inittab
With the code: vi / etc / inittab
It shows me a series of 39 action that execute.
If you can help me with some codes to solve this problem.
cordially.
save your data and data base configuration to another drive
it sounds like your slack 12.2 is so messed up the easiest way to fix it would be to reinstall
when you get it back up start looking for a way to import you data to a newer version of your database
2009 to 2017 is way tooooo long to go without updating your O/S
you can still use it the software will not wear out but you may be close to not being able to export your data

I just looked at the slackware 14.2 ISO
inittab is in the sysvinit-scripts-2.0-noarch-33.txz package
witch in in the slackware/a directory
in your case look for sysvinit-scripts-?.?-noarch-??.tgz
good luck
 
Old 04-22-2017, 09:00 AM   #8
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by rob.rice View Post
save your data and data base configuration to another drive
it sounds like your slack 12.2 is so messed up the easiest way to fix it would be to reinstall
@OP, if you "reinstall" without formatting the drive, everything should be as normal (assuming your harddrive isn't toast). When you reinstall without formatting, it will just restore all the stock packages without touching your 3rd-party packages. So the only thing you might lose is any customization you did with the official packages.

This might be the best quick-n-dirty solution to get your system back up and running. But as others have mentioned, 12.2 is EOL and you won't be seeing any further updates to the packages, so you probably already are vulnerable to various bugs that are present but haven't been patched. I'd highly recommend you taking this issue and using it to push yourself to a newer, fully supported Slackware. Ideally 14.2, as this would bring you the possibility of the longest supported version of Slackware currently available.
 
  


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
Error: No inittab file found - Possibly /etc corruption redir Linux - General 5 06-16-2008 10:09 PM
INIT No inittab file found KrazyKanuk Linux - Software 6 05-04-2008 09:31 PM
No inittab file found doublej Linux - Newbie 5 07-22-2005 06:35 AM
No inittab file found Rundi Linux - General 2 10-05-2003 10:56 PM
inittab file not found abinux Linux - Software 3 03-13-2003 04:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:52 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