Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-01-2006, 01:43 PM   #1
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

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

  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
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.
# e2fsck -v /dev/sda1


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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration