Доброго времени суток.
Испортился раздел /home ext4 на /dev/sda4.

# fdisk -l

Disk /dev/sda: 250.1 GB, 250058268160 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00035c12

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1824    14649344   83  Linux
/dev/sda3            3648       16918   106588160    5  Extended
Partition 3 does not end on cylinder boundary.
/dev/sda4           16918       30291   107421875   83  Linux
/dev/sda5            3648       16918   106587136   83  Linux

#cfdisk

  Primary         Free Space                                            1,05    
   *
      sda1               Boot              Primary         Linux ext3           
                             15000,93       *
                                           Pri/Log         Free Space           
                             14999,88       *
      sda5               NC                Logical         Linux ext3           
                            109146,28       *
      sda4                                 Primary         Linux                
                            110000,00       *
                                           Primary         Free Space           
                               908,61       *

#fsck.ext4 -p /dev/sda4
fsck.ext4: Bad magic number in super-block while trying to open /dev/sda4
/dev/sda4: 
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>


 #e2fsck -b 8193 /dev/sda4
e2fsck 1.41.12 (17-May-2010)
e2fsck: Bad magic number in super-block while trying to open /dev/sda4

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>

#testdisk /dev/sda4

 Disk /dev/sda4 - 110 GB / 102 GiB - CHS 13373 255 63
Current partition structure:
     Partition                  Start        End    Size in sectors

 1 * Linux                 1735 105 35  2730 137 31   15986688


дальше глубже ищу, находит разделы home, но записывает  в новую таблицу 
разделов опять 1 * Linux                 1735 105 35  2730 137 31   15986688


 Linux                 1735 105 35  2730 137 31   15986688
  Linux                 6545 112 32 19918 215 41  214843744 [home]
  Linux                 6547  25  7 19920 128 16  214843744 [home]
  Linux                 6547  57 39 19920 160 48  214843744 [home]
  Linux                 6548  30 11 19921 133 20  214843744 [home]
  Linux                 6559  53 23 19932 156 32  214843744 [home]


может надо сначала удалить раздел?

 

Ответить