自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

Linux下的分區(qū)修復(fù)軟件Testdisk

運(yùn)維 系統(tǒng)運(yùn)維
linux下超帥的分區(qū)表修復(fù)軟件.以前用過n多的windows的分區(qū)表修復(fù)軟件,沒想到linux中有這么好用這么方便的修復(fù)軟件,速度那叫一個(gè)快啊。。沒有見到這個(gè)分區(qū)表修復(fù)軟件以前我都白活了。。。。。

 linux下超帥的分區(qū)表修復(fù)軟件.以前用過n多的windows的分區(qū)表修復(fù)軟件,沒想到linux中有這么好用這么方便的修復(fù)軟件,速度那叫一個(gè)快啊。。沒有見到這個(gè)分區(qū)表修復(fù)軟件以前我都白活了。。。。。

好了,這個(gè)軟件叫testdisk.很帥的。。

如果你是使用修復(fù)光碟,就下載一個(gè)這個(gè)軟件到電腦中,如果是恢復(fù)usb的disk直接

#sudo apt-get install testdisk

使用的話先sudo testdisk

1.選擇Create來進(jìn)行分析

Use arrow keys to select, then press Enter key:
[ Create ]  Create a new log file
[ Append ]  Append information to log file
[ No Log ]  Don't record anything

2.然后選擇testdisk中你要修復(fù)的硬盤,回車

Select a media (use Arrow keys, then press Enter):
Disk /dev/sda - 160 GB / 149 GiB - ATA HITACHI HTS54251
Disk /dev/sdb - 3272 MB / 3121 MiB - SM324BC USB DISK


3.選擇testdisk修復(fù)的平臺(tái),我們是Intel的,所以選擇他

Please select the partition table type, press Enter when done.
[Intel  ]  Intel/PC partition
[EFI GPT]  EFI GPT partition map (Mac i386, some x86_64...)
[Mac    ]  Apple partition map
[None   ]  Non partitioned media
[Sun    ]  Sun Solaris partition
[XBox   ]  XBox partition
[Return ]  Return to disk selection

4.使用testdisk分析,現(xiàn)在選擇Analyse進(jìn)行分析

[ Analyse  ]  Analyse current partition structure and search for lost partitions
[ Advanced ]  Filesystem Utils
[ Geometry ]  Change disk geometry
[ Options  ]  Modify options
[ MBR Code ]  Write TestDisk MBR code to first sector
[ Delete   ]  Delete all data in the partition table
[ Quit     ]  Return to disk selection

5.見到了沒,基本所有的分區(qū)都出來了,直接回車就好了,默認(rèn)直接回車是快速掃描.

*=Primary bootable  P=Primary  L=Logical  E=Extended  D=Deleted
[Quick Search]  [ Backup ]

然后因?yàn)闆]用vista,所以選擇n。

Should TestDisk search for partition created under Vista ? [Y/N] (answer Yes if
unsure)
N

6.進(jìn)入,見到你的表區(qū)表了吧。

Disk /dev/sda - 160 GB / 149 GiB - CHS 19457 255 63
Partition               Start        End    Size in sectors
* HPFS - NTFS              0   1  1  1567 254 63   25189857
L FAT32 LBA             1568   2  1  5097 254 63   56709324 [NO NAME]
L Linux Swap            5098   1  1  5221 254 63    1991997
L Linux                 5222   1  1  7298 254 63   33366942
L Linux                 7299   1  1 19456 254 63  195318207

Structure: Ok.  Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
*=Primary bootable  P=Primary  L=Logical  E=Extended  D=Deleted
Keys A: add partition, L: load backup, T: change type, P: list files,
Enter: to continue
NTFS, 12 GB / 12 GiB


你還可以按p進(jìn)入一下,看看文件是不是你想要的那些,然后下面會(huì)顯示文件系統(tǒng)多大,什么系統(tǒng).

我進(jìn)入到這個(gè)地方時(shí),基本找出來了,不需要在修改什么了,如果和你的分區(qū)不一樣,那可能還需要使用Deeper search的功能.我的成功修復(fù)了,所以直接按write直接進(jìn)行寫到分區(qū)表中修復(fù).

 

【編輯推薦】

  1. Linux服務(wù)器安全策略詳解
  2. 嵌入式系統(tǒng)Linux內(nèi)核開發(fā)實(shí)戰(zhàn)指南
  3. Linux系統(tǒng)管理技術(shù)手冊(cè)(中文第二版)
責(zé)任編輯:張燕妮 來源: 中國IT實(shí)驗(yàn)室
相關(guān)推薦

2017-01-18 21:44:21

Linux工具恢復(fù)文件

2020-10-05 22:02:00

testdiskLinux文件

2011-08-10 14:51:46

LinuxLVM分區(qū)

2011-08-16 16:45:18

2011-01-10 13:40:35

linux硬盤分區(qū)

2012-05-10 10:10:19

Linuxfdisk

2009-01-09 22:52:16

服務(wù)器硬盤Linux

2020-11-11 08:00:00

Linux系統(tǒng)修復(fù)

2009-12-08 12:24:36

LinuxNTFS分區(qū)寫操作

2011-01-11 16:00:13

Linux軟件安裝

2017-07-19 09:53:42

Oracle分區(qū)問題

2010-08-05 11:03:55

創(chuàng)建分區(qū)文件系統(tǒng)

2009-11-24 09:28:11

linux分區(qū)大磁盤分區(qū)

2010-02-04 14:57:25

Linux分區(qū)方案

2010-03-02 15:35:41

Linux硬盤分區(qū)

2011-01-10 15:55:20

LinuxWindowsWine

2017-08-15 11:00:33

LinuxSwap

2012-08-15 14:11:21

2010-07-01 12:36:00

2009-08-10 11:12:06

點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)