Reparation boot sector Windows 10

Utiliser TestDisk pour réparer le système de fichier
Locked
Message
Author
diaboliqk
Posts: 2
Joined: 12 Aug 2020, 20:45

Reparation boot sector Windows 10

#1 Post by diaboliqk »

Bonjour,

je tente de reparer le boot sector windows 10 de mon laptop qui s'est transforme en RAW du jour au lendemain.

Lorsque j'accede aux fichiers, et que j'essaye d'aller dans le dossier C:/Users, l'app gele, et par la suite je ne vois plus la partition du tout.

Je roule Fedora sur une cle USB, et je dois redemarrer l'ordinateur afin de voir a nouveau les partitions de mon disque.

De plus... je n'arrive toujours pas a booter windows 10.

Voici le log

```


Wed Aug 12 18:04:44 2020
Command line: TestDisk

TestDisk 7.2-WIP, Data Recovery Utility, August 2020
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org
OS: Linux, kernel 5.6.6-300.fc32.x86_64 (#1 SMP Tue Apr 21 13:44:19 UTC 2020) x86_64
Compiler: GCC 4.4
ext2fs lib: 1.42.8, ntfs lib: libntfs-3g, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504, curses lib: ncurses 5.7
Warning: can't get size for Disk /dev/mapper/control - 0 B - 0 sectors, sector size=512
Hard disk list
Disk /dev/sda - 31 GB / 29 GiB - CHS 30000 64 32, sector size=512 - Generic Flash Disk, FW:8.07
Disk /dev/mapper/live-base - 8055 MB / 7682 MiB - 15732736 sectors (RO), sector size=512
Disk /dev/mapper/live-rw - 8055 MB / 7682 MiB - 15732736 sectors, sector size=512
Disk /dev/dm-0 - 8055 MB / 7682 MiB - 15732736 sectors, sector size=512
Disk /dev/dm-1 - 8055 MB / 7682 MiB - 15732736 sectors (RO), sector size=512
Disk /dev/loop0 - 1847 MB / 1761 MiB - 3608008 sectors (RO), sector size=512
Disk /dev/loop1 - 8055 MB / 7682 MiB - 15732736 sectors (RO), sector size=512
Disk /dev/loop2 - 34 GB / 32 GiB - 67108864 sectors, sector size=512
Disk /dev/nvme0n1 - 256 GB / 238 GiB - CHS 244198 64 32, sector size=512

Partition table type (auto): EFI GPT
Disk /dev/nvme0n1 - 256 GB / 238 GiB
Partition table type: EFI GPT
New options :
Dump : No
Align partition: Yes
Expert mode : No

Interface Advanced
hdr_size=92
hdr_lba_self=1
hdr_lba_alt=500118191 (expected 500118191)
hdr_lba_start=34
hdr_lba_end=500118158
hdr_lba_table=2
hdr_entries=128
hdr_entsz=128
check_part_gpt failed for partition
2 P MS Reserved 534528 567295 32768 [Microsoft reserved partition]
1 P EFI System 2048 534527 532480 [EFI system partition]
2 P MS Reserved 534528 567295 32768 [Microsoft reserved partition]
3 P MS Data 567296 463976447 463409152 [Basic data partition] [Windows]
NTFS, blocksize=4096, 237 GB / 220 GiB
4 P Windows Recovery Env 463976448 465983487 2007040 [Basic data partition]
5 P MS Data 465983488 500105215 34121728 [Basic data partition] [RECOVERY]
NTFS, blocksize=4096, 17 GB / 16 GiB

ntfs_boot_sector
3 P MS Data 567296 463976447 463409152 [Basic data partition] [Windows]
NTFS, blocksize=4096, 237 GB / 220 GiB
NTFS at 277/0/1
NTFS at 277/0/1
filesystem size 463409152
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 2
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
mft at 16
ntfs_find_mft: mft_lcn 786432
ntfs_find_mft: mftmirr_lcn 2
ntfs_find_mft: sectors_per_cluster 8
ntfs_find_mft: mft_lcn 786432
ntfs_find_mft: mftmirr_lcn 2
ntfs_find_mft: mft_record_size 1024 bytes
ntfs_find_mft: index_block_size 4096
Extrapolated boot sector and current boot sector are identical.
filesystem size 463409152
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 2
clusters_per_mft_record -10
clusters_per_index_record 1

ntfs_boot_sector
3 P MS Data 567296 463976447 463409152 [Basic data partition] [Windows]
NTFS, blocksize=4096, 237 GB / 220 GiB
NTFS at 277/0/1
NTFS at 277/0/1
filesystem size 463409152
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 2
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_device_testdisk_io_ioctl() unimplemented
NTFS Volume is dirty.


dir_partition inode=5
3 P MS Data 567296 463976447 463409152 [Basic data partition] [Windows]
NTFS, blocksize=4096, 237 GB / 220 GiB
Directory /
5 dr-xr-xr-x 0 0 0 9-Aug-2020 18:10 .
5 dr-xr-xr-x 0 0 0 9-Aug-2020 18:10 ..
632 dr-xr-xr-x 0 0 0 2-Dec-2018 16:55 $Recycle.Bin
118420 dr-xr-xr-x 0 0 0 24-Jan-2019 19:12 Dys-Vocal
16899 dr-xr-xr-x 0 0 0 13-Dec-2018 17:53 Guild Wars 2
161583 dr-xr-xr-x 0 0 0 13-Oct-2018 06:19 Intel
173874 dr-xr-xr-x 0 0 0 13-Jun-2020 12:18 IntelOptaneData
7489 dr-xr-xr-x 0 0 0 6-May-2020 19:58 OneDriveTemp
52777 dr-xr-xr-x 0 0 0 13-Jun-2020 13:10 PerfLogs
52781 dr-xr-xr-x 0 0 0 13-Jun-2020 13:16 Program Files
84859 dr-xr-xr-x 0 0 0 13-Jun-2020 12:25 Program Files (x86)
85796 dr-xr-xr-x 0 0 0 13-Jun-2020 13:19 ProgramData
60 dr-xr-xr-x 0 0 0 13-Jun-2020 12:17 Recovery
14754 dr-xr-xr-x 0 0 0 14-Jul-2020 14:21 SWSetup
36 dr-xr-xr-x 0 0 0 2-Dec-2018 16:13 SYSTEM.SAV
17 dr-xr-xr-x 0 0 0 9-Aug-2020 23:03 System Volume Information
86751 dr-xr-xr-x 0 0 0 13-Jun-2020 12:21 Users
87005 dr-xr-xr-x 0 0 0 19-Jul-2020 18:44 Windows
1882 dr-xr-xr-x 0 0 0 13-Oct-2018 06:16 hp
16556 dr-xr-xr-x 0 0 0 1-Jun-2020 20:51 temp
5604 -r--r--r-- 0 0 31526 14-Jul-2020 14:22 dism.log
86127 -r--r--r-- 0 0 3387072512 10-Aug-2020 22:12 hiberfil.sys
2867 -r--r--r-- 0 0 3489660928 8-Aug-2020 21:32 pagefile.sys
5641 -r--r--r-- 0 0 16777216 8-Aug-2020 21:32 swapfile.sys

TestDisk exited normally.
```

