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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-14-2005, 11:57 AM
|
#1
|
Member
Registered: May 2004
Location: Dortmund / Germany
Distribution: Debian, Fedora
Posts: 44
Rep:
|
/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
|
|
|
02-14-2005, 01:16 PM
|
#2
|
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440
Rep:
|
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
|
|
|
02-14-2005, 02:10 PM
|
#3
|
Member
Registered: May 2004
Location: Dortmund / Germany
Distribution: Debian, Fedora
Posts: 44
Original Poster
Rep:
|
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?
|
|
|
02-14-2005, 02:34 PM
|
#4
|
Member
Registered: Sep 2004
Distribution: Gentoo
Posts: 134
Rep:
|
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
|
|
|
02-14-2005, 02:41 PM
|
#5
|
Member
Registered: May 2004
Location: Dortmund / Germany
Distribution: Debian, Fedora
Posts: 44
Original Poster
Rep:
|
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?
|
|
|
02-14-2005, 09:53 PM
|
#6
|
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440
Rep:
|
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
|
|
|
02-15-2005, 01:50 AM
|
#7
|
Member
Registered: May 2004
Location: Dortmund / Germany
Distribution: Debian, Fedora
Posts: 44
Original Poster
Rep:
|
Yes - I tried Knoppix but no chance... and Knoppix also bringt not the required sources to kompile the driver... :-(
|
|
|
11-18-2008, 05:34 PM
|
#8
|
Member
Registered: Jul 2006
Location: Joinville, Brazil
Distribution: Debian, CentOS
Posts: 301
Rep:
|
After almost 4 years, maybe you could try building a customized CD with your specific RAID modules, then I *suppose* it should works.
|
|
|
All times are GMT -5. The time now is 10:14 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|