LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-01-2006, 01:43 PM   #1
bamsesbilledbog
LQ Newbie
 
Registered: Apr 2005
Posts: 20

Rep: Reputation: 0
Need help using e2fsck (corrupt root inode)


I have a problem mounting an external USB HDD. Running gnome-volume-manager gives

Code:
manager.c/1250: mount_all: mounting /dev/sda1
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

manager.c/1250: mount_all: mounting /dev/hda1
manager.c/659: /org/freedesktop/Hal/devices/block_3_1 already mounted, not mounting again
manager.c/1250: mount_all: mounting /dev/hda2
Error: device /dev/hda2 is not removable
manager.c/1250: mount_all: mounting /dev/hda5
Warning: device /dev/hda5 is already handled by /etc/fstab, supplied label is ignored
mount: according to mtab, none is already mounted on none
mount failed
So checking dmesg | tail gives

Code:
  Vendor: Maxtor 6  Model: L608MD9G          Rev: BANC
  Type:   Direct-Access                      ANSI SCSI revision: 02
usb-storage: device scan complete
SCSI device sda: 586114704 512-byte hdwr sectors (300091 MB)
sda: assuming drive cache: write through
SCSI device sda: 586114704 512-byte hdwr sectors (300091 MB)
sda: assuming drive cache: write through
 /dev/scsi/host0/bus0/target0/lun0: p1
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
EXT2-fs: corrupt root inode, run e2fsck
So apparantly it is a corrupt root inode and e2fsck can correct this. Since it is a full 250 GB HDD I want to ruin anything unintentionally. So, please if anyone know how to do this correct, please help me out.
 
Old 07-03-2006, 01:26 AM   #2
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
Is sda1 supposed to contain an ext3 filesystem?

If yes and assuming that sda1 isnít mounted, then run e2fsck on the indicated partition.
Code:
# e2fsck -v /dev/sda1
 
  


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
Running fsck (or e2fsck) on root file system... xbill311x Linux - Newbie 2 01-02-2006 10:54 PM
Corrupt Superblock, e2fsck bootup problems. purelithium Mandriva 3 10-19-2005 10:39 PM
e2fsck and an inode error Kroenecker Fedora 1 04-14-2005 05:29 PM
e2fsck failed Corrupt superblock gasparov Linux - General 1 02-21-2005 07:16 AM
Directory access denied to root user: inode hack? netmar Linux - Security 2 07-31-2004 04:53 AM


All times are GMT -5. The time now is 03:05 PM.

Main Menu
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