无法完全挂载或克隆 Windows 8.1 硬盘 sda2 丢失

无法完全挂载或克隆 Windows 8.1 硬盘 sda2 丢失

是的,我至少读过 7 篇有类似问题的文章,也尝试过这些解决方案。但我不认为有像这样的问题。

HP Pavilion 笔记本电脑上的 Windows 出现故障,因此我运行了所有可用的 Windows 和 HP 诊断和修复工具,但大多数都失败了。然后我转到 Ubunuto,以便备份数据并尝试恢复出厂设置(我认为这也会失败)。

因此 Windows 表示它只有两个分区,小分区用于系统,主分区用于安装所有程序。它没有显示隐藏的 HP 恢复分区。

Clonezilla 显示 6 个分区 sda1 至 sda6。450GB 是 Windows 主分区 sd4。Ubuntu、Windows HP 诊断工具和 Clonezilla 都无法安装 Windows 分区 sd4。

常见问题是 Windows 8.1 无法正确关闭...因为它出现故障并且无法再启动(因为我也尝试了所有 Windows 修复,我知道它不会启动)。因此我无法进入 Windows 并正确关闭它。

使用 clonezilla,我删除了两个分区上的“Dirty Bit”标志(哇,不仅仅是 sda4,不知道还有什么,可能是 sda2)。所以该程序也可以在这些分区上使用,因为它说如果不删除它就无法做到这一点。

因此它备份了 sda1(500MB 系统)、sda2(不知道)、sda3(不知道)和 sda6(隐藏恢复分区),但没有备份 sda4(包含我所有数据的 450GB 分区)。不知道为什么它不能对 sda5 执行此操作,也不知道它是什么。

clonezilla 的最终消息是“发现了损坏的分区映像或其中一些在此映像中无法检查:nameofthefile”。

因此,我只想挂载 Windows 分区(clonezilla 中的 sda4,ubuntu 中的 sda2,但它无法检测到),恢复我的文件并删除所有内容。有什么想法吗?非常感谢。

it@it:~$ sudo fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 500.1 GB, 500107862016 bytes
256 heads, 63 sectors/track, 60563 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x8eb88495

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1  4294967295  2147483647+  ee  GPT
Partition 1 does not start on physical sector boundary.

当我尝试使用 Nautilus 文件资源管理器安装它时,我得到了以下结果:

Error mounting /dev/sda4 at /media/it/Windows: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=999,gid=999,dmask=0077,fmask=0177" "/dev/sda4" "/media/it/Windows"' exited with non-zero exit status 18: Failed to write lock '/dev/sda4': Resource temporarily unavailable
Error opening '/dev/sda4': Resource temporarily unavailable
Failed to mount '/dev/sda4': Resource temporarily unavailable

GPARTED 显示 sda1 到 sda6。sda3 和 sda4 均有红色感叹号

/dev/sda3 REDEXCLAMATION filesystem UNKNOWN 128.00MiB flags:msftres
/dev/sda4 REDEXCLAMATION filesystem NTFS 439.33GB flags:msftdata

因此,在 dd 复制整个 sda 之后,它不会复制整个 sda,而只会复制 sda5


第二天:使用 USB Win 8.1 安装映像中的 chkdsk。

x:\sources>chkdsk C: /f /x /r
Filesystem type is NTFS
label is Windows

Stage 1: file system structure exam:
Can't read from registry segment file 263128
Can't read from registry segment file 263129
Can't read from registry segment file 263130
Can't read from registry segment file 263131
Progress: 263172 of 567296 ended; stage: 46%; total: 0%; Estimated time of arrival: 999:00:00 ..

/*/*/*
567296 registry files processed
File check completed

5578 big file registry processed.
4 unvalid file registries proccesed.

Stage 2: file name link exam...
Deleting entry tmp00000000. on index $I30 from file 20022
Deleting entry TMP000~1. on index $I30 from file 20022
((((((((((around 17 such messages)))))))))))

681490 index entry processed.
index check completed
CHKDKS is examining no indexed files for reconnecting to their original directory
Recovering orfan file DEP-AV~1.GZ (144) on file directory 105252.
((((10 other such messages)))))

25 non indexed files examined.

CHKDSK is recovering remaining non indexed files.
3 non indexed files recovered

Stage 3: security descriptors exam...
CHKDSK is completing the security descriptor sequence
Checking completed
Inserting data attribute on file 2097

57100 data files processed
CHKDKS is checking USN diary.

Stage 4: incorrect cluster search on user data files...
567280 file processed.
Data file checking completed.

Stage 5: Search of available incorrect clusters...
52718263 avaliable clusters processsed.

Checking of available space  is completed.
adding 1 defective cluster to the defective cluster file.
Correcting errors on master file table data attribute (MFT)
Correcting errors on master file table bitmap attribute (MFT)
CHKDSK detected available space marked as used on volume bitmap

Windows has made some corrections to file system.
No other action is required

460665855 kb total space on disk
248994696 kb in 256141 files

....磁盘上的其他信息,然后:

Error when transfering session messages to the event registry with state 50

成功!尽管如此,Linux 在使用 Nautilus 复制文件时还是冻结了。无论如何,现在它从 Windows 启动,将继续从那里复制...

答案1

似乎您的磁盘上有 gpt 分区,这就是 fdisk 无法识别它们的原因。Red exclamation marks显示需要检查分区是否有错误。

尝试chkdsk从 Windows 磁盘对每个分区运行此操作,这将修复这些问题。如果这不可能,您可以ntfsfix从 Linux 运行,但我建议不chkdsk要这样做。

chkdsk查看有关从 Windows 磁盘运行的此教程https://kb.wisc.edu/page.php?id=6565

之后查看安装是否有效。

挂载分区

sudo  mount /dev/sda2 /mnt

该分区的文件将位于其中/mnt

您可以通过以下方式卸载相同的已安装分区

sudo umount /dev/sda2

对所有分区尝试此操作,如果遇到任何错误,请发布

相关内容