"Adam C. Siepel" <[EMAIL PROTECTED]> writes:

> 
> Fsck told me that I had a bad "magic number" in the superblock for
> /dev/hda6, and recommended running e2fsck -b 8193, to attempt to get to
> some kind of backed-up version of the superblock (I didn't really
> understand this).  E2fsck (-b 8193) gave me the exact same message,
> including the recommendation to run itself with the same option.  Sensing
> the possibility of an infinite recursion, I decided to bail.
> that later (probably need to get Partition Magic and do some resizing of

Not familiar with the specific working of cfdisk but it sound like you
moved the boundaries of the /usr partition throwing off all inode
address etc.

Its not likely, but if you have a readout of fdisk -l or cfdisk that
displays the original setup, then you can rebuild it to the same
beginning and ends as the original, reboot and it should be ok.

fdisk -l looks like:

  Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1       231    931360+   c  Win95 FAT32 (LBA)
/dev/hda2           232       315    338688   83  Linux
/dev/hda3           316       993   2733696    5  Extended
/dev/hda5           316       326     44320+  82  Linux swap
/dev/hda6           327       644   1282144+  83  Linux
/dev/hda7           645       720    306400+  83  Linux
/dev/hda8           721       825    423328+  83  Linux
/dev/hda9           826       876    205600+  83  Linux
 

So with that in front of you you can set the sizes the same.

Barring that.  Get the application called "gpart" which is supposed to
be able to guess a partion tables setup and rebuild it.

It did work great for me when I butchered a dos disk.  "gpart" rewrote
it with no problem.

It is alpha software though so  beware.  Be ready to possibly lose
your installation and have to reinstall.  Any config stuff you  can
get to should be  backed up and put in a safe place.  (maybe on the
dos partition)
        
But better yet, on a different machine.  You could even tar an gzip
then put it in the mail as an attachment.  Download it when running again.

http://www.stud.uni-hannover.de/user/76201/gpart/

Reply via email to