- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
为了顺利安装 testdisk 工具,安装开发四个组包(正确的配制 yum)。
yum
groupinstall
Development Libraries -y,注意一定要加引号。
yum
groupinstall
Development Tools -y
yum
groupinstall
Legacy Software Development -y
yum
groupinstall
X Software Development -y
注:对应成中文就是:Development Libraries 开发库; Development Tools 开发工具; Legacy Software Development 老的软件开发; X Software Development X 软件开发; 查看分区表。发现少了一个主分区。
安装 testdisk
[root@localhost ~]# tar -jxvf testdisk-6.8.tar.bz2 [root@localhost ~]# cd testdisk-6.8
查看 configure 帮助
[]#./configure--help|less
预编译。
[]#./configure --prefix=/usr/local/sbin //指明安装路径。
编译。产生头文件,库文件,可执行文件,说明文件。
[]#makemakeinstall 启 动 testdisk: [root@localhost sbin]# ls
man photorec sbin share testdisk testdisk.log
[root@localhost sbin]# ./testdisk
第一页屏幕要求选择如何处理记录信息
第二页要求选择磁盘:
TestDisk is free software, and
comes with ABSOLUTELY NO WARRANTY. Select a media (use Arrow keys, then press Enter): Disk /dev/hdc - 3005 MB / 2866 MiB (RO)
Disk /dev/sda - 21 GB / 19 GiB [Proceed ] [ Quit ]
第三页选择分区表类型,一般都是 Intel/PC:
Disk /dev/sda - 21 GB / 19 GiB
Please select the partition table type, press Enter when done.
[Intel ] Intel/PC partition [Mac ] Apple partition map
[None ] Non partitioned media [Sun ] Sun Solaris partition [XBox ] XBox partition [Return ] Return to disk selection
Note: Do NOT select None for media with only a single partition. Its veryrare for a drive to be N
现在可以 Analyse (分析)了:
Disk /dev/sda - 21 GB / 19 GiB - CHS 2610 255 63
[ 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
Note: Correct disk geometry is required for a successful recovery. Analyse process may give some warnings if it thinks the logical geometry is mismatched.
列出现有的分区表内容,并提示继续还是备份,这里只有一个分区,实际上另 外一个 Linux 分区被删了...所以 1661 之前那些空间就是寻找的目标:
Disk /dev/sda - 21 GB / 19 G
您可能关注的文档
- R型强力混合机整理资料.docx
- R语言主成分分析的案例.docx
- S3C2410 I2C 总线驱动实例.docx
- s3c6410输入子设备例程详解.docx
- S7、S9、S11变压器损耗表讲解.docx
- S7-200数据类型分析和总结.docx
- s999飞针测试机操作说明书.docx
- S7200SMART与300的以太网通讯.docx
- Sales Offices CHINA分析和总结最新分析和总结.docx
- Samba服务器的配置.docx
- TETRA 数字集群系统在水利通信专网中的应用.docx
- The Analysis of Yellowtail Marine, Inc. Case分析和总结最新分析和总结.docx
- The Commission on the Status of Women分析和总结最新分析和总结.docx
- The happy prince快乐王子英文读后感.docx
- The Royal Observatory 皇家格林尼治天文台.docx
- The Royal Opera House 英国皇家歌剧院.docx
- The scars of Nanking分析和总结最新分析和总结.docx
- ThreadPool分析和总结最新分析和总结.docx
- Time after time花舞う街で分析和总结.docx
- TJ2.3.1 钢材合格证和复试报告汇总表.docx
文档评论(0)