LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-24-2005, 03:50 PM   #1
knoxlinuxuser
Member
 
Registered: Feb 2005
Location: Knoxville, Tennessee
Distribution: SuSE 9.0, Gentoo 2005.0, Fedora Core 4
Posts: 42

Rep: Reputation: 15
Thumbs up KDE Crashed - Now cannot boot! - Problem Solved


Hello,

First some info on my system: Gateway 200ARC, Gentoo 2005.0 w/ 2.6.11 kernel

After compiling KDE yesterday, an attempt to log off KDE (and go back to the GDM login screen), the screen went black, the keys and mouse no longer responded. Reluctant to do a manual power off, I waited almost 2 hours to make sure it was completely frozen, which it was. When nothing else seemed to do the trick, I did a manual power off. When I try to restart, the Grub screen looks normal, but I get the following error in the boot sequence:
Code:
UDF-fs: No partition found (1)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,3)
I'm afraid I have corrupted the file system with the manual power off. If anyone knows some recovery steps I can use to fix the problem, please let me know.

In addition, I have a Knoppix Live CD, so I can access a full linux system and my hard drive.

Thanks in advance for your help.

Last edited by knoxlinuxuser; 04-24-2005 at 07:42 PM.
 
Old 04-24-2005, 04:38 PM   #2
nitrousoxide82
Member
 
Registered: Apr 2005
Location: Rio de Janeiro, Brazil
Distribution: Ubuntu 9.04 (Jaunty), Arch Linux 2009.08
Posts: 83

Rep: Reputation: 17
Try fsck-ing your filesystem using the Knoppix Live CD, and see what fsck reports for it. If it's really corrupted you may have no other choice than remaking the filesystem and reinstalling your OS... more opinions please, as my knowledge doesn't yet go too far beyond this.
 
Old 04-24-2005, 04:54 PM   #3
knoxlinuxuser
Member
 
Registered: Feb 2005
Location: Knoxville, Tennessee
Distribution: SuSE 9.0, Gentoo 2005.0, Fedora Core 4
Posts: 42

Original Poster
Rep: Reputation: 15
HD info: hda1 - boot; hda2 - swap; hda3 - linux

When fsck-ing hda1 I get the following message:
Code:
/dev/hda1: clean, 35/10040 files, 5648/40128 blocks
When fsck-ing hda3 I get the following error:
Code:
fsck.ext2: Bad magic numbe in super-block while trying to open /dev/hda3
/dev/hda3:
The superblock could not be read or does not describe a correct ext2
filesystem.  If the the device is valid and it really contains an ext2
fileystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternative superblock:
    e2fsck -b 8193 <device>
My hda3 partition is formatted with reiserfs and hda1 is formatted with ext2.
I don't really know what to do from here, or what this narrows my options to.
 
Old 04-24-2005, 04:59 PM   #4
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
The right tool would be reiserfsck.
 
Old 04-24-2005, 05:06 PM   #5
nitrousoxide82
Member
 
Registered: Apr 2005
Location: Rio de Janeiro, Brazil
Distribution: Ubuntu 9.04 (Jaunty), Arch Linux 2009.08
Posts: 83

Rep: Reputation: 17
ReiserFS has a fsck of its own. I believe it's called reiserfsck or something like this. I don't really know what the command really is, have used reiserfs only once but decided to hang with ext3 after having trouble with it. Try it again, using the fsck for reiserfs on your /dev/hda3 partition... but to me it still seems that ext3 is less troublesome, my installation on ext3 on the other box I have has endured many system crashes and hard shutdowns without any sort of data corruption. In case it's really corrupted, I'd recommend installing your system on ext3 this next time (the command for creating an ext3 filesystem is mke2fs -j /dev/hdXY, where X identifies the drive and may be [a-z], and Y is the partition on that drive and may be [1-8] (I think), example "/dev/hda3".

(By the way, the command is mke2fs because the ext3 filesystem is nothing more than a journalled version of ext2. The -j option to mke2fs tells it to create the journal for the filesystem.)
 
Old 04-24-2005, 05:28 PM   #6
knoxlinuxuser
Member
 
Registered: Feb 2005
Location: Knoxville, Tennessee
Distribution: SuSE 9.0, Gentoo 2005.0, Fedora Core 4
Posts: 42

Original Poster
Rep: Reputation: 15
Thumbs up Problem Solved

Thanks so much to everybody for the help.

Running reiserfsck revealed that the file system was a little bit messed up. Running reiserfsck --rebuild-tree for the hda3 fixed the problem. I am posting this message from my linux system.

Thanks again.

Last edited by knoxlinuxuser; 04-24-2005 at 07:43 PM.
 
  


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
RedHat 9 crashed; won't boot up osun Linux - General 2 08-31-2005 08:34 PM
kde 3.4 crashed applications alaios Linux - Software 3 08-03-2005 10:49 AM
kde + crashed application alaios Linux - Software 1 05-19-2005 02:15 PM
Crashed program re-appears on evry startup in KDE sfbence Linux - Newbie 1 02-29-2004 01:28 PM
KDE crashed squeaks_27 Linux - General 1 03-25-2003 07:52 PM


All times are GMT -5. The time now is 06:53 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration