LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-14-2005, 11:57 AM   #1
Fonk
Member
 
Registered: May 2004
Location: Dortmund / Germany
Distribution: Debian, Fedora
Posts: 44

Rep: Reputation: 15
Question /etc disappeared


Hello,

I'm using Debian Sarge with Kernel 2.6.9.
Yesterday I used my Computer just for MP3-Playing for a few hours and installed the OpenOffice-Helpfiles in German and English with apt-get. Later I shut it down cleanly in the evening. As I booted it today afternoon it told me: "No inittab - Enter runlevel:" but no runlevel worked! As I could see with a Windows Tool my whole /etc directory is empty - there are only two files left from gftp: gftprc and bookmarks! I scanned the partition with a very good recoverytool under windows but none of the files in /etc could be found! So has anyone an idea how to get the files back? I can't start the computer without the init-scripts and chkfs the filesystem in another system is hardly possible because of a RAID 5 System with some Disks...

Thanks for any hint
 
Old 02-14-2005, 01:16 PM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Wow, that's pretty crazy. Do a 'find' for passwd or shadow and see where it lives on your machine. If it doesn't, then I guess your /etc/* got wiped out for some odd reason. Post back the results, I'm curious what happened.

-twantrd
 
Old 02-14-2005, 02:10 PM   #3
Fonk
Member
 
Registered: May 2004
Location: Dortmund / Germany
Distribution: Debian, Fedora
Posts: 44

Original Poster
Rep: Reputation: 15
Because of the RAID-Controller I can't access the volume without a compiled driver - so I have to use Windows and explore2fs. Neither passwd nor shadow can be found by explore2fs or my HDD Restore Utility... I also think that it's a very strange behaviour. My only explanation is that the apt-get for the OpenOffice-Helpfiles erased /etc as I have (or had) unstables in my apt-get sources!

Does anyone know a tool which can write to ext3 under Windows so I can copy /etc from another system? This should work, hm?
 
Old 02-14-2005, 02:34 PM   #4
uman
Member
 
Registered: Sep 2004
Distribution: Gentoo
Posts: 134

Rep: Reputation: 15
You don't need to do it from Windows. Boot from one of the many freely available emergency rescue CDs, mount the drive with your other system (or a CD with the data on it) and copy away.

Cheers,

~uman
 
Old 02-14-2005, 02:41 PM   #5
Fonk
Member
 
Registered: May 2004
Location: Dortmund / Germany
Distribution: Debian, Fedora
Posts: 44

Original Poster
Rep: Reputation: 15
The Problem is that the rescue CD's don't have the driver for my RAID Controller as it is not even in the 2.6.9 Kernel... it is an Highpoint Rocket RAID 454! So I had to compile the driver for exactly the Kernel running on the rescue CD - but I have no system to compile and usually the rescue CD's don't distribute the Kernel-Source, right? Or does anyone know such a rescue CD?
 
Old 02-14-2005, 09:53 PM   #6
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Ahh those damn drivers. Give knoppix a try, it might be able to recognize the hardware. If it does, you're in good shape.

-twantrd
 
Old 02-15-2005, 01:50 AM   #7
Fonk
Member
 
Registered: May 2004
Location: Dortmund / Germany
Distribution: Debian, Fedora
Posts: 44

Original Poster
Rep: Reputation: 15
Yes - I tried Knoppix but no chance... and Knoppix also bringt not the required sources to kompile the driver... :-(
 
Old 11-18-2008, 05:34 PM   #8
sparc86
Member
 
Registered: Jul 2006
Location: Joinville, Brazil
Distribution: Debian, CentOS
Posts: 301

Rep: Reputation: 31
After almost 4 years, maybe you could try building a customized CD with your specific RAID modules, then I *suppose* it should works.
 
  


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
Taskbar disappeared stork Mandriva 1 10-21-2005 02:09 AM
Tripwire disappeared taran Linux - Software 1 05-12-2004 03:16 AM
eth0 just disappeared ben_ch Linux - General 14 03-30-2004 01:24 PM
Partition Disappeared cb8100 Slackware 2 02-20-2004 01:15 PM
NIC Disappeared p1az Slackware 3 02-04-2004 01:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:08 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
Open Source Consulting | Domain Registration