How to copy data in a linux system crash
Scenario introduction:
The root permission is used to delete a Libpthread. so.. no way. The operating system crashes after the restart. there is very important data in it, so you have to find a way to copy it.
The operating system is ubuntu12.04.
Recovery Process:
The first thing that comes to mind is attaching this disk to another linux system. in this way, you can see that the content on this system disk is only a/dev/sdb disk, and there is no partition in it. of course, mount the hard disk with mount, and sometimes specify the file type. after mounting the file system, you can see that all the file systems are in the folder, but when you look for it in the folder, the data is no longer there, only folders. at that time, the whole hard disk was/dev/sdb, and the hard disk was divided into many areas. in the system zone, it is the entire file system, and the data may be in/dev/sdb1 or/dev/sdb2. In this way, linux mounts the data in the Mount mode, mount the data to the corresponding file system. In this case, the data is mounted to a folder. the reason why the data is not visible is that these files are in other partitions, such as mount/dev/sdb5/mnt or other partitions. if the disk fails to be mounted, you must specify the file type and check the file type. Note: Do not blindly partition the hard disk before finding a solution, this will damage data and use the cp command. Do not use mv or rm to use other restoration software. Pay special attention to this. Generally, the software is not actually used in Linux.