[Ubuntu-BR] problema com partição ntfs (mft)

José Aniceto anicetovt em ig.com.br
Sexta Janeiro 28 22:37:11 UTC 2011


Olá pessoal,
estou precisando da colaboração de vcs para resolver um problema. É o
seguinte: quando abro o gparted informa que o disco /dev/sda está
unallocated. Já o testdisk acha mas não resolveu, este é o log.


Fri Jan 28 19:18:31 2011
Command line: TestDisk

TestDisk 6.11, Data Recovery Utility, April 2009
Christophe GRENIER <grenier em cgsecurity.org>
http://www.cgsecurity.org
OS: Linux, kernel 2.6.35-25-generic (#44-Ubuntu SMP Fri Jan 21 17:40:44 UTC
2011)
Compiler: GCC 4.4 - Jun 23 2009 17:48:38
ext2fs lib: 1.41.12, ntfs lib: 10:0:0, reiserfs lib: none, ewf lib: none
/dev/sda: LBA, HPA, LBA48, DCO support
/dev/sda: size       488397168 sectors
/dev/sda: user_max   488397168 sectors
/dev/sda: native_max 488397168 sectors
/dev/sda: dco        488397168 sectors
Warning: can't get size for Disk /dev/mapper/control - 0 B - CHS 1 1 1,
sector size=512
Hard disk list
Disk /dev/sda - 250 GB / 232 GiB - CHS 30401 255 63, sector size=512 - ATA
SAMSUNG HM251JI

Partition table type (auto): Intel
Disk /dev/sda - 250 GB / 232 GiB - ATA SAMSUNG HM251JI
Partition table type: Intel

Analyse Disk /dev/sda - 250 GB / 232 GiB - CHS 30401 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 0/32/33
NTFS at 191/89/27
Current partition structure:
 1 * HPFS - NTFS              0  32 33   191  89 26    3072000 [WINRE]
 2 P HPFS - NTFS            191  89 27 29185  96 24  465789049 [SYSTEM_OS]
 3 P Linux                29185 126 62 30279 140  5   17575936
 4 E extended LBA         30279 141  1 30401 254 63    1967112
 5 L Linux Swap           30279 172 38 30401  42 25    1951728
Computes LBA from CHS for Disk /dev/sda - 250 GB / 232 GiB - CHS 30402 255
63
Allow partial last cylinder : Yes
search_vista_part: 1

search_part()
Disk /dev/sda - 250 GB / 232 GiB - CHS 30402 255 63
NTFS at 0/32/33
filesystem size           3072000
sectors_per_cluster       8
mft_lcn                   128000
mftmirr_lcn               191999
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS              0  32 33   191  89 26    3072000 [WINRE]
     NTFS, 1572 MB / 1500 MiB
NTFS at 191/89/27
filesystem size           465789049
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               30332543
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS            191  89 27 29185  96 24  465789049 [SYSTEM_OS]
     NTFS, 238 GB / 222 GiB

recover_EXT2: s_block_group_nr=0/67, s_mnt_count=6/24,
s_blocks_per_group=32768, s_inodes_per_group=8080
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 2196992
recover_EXT2: part_size 17575936
     Linux                29185 126 62 30279 140  5   17575936
     EXT4 Large file Sparse superblock Recover, 8998 MB / 8582 MiB
     Linux Swap           30279 172 38 30401  42 25    1951728
     SWAP2 version 1, 999 MB / 952 MiB

ResultsDisco /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Unidades = cilindros de 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificador do disco: 0x967f3472

Dispositivo Boot Início Fim Blocos Id Sistema
/dev/sda1   *           1         192     1536000    7  HPFS ou NTFS
A partição 1 não termina no limite do cilindro.
/dev/sda2             192       29186   232894524+   7  HPFS ou NTFS
/dev/sda3           29186       30280     8787968   83  Linux
/dev/sda4           30280       30402      983556    f  Win95 (LBA) Partição
Extendida
/dev/sda5           30280       30402      975864   82  Linux swap / Solaris

   * HPFS - NTFS              0  32 33   191  89 26    3072000 [WINRE]
     NTFS, 1572 MB / 1500 MiB
   P HPFS - NTFS            191  89 27 29185  96 24  465789049 [SYSTEM_OS]
     NTFS, 238 GB / 222 GiB
   P Linux                29185 126 62 30279 140  5   17575936
     EXT4 Large file Sparse superblock Recover, 8998 MB / 8582 MiB
   L Linux Swap           30279 172 38 30401  42 25    1951728
     SWAP2 version 1, 999 MB / 952 MiB

interface_write()
 1 * HPFS - NTFS              0  32 33   191  89 26    3072000 [WINRE]
 2 P HPFS - NTFS            191  89 27 29185  96 24  465789049 [SYSTEM_OS]
 3 P Linux                29185 126 62 30279 140  5   17575936
 4 E extended LBA         30279 141  1 30401 254 63    1967112
 5 L Linux Swap           30279 172 38 30401  42 25    1951728
simulate write!

write_mbr_i386: starting...
write_all_log_i386: starting...
write_all_log_i386: CHS: 30279/141/1,lba=486441018

Interface Advanced
Geometry from i386 MBR: head=255 sector=63
NTFS at 0/32/33
NTFS at 191/89/27
 1 * HPFS - NTFS              0  32 33   191  89 26    3072000 [WINRE]
     NTFS, 1572 MB / 1500 MiB
 2 P HPFS - NTFS            191  89 27 29185  96 24  465789049 [SYSTEM_OS]
     NTFS, 238 GB / 222 GiB
 3 P Linux                29185 126 62 30279 140  5   17575936
     EXT4 Large file Sparse superblock Recover, 8998 MB / 8582 MiB
 4 E extended LBA         30279 141  1 30401 254 63    1967112
 5 L Linux Swap           30279 172 38 30401  42 25    1951728
     SWAP2 version 1, 999 MB / 952 MiB

ntfs_boot_sector
 1 * HPFS - NTFS              0  32 33   191  89 26    3072000 [WINRE]
     NTFS, 1572 MB / 1500 MiB
NTFS at 0/32/33
NTFS at 0/32/33
filesystem size           3072000
sectors_per_cluster       8
mft_lcn                   128000
mftmirr_lcn               191999
clusters_per_mft_record   -10
clusters_per_index_record 1
Boot sector
Status: OK

Backup boot sector
Status: OK

Sectors are identical.

A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.
Failed to open inode: Erro de entrada/saída.
repair_MFT
NTFS at 0/32/33
ntfs_device_testdisk_io_ioctl() unimplemented
ntfs_readdir failed
NTFS listing using MFT:
Directory /
       5 dr-xr-xr-x     0      0         0 30-Jun-2009 12:14 .
       5 dr-xr-xr-x     0      0         0 30-Jun-2009 12:14 ..
ntfs_device_testdisk_io_ioctl() unimplemented
ntfs_device_testdisk_io_ioctl() unimplemented
NTFS filesystem need to be repaired.
ntfs_dir: ntfs_inode_open failed
MFT and MFT mirror are bad. Failed to repair them.
MFT and MFT mirror are bad. Failed to repair them.

ntfs_boot_sector
 1 * HPFS - NTFS              0  32 33   191  89 26    3072000 [WINRE]
     NTFS, 1572 MB / 1500 MiB
NTFS at 0/32/33
NTFS at 0/32/33
filesystem size           3072000
sectors_per_cluster       8
mft_lcn                   128000
mftmirr_lcn               191999
clusters_per_mft_record   -10
clusters_per_index_record 1
Boot sector
Status: OK

Backup boot sector
Status: OK

Sectors are identical.

A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.

ntfs_boot_sector
 2 P HPFS - NTFS            191  89 27 29185  96 24  465789049 [SYSTEM_OS]
     NTFS, 238 GB / 222 GiB
