Partition cant be recovered - disk is too small

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
romeo51
Posts: 2
Joined: 04 Nov 2012, 22:28

Partition cant be recovered - disk is too small

#1 Post by romeo51 »

I need help...i cant recover my partition..i think my drive geometry is wrong? is cylindernumber right? i dont know how to calculate it. thanks in advance!

log:



Sun Nov 4 21:34:58 2012
Command line: TestDisk

TestDisk 6.12, Data Recovery Utility, May 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Linux, kernel 3.0.0-pmagic (#1 SMP Fri Jul 29 19:06:18 CDT 2011) i686
Compiler: GCC 4.5
Compilation date: 2011-05-15T12:36:01
ext2fs lib: 1.41.14, ntfs lib: libntfs-3g, reiserfs lib: none, ewf lib: none
/dev/sda: LBA, HPA, DCO support
/dev/sda: size 240121728 sectors
/dev/sda: user_max 240121728 sectors
/dev/sda: native_max 240121728 sectors
/dev/sda: dco 240121728 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 - 122 GB / 114 GiB - CHS 14946 255 63, sector size=512 - ATA Maxtor 6Y120P0
Disk /dev/sdb - 7811 MB / 7450 MiB - CHS 1021 241 62, sector size=512 - Intenso Premium Line

Partition table type (auto): Intel
Disk /dev/sda - 122 GB / 114 GiB - ATA Maxtor 6Y120P0
Partition table type: Intel

Analyse Disk /dev/sda - 122 GB / 114 GiB - CHS 14946 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 0/1/1
NTFS at 10199/1/1
get_geometry_from_list_part_aux head=255 nbr=6
get_geometry_from_list_part_aux head=8 nbr=2
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=6
Current partition structure:
1 * HPFS - NTFS 0 1 1 10198 254 63 163846872
2 E ext
ed LBA 10199 0 1 14944 254 63 76244490
5 L HPFS - NTFS 10199 1 1 14944 254 63 76244427
Ask the user for vista mode
Computes LBA from CHS for Disk /dev/sda - 122 GB / 114 GiB - CHS 14947 255 63
Allow partial last cylinder : Yes
search_vista_part: 1

search_part()
Disk /dev/sda - 122 GB / 114 GiB - CHS 14947 255 63
NTFS at 0/1/1
filesystem size 163846872
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 10240429
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 0 1 1 10198 254 63 163846872
NTFS, 83 GB / 78 GiB
NTFS at 10199/1/1
filesystem size 76244427
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 4765276
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 10199 1 1 14944 254 63 76244427
NTFS, 39 GB / 36 GiB
get_geometry_from_list_part_aux head=255 nbr=4
get_geometry_from_list_part_aux head=8 nbr=1
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=4

Results
* HPFS - NTFS 0 1 1 10198 254 63 163846872
NTFS, 83 GB / 78 GiB
L HPFS - NTFS 10199 1 1 14944 254 63 76244427
NTFS, 39 GB / 36 GiB

interface_write()
1 * HPFS - NTFS 0 1 1 10198 254 63 163846872
2 E extended LBA 10199 0 1 14944 254 63 76244490
5 L HPFS - NTFS 10199 1 1 14944 254 63 76244427
Record 0 has no FILE magic (0x45084946)
Failed to load $MFT: Input/output error
Record 0 has no FILE magic (0x45084946)
Failed to load $MFT: Input/output error

search_part()
Disk /dev/sda - 122 GB / 114 GiB - CHS 14947 255 63
NTFS at 0/1/1
filesystem size 163846872
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 10240429
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 0 1 1 10198 254 63 163846872
NTFS, 83 GB / 78 GiB
BAD_RS LBA=227257710 13865046
check_part_i386 failed for partition type 07
HPFS - NTFS 14146 35 16 180651 222 57 2674914648
This partition ends after the disk limits. (start=227257710, size=2674914648, end=2902172357, disk end=240123555)
NTFS at 10198/254/63
filesystem size 163846872
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 10240429
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 0 1 1 10198 254 63 163846872
NTFS found using backup sector!, 83 GB / 78 GiB
NTFS at 10199/1/1
filesystem size 76244427
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 4765276
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 10199 1 1 14944 254 63 76244427
NTFS, 39 GB / 36 GiB
NTFS at 14944/254/63
filesystem size 76244427
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 4765276
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 10199 1 1 14944 254 63 76244427
NTFS found using backup sector!, 39 GB / 36 GiB
Disk /dev/sda - 122 GB / 114 GiB - CHS 14947 255 63
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (122 GB / 114 GiB) seems too small! (< 1485 GB / 1383 GiB)
The following partition can't be recovered:
HPFS - NTFS 14146 35 16 180651 222 57 2674914648
get_geometry_from_list_part_aux head=255 nbr=4
get_geometry_from_list_part_aux head=8 nbr=1
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=4

Results
* HPFS - NTFS 0 1 1 10198 254 63 163846872
NTFS, 83 GB / 78 GiB
L HPFS - NTFS 10199 1 1 14944 254 63 76244427
NTFS, 39 GB / 36 GiB
ntfs_device_testdisk_io_ioctl() unimplemented
ntfs_device_testdisk_io_ioctl() unimplemented


dir_partition inode=0
* HPFS - NTFS 0 1 1 10198 254 63 163846872
NTFS, 83 GB / 78 GiB
Directory /
Change partition type:
* HPFS - NTFS 0 1 1 10198 254 63 163846872
NTFS, 83 GB / 78 GiB

interface_write()
1 * HPFS - NTFS 0 1 1 10198 254 63 163846872
2 E extended LBA 10199 0 1 14944 254 63 76244490
5 L HPFS - NTFS 10199 1 1 14944 254 63 76244427
simulate write!

write_mbr_i386: starting...
write_all_log_i386: starting...
write_all_log_i386: CHS: 10199/0/1,lba=163846935

Analyse Disk /dev/sda - 122 GB / 114 GiB - CHS 14947 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 0/1/1
NTFS at 10199/1/1
get_geometry_from_list_part_aux head=255 nbr=6
get_geometry_from_list_part_aux head=8 nbr=2
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=6
Current partition structure:
1 * HPFS - NTFS 0 1 1 10198 254 63 163846872
2 E extended LBA 10199 0 1 14944 254 63 76244490
5 L HPFS - NTFS 10199 1 1 14944 254 63 76244427
Ask the user for vista mode
Allow partial last cylinder : Yes
search_vista_part: 0

search_part()
Disk /dev/sda - 122 GB / 114 GiB - CHS 14947 255 63
NTFS at 0/1/1
filesystem size 163846872
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 10240429
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 0 1 1 10198 254 63 163846872
NTFS, 83 GB / 78 GiB
NTFS at 10199/1/1
filesystem size 76244427
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 4765276
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 10199 1 1 14944 254 63 76244427
NTFS, 39 GB / 36 GiB
get_geometry_from_list_part_aux head=255 nbr=4
get_geometry_from_list_part_aux head=8 nbr=1
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=4

Results
* HPFS - NTFS 0 1 1 10198 254 63 163846872
NTFS, 83 GB / 78 GiB
L HPFS - NTFS 10199 1 1 14944 254 63 76244427
NTFS, 39 GB / 36 GiB

interface_write()
1 * HPFS - NTFS 0 1 1 10198 254 63 163846872
2 E extended LBA 10199 0 1 14944 254 63 76244490
5 L HPFS - NTFS 10199 1 1 14944 254 63 76244427
simulate write!

write_mbr_i386: starting...
write_all_log_i386: starting...
write_all_log_i386: CHS: 10199/0/1,lba=163846935

Analyse Disk /dev/sda - 122 GB / 114 GiB - CHS 14947 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 0/1/1
NTFS at 10199/1/1
get_geometry_from_list_part_aux head=255 nbr=6
get_geometry_from_list_part_aux head=8 nbr=2
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=6
Current partition structure:
1 * HPFS - NTFS 0 1 1 10198 254 63 163846872
2 E extended LBA 10199 0 1 14944 254 63 76244490
5 L HPFS - NTFS 10199 1 1 14944 254 63 76244427
Ask the user for vista mode
Allow partial last cylinder : Yes
search_vista_part: 1

search_part()
Disk /dev/sda - 122 GB / 114 GiB - CHS 14947 255 63
NTFS at 0/1/1
filesystem size 163846872
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 10240429
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 0 1 1 10198 254 63 163846872
NTFS, 83 GB / 78 GiB
NTFS at 10199/1/1
filesystem size 76244427
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 4765276
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 10199 1 1 14944 254 63 76244427
NTFS, 39 GB / 36 GiB
get_geometry_from_list_part_aux head=255 nbr=4
get_geometry_from_list_part_aux head=8 nbr=1
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=4

Results
* HPFS - NTFS 0 1 1 10198 254 63 163846872
NTFS, 83 GB / 78 GiB
L HPFS - NTFS 10199 1 1 14944 254 63 76244427
NTFS, 39 GB / 36 GiB

interface_write()
1 E extended LBA 10199 0 1 14944 254 63 76244490
5 L HPFS - NTFS 10199 1 1 14944 254 63 76244427
simulate write!

write_mbr_i386: starting...
write_all_log_i386: starting...
write_all_log_i386: CHS: 10199/0/1,lba=163846935

Analyse Disk /dev/sda - 122 GB / 114 GiB - CHS 14947 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 0/1/1
NTFS at 10199/1/1
get_geometry_from_list_part_aux head=255 nbr=6
get_geometry_from_list_part_aux head=8 nbr=2
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=6
Current partition structure:
1 * HPFS - NTFS 0 1 1 10198 254 63 163846872
2 E extended LBA 10199 0 1 14944 254 63 76244490
5 L HPFS - NTFS 10199 1 1 14944 254 63 76244427
Ask the user for vista mode
Allow partial last cylinder : Yes
search_vista_part: 1

search_part()
Disk /dev/sda - 122 GB / 114 GiB - CHS 14947 255 63
NTFS at 0/1/1
filesystem size 163846872
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 10240429
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 0 1 1 10198 254 63 163846872
NTFS, 83 GB / 78 GiB
NTFS at 10199/1/1
filesystem size 76244427
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 4765276
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 10199 1 1 14944 254 63 76244427
NTFS, 39 GB / 36 GiB
get_geometry_from_list_part_aux head=255 nbr=4
get_geometry_from_list_part_aux head=8 nbr=1
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=4

Results
* HPFS - NTFS 0 1 1 10198 254 63 163846872
NTFS, 83 GB / 78 GiB
L HPFS - NTFS 10199 1 1 14944 254 63 76244427
NTFS, 39 GB / 36 GiB

interface_write()
1 * HPFS - NTFS 0 1 1 10198 254 63 163846872
2 E extended LBA 10199 0 1 14944 254 63 76244490
5 L HPFS - NTFS 10199 1 1 14944 254 63 76244427

search_part()
Disk /dev/sda - 122 GB / 114 GiB - CHS 14947 255 63
NTFS at 0/1/1
filesystem size 163846872
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 10240429
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 0 1 1 10198 254 63 163846872
NTFS, 83 GB / 78 GiB
BAD_RS LBA=227257710 13865046
check_part_i386 failed for partition type 07
HPFS - NTFS 14146 35 16 180651 222 57 2674914648
This partition ends after the disk limits. (start=227257710, size=2674914648, end=2902172357, disk end=240123555)
NTFS at 10198/254/63
filesystem size 163846872
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 10240429
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 0 1 1 10198 254 63 163846872
NTFS found using backup sector!, 83 GB / 78 GiB
NTFS at 10199/1/1
filesystem size 76244427
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 4765276
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 10199 1 1 14944 254 63 76244427
NTFS, 39 GB / 36 GiB
NTFS at 14944/254/63
filesystem size 76244427
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 4765276
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 10199 1 1 14944 254 63 76244427
NTFS found using backup sector!, 39 GB / 36 GiB
Disk /dev/sda - 122 GB / 114 GiB - CHS 14947 255 63
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (122 GB / 114 GiB) seems too small! (< 1485 GB / 1383 GiB)
The following partition can't be recovered:
HPFS - NTFS 14146 35 16 180651 222 57 2674914648
get_geometry_from_list_part_aux head=255 nbr=4
get_geometry_from_list_part_aux head=8 nbr=1
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=4

Results
* HPFS - NTFS 0 1 1 10198 254 63 163846872
NTFS, 83 GB / 78 GiB
L HPFS - NTFS 10199 1 1 14944 254 63 76244427
NTFS, 39 GB / 36 GiB

interface_write()
1 * HPFS - NTFS 0 1 1 10198 254 63 163846872
2 E extended LBA 10199 0 1 14944 254 63 76244490
5 L HPFS - NTFS 10199 1 1 14944 254 63 76244427
simulate write!

write_mbr_i386: starting...
write_all_log_i386: starting...
write_all_log_i386: CHS: 10199/0/1,lba=163846935

Analyse Disk /dev/sda - 122 GB / 114 GiB - CHS 14947 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 0/1/1
NTFS at 10199/1/1
get_geometry_from_list_part_aux head=255 nbr=6
get_geometry_from_list_part_aux head=8 nbr=2
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=6
Current partition structure:
1 * HPFS - NTFS 0 1 1 10198 254 63 163846872
2 E extended LBA 10199 0 1 14944 254 63 76244490
5 L HPFS - NTFS 10199 1 1 14944 254 63 76244427
Ask the user for vista mode
Allow partial last cylinder : Yes
search_vista_part: 0

search_part()
Disk /dev/sda - 122 GB / 114 GiB - CHS 14947 255 63
NTFS at 0/1/1
filesystem size 163846872
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 10240429
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 0 1 1 10198 254 63 163846872
NTFS, 83 GB / 78 GiB
NTFS at 10199/1/1
filesystem size 76244427
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 4765276
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 10199 1 1 14944 254 63 76244427
NTFS, 39 GB / 36 GiB
get_geometry_from_list_part_aux head=255 nbr=4
get_geometry_from_list_part_aux head=8 nbr=1
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=4

Results
* HPFS - NTFS 0 1 1 10198 254 63 163846872
NTFS, 83 GB / 78 GiB
L HPFS - NTFS 10199 1 1 14944 254 63 76244427
NTFS, 39 GB / 36 GiB

interface_write()
1 * HPFS - NTFS 0 1 1 10198 254 63 163846872
2 E extended LBA 10199 0 1 14944 254 63 76244490
5 L HPFS - NTFS 10199 1 1 14944 254 63 76244427
simulate write!

write_mbr_i386: starting...
write_all_log_i386: starting...
write_all_log_i386: CHS: 10199/0/1,lba=163846935

Interface Advanced
Geometry from i386 MBR: head=255 sector=63
NTFS at 0/1/1
NTFS at 10199/1/1
get_geometry_from_list_part_aux head=255 nbr=6
get_geometry_from_list_part_aux head=8 nbr=2
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=6
1 * HPFS - NTFS 0 1 1 10198 254 63 163846872
NTFS, 83 GB / 78 GiB
2 E extended LBA 10199 0 1 14944 254 63 76244490
5 L HPFS - NTFS 10199 1 1 14944 254 63 76244427
NTFS, 39 GB / 36 GiB

ntfs_boot_sector
1 * HPFS - NTFS 0 1 1 10198 254 63 163846872
NTFS, 83 GB / 78 GiB
NTFS at 0/1/1
NTFS at 0/1/1
filesystem size 163846872
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 10240429
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.
rebuild_NTFS_BS
Failed to rebuild NTFS boot sector.

ntfs_boot_sector
1 * HPFS - NTFS 0 1 1 10198 254 63 163846872
NTFS, 83 GB / 78 GiB
NTFS at 0/1/1
NTFS at 0/1/1
filesystem size 163846872
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 10240429
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.

Analyse Disk /dev/sda - 122 GB / 114 GiB - CHS 14947 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 0/1/1
NTFS at 10199/1/1
get_geometry_from_list_part_aux head=255 nbr=6
get_geometry_from_list_part_aux head=8 nbr=2
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=6
Current partition structure:
1 * HPFS - NTFS 0 1 1 10198 254 63 163846872
2 E extended LBA 10199 0 1 14944 254 63 76244490
5 L HPFS - NTFS 10199 1 1 14944 254 63 76244427
Ask the user for vista mode
Allow partial last cylinder : Yes
search_vista_part: 1

search_part()
Disk /dev/sda - 122 GB / 114 GiB - CHS 14947 255 63
NTFS at 0/1/1
filesystem size 163846872
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 10240429
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 0 1 1 10198 254 63 163846872
NTFS, 83 GB / 78 GiB
NTFS at 10199/1/1
filesystem size 76244427
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 4765276
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 10199 1 1 14944 254 63 76244427
NTFS, 39 GB / 36 GiB
get_geometry_from_list_part_aux head=255 nbr=4
get_geometry_from_list_part_aux head=8 nbr=1
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=4

Results
* HPFS - NTFS 0 1 1 10198 254 63 163846872
NTFS, 83 GB / 78 GiB
L HPFS - NTFS 10199 1 1 14944 254 63 76244427
NTFS, 39 GB / 36 GiB

interface_write()
1 * HPFS - NTFS 0 1 1 10198 254 63 163846872
2 E extended LBA 10199 0 1 14944 254 63 76244490
5 L HPFS - NTFS 10199 1 1 14944 254 63 76244427
simulate write!

write_mbr_i386: starting...
write_all_log_i386: starting...
write_all_log_i386: CHS: 10199/0/1,lba=163846935

Analyse Disk /dev/sda - 122 GB / 114 GiB - CHS 14947 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 0/1/1
NTFS at 10199/1/1
get_geometry_from_list_part_aux head=255 nbr=6
get_geometry_from_list_part_aux head=8 nbr=2
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=6
Current partition structure:
1 * HPFS - NTFS 0 1 1 10198 254 63 163846872
2 E extended LBA 10199 0 1 14944 254 63 76244490
5 L HPFS - NTFS 10199 1 1 14944 254 63 76244427
Record 0 has no FILE magic (0x45084946)
Failed to load $MFT: Input/output error
Record 0 has no FILE magic (0x45084946)
Failed to load $MFT: Input/output error

Locked