Linux data recovery practical tutorial

  
 

A few days ago, I met a friend on QQ and asked for help. I said that the VPS I bought could not start up. One year of hard work was devoted to this VPS. The official VPS technician is not responsible for data recovery and can only be reinstalled. System, because the friend's VPS was recommended and purchased by me at the time. Seeing my friend's helplessness, I intend to try my best to see if I can't recover! To be honest, linux I am not very familiar with, because this server uses the partition LVM, I just used LVM, did not study very deeply, so I entered my own efforts or did not recover, I thought of LINUX friends ( Yu Fei, Baihu, ~ Tian Xingjian ~), without the help of friends, I can not recover the data, once again I thank them for their help! Thank you! Due to the speed of the network, I coordinated the VPS business department and operation and maintenance department, and transferred my vps (vmware), all the data to my FTP, the total amount of data is 20G, huh, huh, my bandwidth here. Big, giga! I finished the transfer in 1pm, I downloaded it to my local, started to recover locally, took the data from their side, started my error with my vmware, what characters are wrong, the user does not modify the extension with editplus as shown Yes. The second line of .vmx adds .encoding = "GBK", and deletes guestOSAltName = "Microsoft Windows
Server 2003, Standard Edition (32-bit)" guestOS = "winnetstandard" It can be started, as shown in the figure, because the server is a VPS giving 10G space, because the 10G may have problems, so this prompt appears, we deleted this hard disk in VMWARE (there is no such hard disk The data is new. After restarting the virtual machine, hey, and error, as shown in the figure, through the check of vmwar, as shown in the figure, the operating system
is other, changed to linux. The version is OK. Boot----Ha ha Start to start, huh, as shown in the figure, the error message of the virtual machine is as shown! Make sure it is an LVM error. After checking with friends, it is determined that the partition in LVM is lost. Now we use testdisk, to fix, the official website http://www.cgsecurity.org/wiki/TestDisk, download the appropriate version, I directly download the latest. Testdisk-6.11.3.linux26.tar.bz2, after installation, run as shown in the figure I started to repair my /dev/sdb partition click proceed--interl-analysequick search Select y --deeper Search-write restarts

Copyright © Windows knowledge All Rights Reserved