Merci pour cette application et de m'aider!

recuperation
Posts: 2720
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: Reparation boot sector Windows 10

#2 Post by recuperation »

Le fichier de type log mentionne:

[...
ntfs_boot_sector
3 P MS Data 567296 463976447 463409152 [Basic data partition] [Windows]
NTFS, blocksize=4096, 237 GB / 220 GiB
NTFS at 277/0/1
NTFS at 277/0/1
filesystem size 463409152
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 2
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_device_testdisk_io_ioctl() unimplemented
NTFS Volume is dirty.
...]

A mon avis il faut brancher le disque avec un autre ordinateur windows et appliquer chkdsk comme décrit dans le manuel.
Faut d'abord démarrer l'autre machine et brancher le mauvais disque après.

https://www.cgsecurity.org/testdisk.pdf

diaboliqk
Posts: 2
Joined: 12 Aug 2020, 20:45

Re: Reparation boot sector Windows 10

#3 Post by diaboliqk »

Est-ce que c'est possible de faire ceci avec msdart par exemple ? Booter une version de windows sur clé USB ? Autre ? Quelqu'un a déjà essayé ceci ? https://www.hirensbootcd.org/download/
J'aimerais mieux garder en dernier recours d'avoir à ouvrir le laptop, si c'est possible.

recuperation
Posts: 2720
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: Reparation boot sector Windows 10

#4 Post by recuperation »

diaboliqk wrote: 14 Aug 2020, 22:27 Est-ce que c'est possible de faire ceci avec msdart par exemple ?
Le msdart je ne le connais pais. Je suppose que oui.

Booter une version de windows sur clé USB ?
Oui. Une vérsion de Windows qui n'est pas plus vieux que votre installation.

Autre ? Quelqu'un a déjà essayé ceci ? https://www.hirensbootcd.org/download/
Non, pas de chkdsk visible dessous.
J'aimerais mieux garder en dernier recours d'avoir à ouvrir le laptop, si c'est possible.
Au moment, cela n'est pas encore nécessaire.

Locked