LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   File system check failed (http://www.linuxquestions.org/questions/linux-software-2/file-system-check-failed-504240/)

lucid_dream 11-23-2006 09:57 AM

File system check failed
 
I installed Ubuntu 6.10, Edgy Eft about a week ago and i is not booting properly. I am getting an error message telling me that the "FILE SYSTEM CHECK FAILED" and it goes to tell me the log was saved in /var/log/fsck/checks. I can not log into view the log. I need help to try and get this fixed.

Thanks

rednuht 11-23-2006 10:34 AM

boot from the ubuntu cd and run fsck on your hard drive
knowing ubuntu that probably means
sudo fsck /dev/hda
in a terminal window

let us know how you get on

lucid_dream 11-23-2006 09:25 PM

I ran "sudo fsck /dev/hda" and this is what i got. I believed i formated my drive with ext3 not ext2. Should i have used ext2? Maybe that is where i went wrong. If so is it possiavle to change the file system without a complete reinstall?

Code:

ubuntu@ubuntu:~$ sudo fsck /dev/hda
fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)
Couldn't find ext2 superblock, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/hda

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>

ubuntu@ubuntu:~$
ubuntu@ubuntu:~$


rednuht 11-26-2006 03:44 PM

try
sudo /dev/hda1

lucid_dream 11-27-2006 09:56 AM

Still nothing when tried with sudo /dev/hda1

I just decided to do a complete reinstall/ reformat. Hopefully I don't trash it again this time.


All times are GMT -5. The time now is 11:44 PM.