Created
March 16, 2009 01:22
-
-
Save rtanglao/79628 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dd if=/dev/disk1s1 of=BUG_backup.ext3.bin | |
tar xvfjv bug-image-production-bug-R1.4-rootfs.ext3.bz2 | |
dd if=bug-image-production-bug-R1.4-rootfs.ext3.bz2 of=/dev/disk1s1 | |
95105+1 records in | |
95105+1 records out | |
sudo /usr/local/sbin/fsck.ext3 /dev/disk1s1 | |
e2fsck 1.39 (29-May-2006) | |
Couldn't find ext2 superblock, trying backup blocks... | |
/usr/local/sbin/fsck.ext3: Bad magic number in super-block while trying to open /dev/disk1s1 | |
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> | |
sudo /usr/local/sbin/resize2fs /dev/disk1s1 | |
resize2fs 1.39 (29-May-2006) | |
/usr/local/sbin/resize2fs: Bad magic number in super-block while trying to open /dev/disk1s1 | |
Couldn't find valid filesystem superblock. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment