LinuxQuestions.org
Help answer threads with 0 replies.
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 10-08-2003, 02:50 PM   #1
Avatar33
Member
 
Registered: May 2003
Location: South Africa
Distribution: Ubuntu
Posts: 75

Rep: Reputation: 15
Post X Wont Start


Hi all.

I'm not sure what I did to my poor Linux system but I had to run fsck to repair a whole lot of errors on my linux partition. Now my PC boots up to displaying the desktop (and the window that usually shows that different services are starting) and then my system hangs. I saw a post that recommends reinstalling "xfs" and "x". I'm just wondering if that will kill all my hard work that I've done with settings. Eg Setting up NVidia Geforce drivers. I can still boot fine into text mode. I'm running Redhat 8.0.
Thanks
 
Old 10-08-2003, 03:51 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,334

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
Take a look in the lost+found directory and see if fsck put any files or directories in lost+found because it did not know what they were.



___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 10-09-2003, 01:33 PM   #3
Avatar33
Member
 
Registered: May 2003
Location: South Africa
Distribution: Ubuntu
Posts: 75

Original Poster
Rep: Reputation: 15
Thanks jailbait I looked at your suggestion. When I look in lost+found there are a whole bunch of directories and files but they are all numbers. When I try to go into one of the directories the prompt changes to
Code:
#root
and there seems to be the same files in all the directories. So how am I supposed to know where these directories must go and what their names were before fsck. Thanks again!!
 
Old 10-09-2003, 04:15 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,334

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
" there are a whole bunch of directories and files but they are all numbers."

fsck gave them numbers because it did not know what the real file name is. It put them in lost+found because it does not know where they belong.

"there seems to be the same files in all the directories."

fsck cross checks a file system in several different directions to be sure to find everything. Sometimes it finds the same lost file in several different checks. fsck puts everything it finds in lost+found and passes the baton to you. In your case it may have copied the same entire directory to lost+found several times under different numbers. Also these files could be fragments of the complete file.

"So how am I supposed to know where these directories must go and what their names were before fsck."

Now comes the tricky part. You look at the contents of each number file and mumble something like, "of course, that's a gnome2 configuration file in XML format." Then you copy it to where it belongs and rename it. If you recognize it as a gnome2 configuration file but don't know where it goes you might be able to get by with reconfiguring gnome.

Seriously, since X doesn't work these lost files are probably something to do with X or gnome or KDE. After you have browsed through the contents of lost+found you may have a more precise idea of exactly what is broken. Then try reinstalling the broken component.


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

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
X wont start fester2001 Linux - Software 2 09-02-2004 12:12 AM
x wont start! Username[SWE] Debian 5 08-02-2004 04:17 PM
x wont start jsmarshall85 Debian 14 07-22-2004 04:41 PM
x wont start hurricane Slackware 4 10-17-2003 02:09 PM
X wont start ..help dilbert Linux - Software 4 03-18-2002 10:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:25 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