LINUX.ORG.RU

История изменений

Исправление StellzZz, (текущая версия) :

блинство, прервал работу testdisk'a :(

sudo e2fsck -f /dev/sdg2
e2fsck 1.43.3 (04-Sep-2016)
ext2fs_open2: Bad magic number in super-block
e2fsck: Superblock invalid, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open /dev/sdg2

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
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>
 or
    e2fsck -b 32768 <device>

sudo mke2fs -n /dev/sdg2
mke2fs 1.43.3 (04-Sep-2016)
Creating filesystem with 68103341 4k blocks and 17031168 inodes
Filesystem UUID: c64687bd-ca92-4b2c-8b91-602cc710a036
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
        4096000, 7962624, 11239424, 20480000, 23887872

Исходная версия StellzZz, :

sudo e2fsck -f /dev/sdg2
e2fsck 1.43.3 (04-Sep-2016)
ext2fs_open2: Bad magic number in super-block
e2fsck: Superblock invalid, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open /dev/sdg2

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
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>
 or
    e2fsck -b 32768 <device>

sudo mke2fs -n /dev/sdg2
mke2fs 1.43.3 (04-Sep-2016)
Creating filesystem with 68103341 4k blocks and 17031168 inodes
Filesystem UUID: c64687bd-ca92-4b2c-8b91-602cc710a036
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
        4096000, 7962624, 11239424, 20480000, 23887872