Linux 安装时硬盘被格式化,分区丢失

Linux 安装时硬盘被格式化,分区丢失

我已经在 sda1 上安装了 Ubunto 14.04。但安装完成后,所有分区都消失了。我在 sda5 上有重要数据,当我运行以下命令时:sudo fdisk -l在终端中显示以下内容:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 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: 0x000cf11e

    Device Boot      Start         End      Blocks   Id  System
 /dev/sda1   *        2048      499711      248832   83  Linux
 /dev/sda2          501758   976771071   488134657    5  Extended
 Partition 2 does not start on physical sector boundary. 
 /dev/sda5          501760   976771071   488134656   8e  Linux LVM

 Disk /dev/mapper/ubuntu--vg-root: 495.6 GB, 495594766336 bytes 255
 heads, 63 sectors/track, 60252 cylinders, total 967958528 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: 0x00000000

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

 Disk /dev/mapper/ubuntu--vg-swap_1: 4202 MB, 4202692608 bytes 255
 heads, 63 sectors/track, 510 cylinders, total 8208384 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: 0x00000000

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

硬盘总大小为 5oo GB

答案1

我使用“TestDisk”程序来找回丢失的分区,它就像魔术一样工作

相关内容