NTFS at 191/89/27
filesystem size           465789049 1
sectors_per_cluster       8 0
mft_lcn                   786432 0
mftmirr_lcn               30332543 0
clusters_per_mft_record   -10 0
clusters_per_index_record 1 0
Boot sector
Status: OK

Backup boot sector
Status: Bad

Sectors are not identical.

A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.

Analyse Disk /dev/sda - 250 GB / 232 GiB - CHS 30402 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 0/32/33
NTFS at 191/89/27
Current partition structure:
 1 * HPFS - NTFS              0  32 33   191  89 26    3072000 [WINRE]
 2 P HPFS - NTFS            191  89 27 29185  96 24  465789049 [SYSTEM_OS]
 3 P Linux                29185 126 62 30279 140  5   17575936
 4 E extended LBA         30279 141  1 30401 254 63    1967112
 5 L Linux Swap           30279 172 38 30401  42 25    1951728
Allow partial last cylinder : Yes
search_vista_part: 1

search_part()
Disk /dev/sda - 250 GB / 232 GiB - CHS 30402 255 63
NTFS at 0/32/33
filesystem size           3072000
sectors_per_cluster       8
mft_lcn                   128000
mftmirr_lcn               191999
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS              0  32 33   191  89 26    3072000 [WINRE]
     NTFS, 1572 MB / 1500 MiB
NTFS at 191/89/27
filesystem size           465789049
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               30332543
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS            191  89 27 29185  96 24  465789049 [SYSTEM_OS]
     NTFS, 238 GB / 222 GiB

recover_EXT2: s_block_group_nr=0/67, s_mnt_count=6/24,
s_blocks_per_group=32768, s_inodes_per_group=8080
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 2196992
recover_EXT2: part_size 17575936
     Linux                29185 126 62 30279 140  5   17575936
     EXT4 Large file Sparse superblock Recover, 8998 MB / 8582 MiB
     Linux Swap           30279 172 38 30401  42 25    1951728
     SWAP2 version 1, 999 MB / 952 MiB

Results
   * HPFS - NTFS              0  32 33   191  89 26    3072000 [WINRE]
     NTFS, 1572 MB / 1500 MiB
   P HPFS - NTFS            191  89 27 29185  96 24  465789049 [SYSTEM_OS]
     NTFS, 238 GB / 222 GiB
   P Linux                29185 126 62 30279 140  5   17575936
     EXT4 Large file Sparse superblock Recover, 8998 MB / 8582 MiB
   L Linux Swap           30279 172 38 30401  42 25    1951728
     SWAP2 version 1, 999 MB / 952 MiB

interface_write()
 1 * HPFS - NTFS              0  32 33   191  89 26    3072000 [WINRE]
 2 P HPFS - NTFS            191  89 27 29185  96 24  465789049 [SYSTEM_OS]
 3 P Linux                29185 126 62 30279 140  5   17575936
 4 E extended LBA         30279 141  1 30401 254 63    1967112
 5 L Linux Swap           30279 172 38 30401  42 25    1951728
simulate write!

write_mbr_i386: starting...
write_all_log_i386: starting...
write_all_log_i386: CHS: 30279/141/1,lba=486441018

TestDisk exited normally.

O fdisk também enxerga as partições,
Disco /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Unidades = cilindros de 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificador do disco: 0x967f3472

Dispositivo Boot Início Fim Blocos Id Sistema
/dev/sda1   *           1         192     1536000    7  HPFS ou NTFS
A partição 1 não termina no limite do cilindro.
/dev/sda2             192       29186   232894524+   7  HPFS ou NTFS
/dev/sda3           29186       30280     8787968   83  Linux
/dev/sda4           30280       30402      983556    f  Win95 (LBA) Partição
Extendida
/dev/sda5           30280       30402      975864   82  Linux swap / Solaris


 uma das partições sda1 consigo montar, a outra não.
Alguém tem alguma idéia.

Grato,
Aniceto



More information about the ubuntu-br mailing list