LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Zenwalk
User Name
Password
Zenwalk This forum is for the discussion of Zenwalk Linux.

Notices



Reply
 
Search this Thread
Old 08-03-2011, 07:23 AM   #1
jcmahne
LQ Newbie
 
Registered: Nov 2010
Posts: 16

Rep: Reputation: 2
Crashed X


We have had several power downs and X has crashed in a big way.
error: ext2_lookup:delelted inode reference etc.
How do i boot directly into the terminal (at the splash screen?)?
What command can i use to restore X? Xorgwizard?

Thanks in advance for replying.

PS; i'm wondering why Linux distro's have these problems,and why Windows does not.
 
Old 08-03-2011, 07:33 AM   #2
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
That's not X having the problems, but the filesystem itself. I would boot into a liveCD and use
Code:
fsck -t ext2 /dev/<partition>
where partition is whichever partition has the problem - I would guess probably your root one. If you don't know which one this is, do something like
Code:
ls /dev/?da?
which will list your partitions.

PS: Perhaps this is not the most tactful thing to say on Linux Questions. But my feeling is these things don't tend to happen if you know what you're doing

Last edited by Snark1994; 08-03-2011 at 07:35 AM.
 
Old 08-03-2011, 10:35 AM   #3
jcmahne
LQ Newbie
 
Registered: Nov 2010
Posts: 16

Original Poster
Rep: Reputation: 2
Quote:
But my feeling is these things don't tend to happen if you know what you're doing
I don't know what you mean.It's a standard Zenwalk install.It crashed after a power failure.What was i supposed to do to prevent it?
I agree it's the file system, but why should a user change the standard file system?
I've had this happen before under other distro's too.
But thanks for the reply.
BTW i can list my partitions as i'm running a rescue disc.How do i fix the corrupted files?

Last edited by jcmahne; 08-03-2011 at 10:37 AM.
 
Old 08-04-2011, 06:32 AM   #4
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
Fair enough - I guess my point was more that what you said was more likely to lead to an argument about Windows vs Linux rather than helping you solve your problem. I then went for the bait and replied -_- I apologise.

Regardless: have you tried running that 'fsck' command I gave you on the partition? It should try to repair all the problems that it can. The return code from fsck tells you what it did (type 'man fsck' for more information).

Hope this helps,
 
Old 08-04-2011, 01:55 PM   #5
jcmahne
LQ Newbie
 
Registered: Nov 2010
Posts: 16

Original Poster
Rep: Reputation: 2
No problem.Thanks for help.
The File System Checker did not help.
I reinstalled into the existing partition and simply restored the user account,so everything is back to normal without to much bother.Luckily i've learned,the hard way, the lesson to back up accounts.
Thanks again.
 
Old 08-05-2011, 05:10 AM   #6
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
Do you have a separate partition for /home ? If you don't, you might find it useful to do so. This means you can re-install the distro (or even install a new one) without overwriting anything under /home that said, regular backups are still a good thing
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Crashed Again MooseMagnet Linux - Newbie 3 01-31-2009 06:39 PM
crashed jcombs_31 Slackware 12 11-06-2005 05:11 PM
X crashed. bruse Fedora 3 05-28-2005 11:44 PM
I just crashed vi! vasudevadas General 8 01-16-2005 01:44 AM
X crashed chem1 Linux - Hardware 1 06-13-2003 07:39 PM


All times are GMT -5. The time now is 05:04 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration