Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
e2fsck is confused [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gentoonewb39
Guru
Guru


Joined: 28 Jul 2005
Posts: 317

PostPosted: Sat Aug 12, 2006 10:08 am    Post subject: e2fsck is confused [Solved] Reply with quote

I used to have a small 800mb hard drive connected to my computer just for fun, recently I switched that hard drive for a 160gb one. e2fsck still thinks the new drive is the old one so how do I tell it that it is not?
Code:
e2fsck: No such file or directory while trying to open /dev/hdb1
/dev/hdb1:
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>


The 160gb one is an ext3 file system with lots of important files so a reformat is out of the question.


Last edited by gentoonewb39 on Sat Aug 12, 2006 7:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
Shopro
l33t
l33t


Joined: 12 May 2004
Posts: 678
Location: Dayton, OH, USA

PostPosted: Sat Aug 12, 2006 10:31 am    Post subject: Reply with quote

If your old hd was ext2 then you might wan't to check that you updated your /etc/fstab entry to ext3.
_________________
Just because I have nothing to say is no reason why you shouldn't listen.
Back to top
View user's profile Send private message
gentoonewb39
Guru
Guru


Joined: 28 Jul 2005
Posts: 317

PostPosted: Sat Aug 12, 2006 2:26 pm    Post subject: Reply with quote

its set to ext3
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Sat Aug 12, 2006 6:43 pm    Post subject: Reply with quote

The output says, what to do: e2fsck -b 8193 <partition>.
Back to top
View user's profile Send private message
gentoonewb39
Guru
Guru


Joined: 28 Jul 2005
Posts: 317

PostPosted: Sat Aug 12, 2006 7:54 pm    Post subject: Reply with quote

I just dicovered that I had some how accidentally unpluged the ide cable :oops: :roll:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum