View previous topic :: View next topic |
Author |
Message |
gentoonewb39 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 28 Jul 2005 Posts: 317
|
Posted: Sat Aug 12, 2006 10:08 am Post subject: e2fsck is confused [Solved] |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Shopro l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1106286335414157011dead.png)
Joined: 12 May 2004 Posts: 678 Location: Dayton, OH, USA
|
Posted: Sat Aug 12, 2006 10:31 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
gentoonewb39 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 28 Jul 2005 Posts: 317
|
Posted: Sat Aug 12, 2006 2:26 pm Post subject: |
|
|
its set to ext3 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Keruskerfuerst Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/723045419532d6679860c2.jpg)
Joined: 01 Feb 2006 Posts: 2289 Location: near Augsburg, Germany
|
Posted: Sat Aug 12, 2006 6:43 pm Post subject: |
|
|
The output says, what to do: e2fsck -b 8193 <partition>. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gentoonewb39 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 28 Jul 2005 Posts: 317
|
Posted: Sat Aug 12, 2006 7:54 pm Post subject: |
|
|
I just dicovered that I had some how accidentally unpluged the ide cable ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|