LinuxQuestions.org
Review your favorite Linux distribution.
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-26-2012, 08:33 PM   #1
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390
Blog Entries: 3

Rep: Reputation: 25
Smile Is it possible System delete its own system file?


Question A:

I have a problem regarding on all files located on filesystem etc folder.

The scenario goes like this.
When i open my computer running on mandriva 2010.2 GNOME Desktop,
my pc stuck up on loading when i press esc for verbose mode i found
a message like this.
"inittab file is missing or no found inittab"

Using another computer i insert the Harddrive of the computer i mentioned that inittab file is missing. When i check filessystem etc folder all folders, conf. file are missing.

Is it possible Mandriva System delete these files.

Question B:
Is it possible Mandriva System edited the inittab file to make
"runlevel 0" or "runlevel 6" as default.

On this problem i encountered Mandriva auto restart when opening and auto shutdown.


Please help i need an answer for this problems/ questions.
This is to prevent this problem happened again because this can cause
downtime into user or client.



Thanks and more powers to LQ>
 
Old 02-27-2012, 10:16 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,899

Rep: Reputation: 4262Reputation: 4262Reputation: 4262Reputation: 4262Reputation: 4262Reputation: 4262Reputation: 4262Reputation: 4262Reputation: 4262Reputation: 4262Reputation: 4262
Quote:
Originally Posted by tailinlinux View Post
Question A:
I have a problem regarding on all files located on filesystem etc folder. The scenario goes like this. When i open my computer running on mandriva 2010.2 GNOME Desktop, my pc stuck up on loading when i press esc for verbose mode i found a message like this. "inittab file is missing or no found inittab"

Using another computer i insert the Harddrive of the computer i mentioned that inittab file is missing. When i check filessystem etc folder all folders, conf. file are missing. Is it possible Mandriva System delete these files.
No. Either your hard drive is going bad, or someone deleted the files. Are any other directories missing, besides /etc? Have you tried to run an fsck on the drive?
Quote:
Question B:
Is it possible Mandriva System edited the inittab file to make "runlevel 0" or "runlevel 6" as default.

On this problem i encountered Mandriva auto restart when opening and auto shutdown. Please help i need an answer for this problems/ questions. This is to prevent this problem happened again because this can cause downtime into user or client.
No. If the inittab file is missing, that's why the system isn't starting up and auto-cycling.
 
1 members found this post helpful.
Old 02-27-2012, 07:16 PM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 8,224
Blog Entries: 4

Rep: Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777Reputation: 2777
You need to set up a stand-alone (e.g. Knoppix) DVD that you can boot your system from, entirely stand-alone, and you also need to practice using it.

My strong suspicion here is that your file system is corrupt and that it is very likely that the entire drive is about to go south.
 
1 members found this post helpful.
Old 02-27-2012, 08:46 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 16,534

Rep: Reputation: 2428Reputation: 2428Reputation: 2428Reputation: 2428Reputation: 2428Reputation: 2428Reputation: 2428Reputation: 2428Reputation: 2428Reputation: 2428Reputation: 2428
Also maybe it was encrypted somehow.

I guess it could be that some mount like fuse put all of that drive into your current distro.

I tend to think the drive has failed.
 
1 members found this post helpful.
Old 02-28-2012, 12:29 AM   #5
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390
Blog Entries: 3

Original Poster
Rep: Reputation: 25
Quote:
No. Either your hard drive is going bad, or someone deleted the files. Are any other directories missing, besides /etc? Have you tried to run an fsck on the drive?
I think no one deleted that files because no one knows root account. Maybe my harddrive is going bad
No missing directories.

In my computer before i encountered missing etc files, the first problem i encountered is
"inittab" file edited as runlevel 0 as default thats why my computer shutdown when i tries to open it.
To fix this problem editing "inittab file" is the solution and make runlevel 3 or 5 as default.
after that the computer is working again. After work hours i decide to power off the computer, then
on the next day opening my new problem is inittab file is missing. and i found out that all etc files are missing.

And to fix this i perform reformatting sda1 partition this is to decreased downtime on troubleshooting
thats why im asking if it is possible that system delete these files.
 
Old 02-28-2012, 01:41 AM   #6
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390
Blog Entries: 3

Original Poster
Rep: Reputation: 25
Quote:
Originally Posted by jefro View Post
Also maybe it was encrypted somehow.

I guess it could be that some mount like fuse put all of that drive into your current distro.

I tend to think the drive has failed.
Maybe the harddrive failed. Its to old and using IDE Cable.
Im planning to upgrade harddrive to SATA Type.

Last edited by tailinlinux; 02-28-2012 at 06:52 PM.
 
Old 02-28-2012, 10:53 PM   #7
lisle2011
Member
 
Registered: Mar 2011
Location: Surrey B.C. Canada (Metro Vancouver)
Distribution: Slackware 2.6.33.4-smp
Posts: 183
Blog Entries: 1

Rep: Reputation: 25
Hard drive corruption

Scrape all the data you want to keep off the hard drive ASAP waste no time use testdisk-6.13. Buy a new drive to have somewhere to store your scraped off stuff. You have to have somewhere to put it. Then of course the real work starts. It's kinda like sorting a huge box of different buttons by color size and shape. Don't keep it running or booting it just leave it alone until the new drive arrives.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Delete system log file but the space not released yuanjunliang Linux - Server 2 09-05-2010 04:15 AM
Delete system log file but the space not released yuanjunliang Linux - Newbie 1 04-23-2009 03:09 PM
shift+delete does not work in hardy file system raphtor Linux - Newbie 7 03-10-2009 07:54 AM
Can't delete file - system just crash everal Slackware 3 01-23-2007 01:36 PM
How to delete hda1 data & File system gardenair Linux - Newbie 1 03-25-2005 08:00 AM


All times are GMT -5. The time now is 02:53 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration