recovering FC3 from a bad superblock

Derek Martin invalid at pizzashack.org
Mon May 16 13:58:00 EDT 2005


On Mon, May 16, 2005 at 01:23:37PM -0400, Greg Rundlett wrote:
> Using the so-called backup superblocks [block-size (8192 *n) +1], it
> reports a 'bad magic number'
> e2fsck -b 16384 -n /dev/hda2

My suggestion would be to run this:

  fsck -b 16384 -a -f /dev/hda2
  sync
  reboot

If your filesystem has errors that fsck can't fix automatically,
There's probably not much else you can do but re-install.  It's
theoretically possible to recover a filesystem by fixing it manually,
but I don't know anyone who can actually do this.  At that point,
mount your fs and get whatever data you can recover from it, and
re-install.

-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail.  Sorry for the inconvenience.  Thank the spammers.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20050516/676d000b/attachment.bin


More information about the gnhlug-discuss mailing list