我是否丢失了所有 Windows 文件?

我是否丢失了所有 Windows 文件?

我决定从 Windows 7 切换到 Ubuntu 12.10。我的 Windows 7 位于分区 C: 上,其他文件(照片、音乐等)位于分区 D: 上。在安装过程中,我为 Linux 选择了 C: 分区,并选中了加密驱动器的复选框。现在在 Ubuntu 上我无法安装 d: 分区。似乎该分区不存在。该怎么办?我丢失了所有 Windows 文件吗?

fdisk -l

Disk /dev/sda: 120.0 GB, 120034123776 bytes  
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors  
Units = sectors of 1 * 512 = 512 bytes  
Sector size (logical/physical): 512 bytes / 512 bytes  
I/O size (minimum/optimal): 512 bytes / 512 bytes  
Disk identifier: 0x000a2484

 Device Boot      Start         End      Blocks   Id  System  
  /dev/sda1   *        2048      499711      248832   83  Linux  
  /dev/sda2          501758   234440703   116969473    5  Extended  
  /dev/sda5          501760   234440703   116969472   83  Linux  

Disk /dev/mapper/sda5_crypt: 119.8 GB, 119774642176 bytes  
255 heads, 63 sectors/track, 14561 cylinders, total 233934848 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/sda5_crypt doesn't contain a valid partition table

Disk /dev/mapper/ubuntu-root: 116.6 GB, 116551319552 bytes
255 heads, 63 sectors/track, 14169 cylinders, total 227639296 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/ubuntu-root doesn't contain a valid partition table

Disk /dev/mapper/ubuntu-swap_1: 3221 MB, 3221225472 bytes
255 heads, 63 sectors/track, 391 cylinders, total 6291456 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/ubuntu-swap_1 doesn't contain a valid partition table

Disk /dev/mapper/cryptswap1: 3221 MB, 3221225472 bytes
255 heads, 63 sectors/track, 391 cylinders, total 6291456 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0593f7a2

Disk /dev/mapper/cryptswap1 doesn't contain a valid partition table
user@user-N-A:~$ ^C
user@user-N-A:~$ sudo fdisk -l

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a2484

   Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *        2048      499711      248832   83  Linux
    /dev/sda2          501758   234440703   116969473    5  Extended
    /dev/sda5          501760   234440703   116969472   83  Linux

Disk /dev/mapper/sda5_crypt: 119.8 GB, 119774642176 bytes
255 heads, 63 sectors/track, 14561 cylinders, total 233934848 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/sda5_crypt doesn't contain a valid partition table

Disk /dev/mapper/ubuntu-root: 116.6 GB, 116551319552 bytes
255 heads, 63 sectors/track, 14169 cylinders, total 227639296 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/ubuntu-root doesn't contain a valid partition table

Disk /dev/mapper/ubuntu-swap_1: 3221 MB, 3221225472 bytes
255 heads, 63 sectors/track, 391 cylinders, total 6291456 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/ubuntu-swap_1 doesn't contain a valid partition table

Disk /dev/mapper/cryptswap1: 3221 MB, 3221225472 bytes
255 heads, 63 sectors/track, 391 cylinders, total 6291456 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0593f7a2

Disk /dev/mapper/cryptswap1 doesn't contain a valid partition tabl

答案1

由于分区不再存在,您无法通过常规方式访问您的文件。

但未被覆盖的文件可以通过命令行工具 Testdisk 恢复:https://apps.ubuntu.com/cat/applications/testdisk

以下是操作方法:http://www.cgsecurity.org/wiki/Undelete_files_from_NTFS_with_TestDisk

相关内容