Jump into the first pit of Linux-because installing Ubuntu causes the HDD to be mistakenly restored. (note testdisk use record)

Source: Internet
Author: User
Tags testdisk

Skip the crap and go straight to the instructions

The first few days of the whim to replace the home of the old notebook Linux operating system, is in the amateur life formally into the embrace of Linux. Say dry, release version chose Ubuntu, download Ubuntu16.04 iso, download soft disk pass , make a U disk start. Well, restart the computer, USB drive boot, into the installation interface.

Well, the installation interface is very cool Ah, also detects the hard disk installed Win8, well, asked me to coexist with other systems or clean and install, since all formally put into the embrace, certainly only installed Ubuntu Ah, Win8, goodbye, well, choose the second one. It's on the Internet . Note the second option, Note: Well, I just saw it and noticed that the system was two words before stepping into the pit. I thought the system meant the C drive. I thought it was 16.4, so I shouldn't have to kill the whole hard drive.

Then go on, go on, go on, uh, start the installation, but the more I think about it, the more I thought it was careful to make the old ship, I made a decision, Although the decision was later confirmed to be clear and egg. I pressed the power, shut down the computer, and then turned on, well, into the Win8, EN, u disk boot, into Ubuntu Live CD mode, Oh no! I found my hard drive empty. My photo, my profile. Oh no!

I calmed down for 5 minutes, thinking about what happened, well, it should be up to 5 minutes from the selection cleanup installation to the start of the installation, which should be just advanced formatting, which means the data can be retrieved.

First think of Windows under the Easyrecovery, but at the moment my only u disk has carved Ubuntu, there is no way to find the solution of Linux, found an artifact TestDisk, looked at the use of instructions, found in live The program cannot be installed in CD mode. Do not want to wait, probably calculated a bit before the D-plate position, I have organized the disk fragments, supposedly installed system should not affect the previous data disk ( of course, the normal situation in summer, if data loss occurs, the safest way is, do not do any more to the hard disk operation ), continue to install the system, installed.

TestDisk usage instructions and precautions

1. Install the testdisk using sudo apt-get installed TestDisk (Ubuntu) . Enter TestDisk in the terminal. Interface such as


2. Three options to create log, append log, no log, first and third randomly select one of them.

3. Select the device that you want to restore, I chose my hard drive.

4. Select the partition table type, because the previous operating system is WIN8, so choose the first intel/pc, you can select according to your actual situation

5. Then choose the first one, analysis (analyse), well, what's behind it? I haven't tried.

6. Select Quick Find, maybe because I installed the system two times, well, I did not find my Windows partition. The rest of the information I found was basically over, and according to them, after retrieving the partition table, write write.

7. No way, fast scan can not come out, only enter the selection (deeper Search) to continue the deep scan (this step will vary by disk and partition size)

8. Sweep out, press the P key to view the content, if the content is correct, press C to select Copy to the storage.

9. Use of the experience.

In the process of use does not seem so smooth, or record the experience of the process used to give Yimeimei reference. There are two main points.

1. When scanning a deep scan of the NTFS partition (or other) you need, there is no need to wait for a full scan to save time.

2. If the scanned partition press p or enter after entering into the following terminal screen, do not hit Enter to choose Quit, you can tap the keyboard Q back to the previous partition Selection page, if you press ENTER, the interface will go back to the fifth step, the depth scan results will be lost, only to re-scan in depth, this is very pit.

Yes, this artifact is also available in Windows and is free of charge.

In the end, thank TestDisk's author Christophe Grenier.

Jump into the first pit of Linux-because installing Ubuntu causes the HDD to be mistakenly restored. (note testdisk use record)

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.