Hard Disk Data Recovery and Partition Table recovery in Linux

Source: Internet
Author: User
Tags testdisk
Article Title: Hard Disk Data Recovery and Partition Table recovery in Linux. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open source, and other basic categories of Hard Disk Partition tables or data loss, is a headache. Fortunately, a considerable number of tools are available to restore data.
 
Experience testdisk, restore a partition table on the hard disk, and retrieve important data. The entire process took less than 10 minutes and does not require system restart (requires a specific hardware environment ).
 
Does partition damage the partition table on the hard disk ?). Colleagues use easy recovery: in Advanced recovery mode, partition tables cannot be scanned, so data cannot be restored. In RAW recovery mode, data is found and recovered, but cannot be used.
 
Get the hard disk, connect it to the mobile hard disk box (it is recommended that computer maintenance personnel keep it, hard disk maintenance is commonly used), and connect it to my ubuntu system.
 
   1. Check hard disk status
 
Connect to the mobile hard disk, turn on the power of the mobile hard disk, the hard disk turns stably, no abnormal sound. Therefore, it is determined that the hardware works normally. No mobile disk is found in nautilus. The command line checks whether the device is recognized by the system:
 
User @ ubuntu :~ $ Ls/dev/sd *
 
/Dev/sda/dev/sda1
 
The results show that the hard disk and primary partition are found, but the extended partition is not recognized.
 
   2. Install testdisk
 
User @ ubuntu :~ $ Sudo apt-get install testdisk
 
   3. Run testdisk and fix it.
 
User @ ubuntu :~ $ Sudo testdisk
 
   4. Reconnect the hard disk and check
 
The reason why the system is not restarted is mainly because the mobile hard disk box is used. If you use IDE directly, restart the computer. After you reconnect the mobile hard disk, you can view the three extended partitions in nautilus and perform data operations.
 
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.