Linux - SoftwareThis 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.
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.
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...
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.
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?
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.