LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-05-2005, 04:11 PM   #1
comex
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Rep: Reputation: 0
Linux thinks /etc is a file


On an ext3 file system, the /etc directory has been corrupted, and Linux (on a live CD) seems to think that it is a file. How can I retrieve the contents of the directory?
 
Old 09-05-2005, 04:13 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,476

Rep: Reputation: 156Reputation: 156
"On an ext3 file system, the /etc directory has been corrupted, and Linux (on a live CD) seems to think that it is a file. How can I retrieve the contents of the directory?"

Run fsck against the partition. For example:

fsck -t ext3 /dev/hda3

------------------------------
Steve Stites
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux thinks i have 2 monitors hooked up xennetwork Linux - Hardware 3 08-29-2005 04:11 AM
Firefox thinks *.rpm means RealPlayer file! linuxceptic Linux - Software 1 11-18-2004 06:53 PM
Linux thinks Im holding the ctrl key when Im not TroelsSmit Linux - Newbie 4 09-06-2004 02:34 PM
where can I find grammar file and lex file of GNU c ? thinks Huiming Linux - Software 1 06-11-2004 07:38 AM
Linux thinks my CD-RW is a CD-ROM help!! ajgamer Mandriva 11 10-16-2003 10:54 PM


All times are GMT -5. The time now is 09:15 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration