Declan Moriarty wrote: % I'm in trouble - 'Can't mount root filesystem' - that sort of trouble.
[tale of woe mercifully deleted] % Any other ideas? Somebody circulated some scripts to rescue this a while % back, but they're saved on the dud partition :-( Try mke2fs -S on the dead partition. -S causes e2fs to write only the superblock and group descriptors, leaving the data alone. Use the same block size as the file system has. The man page entry says it all: -S Write superblock and group descriptors only. This is useful if all of the superblock and backup superblocks are corrupted, and a last-ditch recov ery method is desired. It causes mke2fs to reini tialize the superblock and group descriptors, while not touching the inode table and the block and inode bitmaps. The e2fsck program should be run immediately after this option is used, and there is no guarantee that any data will be salvageable. It is critical to specify the correct filesystem blocksize when using this option, or there is no chance of recovery. Kurt -- His designs were strictly honourable, as the phrase is: that is, to rob a lady of her fortune by way of marriage. -- Henry Fielding, "Tom Jones" _______________________________________________ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users