Ubuntu

安裝 Linux 時硬碟格式化,分區失去

  • June 29, 2015

我在 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

我已經使用“TestDisk”程序來找回失去的分區,它就像魔術一樣工作

引用自:https://unix.stackexchange.com/questions/187283