在ubuntu 上使用TestDisk数据恢复
2010-04-03 16:36
423 查看
转自:http://www.howtoforge.com/data_recovery_with_testdisk 官方文档:http://www.cgsecurity.org/wiki/TestDisk
需求:
单系统ubuntu,想装windows,结果误删除了ubuntu下的一个分区(windows安装的时候明明看了好几遍,还是误删了),安装前,确认下分区状况,发现分区不对,立即停止安装系统,进入ubuntu(ubuntu启动不起来,将前512字节dd回MBR,也可以通过grub>命令修复),安装testdisk
testdisk简介
testdisk是一款强大并且免费的数据恢复的软件,软件的主要功能是当人为的错误(意外的删除你的分区表),软件出现问题,或者中毒的情况下,帮助用户找回丢失的分区,或者是将一个不能启动的盘让其启动起来。在很多的操作系统上,都可以使用testdisk,包括Linux,MacOS,Windows,并支持许多的文件系统
1 下载 TestDisk
TestDisk 在大多数linux的发行版上都有相应的软件包, 例如: Debian/Ubuntu, Fedora, Mandriva, 等 (完整的系统列表都在 http://www.cgsecurity.org/wiki/TestDisk_Livecd). 在 Debian/Ubuntu 上你可以运行testdisk /list可以列出你现有的分区表:testdisk根据菜单提示去选择:TestDisk 6.5, Data Recovery Utility, October 2006
Christophe GRENIER <grenier@cgsecurity.org> http://www.cgsecurity.org
TestDisk is free software, and
comes with ABSOLUTELY NO WARRANTY.
Select a media (use Arrow keys, then press Enter):
Disk /dev/sda - 32 GB / 29 GiB
[Proceed ] [ Quit ]
Note: Disk capacity must be correctly detected for a successful recovery.
If a disk listed above has incorrect size, check HD jumper settings, BIOS
detection, and install the latest OS patches and disk drivers.<-- Intel<-- Analyse<-- Proceedto continue. On the next screen TestDisk will show you the partitions it has found:<-- ENTER现在将我们找回来的新分区表写回硬盘,选择write<-- Write键入Y确定写入:<-- YTestDisk 告诉你需要重启系统以生效:<-- Ok选择quit推出<-- Quit选择quit退出testdisk<-- Quit现在我们可以关闭testdisk然后重启系统,如果我们的运气不是很差的话,在新的分区表生效的情况下,我们的数据就可以找回来了,
3 Links
TestDisk: http://www.cgsecurity.org/wiki/TestDisk相关文章推荐
- 跳入linux的第一个坑-因为安装Ubuntu导致的硬盘被误格的恢复.(记TestDisk使用记录)
- Ubuntu下恢复数据的工具之Testdisk
- 在 Linux 系统下使用 PhotoRec & TestDisk 工具来恢复文件
- Ubuntu 12.10 使用DNW传数据 进行ARM开发板烧写
- mysql使用二进制日志恢复数据
- 使用数据恢复顾问ADR
- MYSQL使用二进制日志来恢复数据
- 数据恢复之R-Studio的使用常见问题解答
- 使用文件和文件组备份可以恢复表数据吗?
- 使用Timeshift备份和恢复你的Ubuntu
- CentOs6.5安装使用数据恢复软件extundelete
- MySQL数据库遭到攻击篡改---使用备份和binlog进行数据恢复
- MySQL: ubuntu10.10 下数据备份与恢复
- 数据恢复软件如何换机使用?
- ubuntu 系统下使用Fast rcnn 训练自己数据
- LInux上使用extundelete进行数据恢复
- 数据恢复软件使用经验-支持U盘,手机SD卡,硬盘数据,解决图片恢复后打不开的问题
- mysql使用logbin进行数据恢复
- 使用blockrecover 对有坏块的数据文件进行恢复
- 数据恢复软件(四):使用C++扩展恢复功能