LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-05-2008, 02:48 PM   #1
TristanDee
Member
 
Registered: Nov 2007
Location: Dhaka, Bangladesh
Distribution: Arch
Posts: 118

Rep: Reputation: 16
Home directory can't be detected


This is a weird situation: I was playing a movie in Gnome's default player, often advancing with the seekbar. As I once pulled the seekbar quite far, the display suddenly went off and the computer seemed quite busy for a few minutes--and there was still no display. I tried the keyboard, even the Reset button--to restart the PC, but they didn't work. I had to turn off the switch on the switch board (now I regret for not waiting a few more minutes before doing that).

I powered on the PC after a while but nothing happened except for the power led getting on and the DVD-ROM led blinking several times. There was no display and nothing else.

However, later it was found that the power supply had some problems. So, I changed it and everything came back to life.

Except, during the verbose booting log I got this error:
Quote:
Loading kernel modules....
done.
Checking file systems....
fsck.ext3: No such file or directory while trying to open /dev/sda9
/dev/sda9:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock
e2fsck -b 8193 <device>
fsck died with exit status 8
failed (code 8)
File system check failed. A log is being saved in /var/log/fsck/checkfs if that location is writable. Please repair the file system manually. failed!
A maintenance shell will now be started. CONTROL-D will terminate this shell and resume system boot. (warning)
Give root password for maintenance
(or type CONTROL-D to continue):_
I didn't understand what to do for the maintenance.
 
Old 10-06-2008, 12:41 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Did you try running "e2fsck -b 8193 /dev/sda9" as it instructed?

Basically, your filesystem has become corrupted because it was not cleanly unmounted when the system was forcibly shutdown. You need to attempt file recovery to get the partition back into working order, if for nothing else than to recover as much files from it as possible.
 
Old 10-06-2008, 02:23 AM   #3
TristanDee
Member
 
Registered: Nov 2007
Location: Dhaka, Bangladesh
Distribution: Arch
Posts: 118

Original Poster
Rep: Reputation: 16
Yeah, last night I tried e2fsck -b 8193 /dev/sda9 but it did return the same as
Quote:
fsck.ext3: No such file or directory while trying to open /dev/sda9
/dev/sda9:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock
e2fsck -b 8193 <device>
I understand that it became corrupted. But how can I recover the partition or its files? Is there an easy, effective way? I'm googling for ways, but any suggestions from you guys?
 
Old 10-10-2008, 01:53 AM   #4
TristanDee
Member
 
Registered: Nov 2007
Location: Dhaka, Bangladesh
Distribution: Arch
Posts: 118

Original Poster
Rep: Reputation: 16
Solved! It was just a glitch hardware settings

I'm not exactly sure which mal-setting of hardware caused this problem. I changed a few of them in these few days while running Windows XP all the time with a broken heart and making preparations for a reinstall of Debian--I installed R-Linux on my XP and recovered over 1GB files from my Debian Home dir.

Apparently, while changing the power supply the technician made those wrong settings: the most important one which I suspect prevented Debian from loading was the guy connected the harddisk to wrong SATA port (XP loaded fine, though). Also the SATA DVD-RAM was not connected at all.

Fixing those, I was still on XP. This morning I booted into Debian just out of curiosity...

And voila! Lenny is there! Everything is the same they were!

I write this post because there have been many visitors to this thread but there wasn't any solution. I thought no one has ever experienced this. But I know a few must have been thinking about it. So, this is to let evryone know that it had to be the hardware thing.

Thanks everyone!
 
Old 10-10-2008, 01:34 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
My guess would be the Technician restored the Default BIOS settings.

Changing something as simple as LBA access to the drive in BIOS could confuse the system when it tries to access the drive.
 
Old 10-10-2008, 02:33 PM   #6
TristanDee
Member
 
Registered: Nov 2007
Location: Dhaka, Bangladesh
Distribution: Arch
Posts: 118

Original Poster
Rep: Reputation: 16
Well, I don't think so, because I didn't have to change any settings in the BIOS.

While connecting the DVD-RAM I noticed that the bootable hard disk was connected to the slave SATA port. As I said, XP booted without any problems though. I have another hard drive--an IDE one--installed as secondary slave. The secondary master is a DVD-ROM. I just connected the bootable HDD as primary master and the DVD-RAM as slave. And I can log on to Debian again!

I said I'm not sure if what I did really solved the issue.

Anyways, thanks for yor reply, farslayer.
 
Old 10-10-2008, 02:36 PM   #7
Total-MAdMaN
Member
 
Registered: May 2008
Distribution: Gentoo
Posts: 306

Rep: Reputation: 34
Mistyped. Please ignore.

Last edited by Total-MAdMaN; 10-10-2008 at 02:39 PM.
 
Old 10-10-2008, 03:17 PM   #8
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I must have misread.. I thought you said after changing BIOS settings it started working again.. Wow was that ever off.. It's been a long day and I'm just looking forward to getting out of work and hitting the road to the Ohio Linuxfest.

Come on clock T minus 43 minutes and counting
 
  


Reply



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
contents of 'home' directory found at sda5: mounted as /home, and also on sda6:/home leswatson Linux - Newbie 4 04-18-2008 04:02 PM
restoring desktop directory in /root (or any home directory) mel_lai Linux - Newbie 3 02-04-2008 03:13 AM
Active Directory User Cannot Write to Samba Home Directory jonwatson Linux - Networking 2 12-19-2006 12:40 PM
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 02:37 PM
How to protect a file/directory in your home login directory (RH Linux) jitsenho Linux - Security 9 07-03-2006 11:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:08 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
Open Source Consulting | Domain Registration