A: Analog damage / sda primary hard disk damage repair again!
[Root @ roomc ~] #mkdir / a // Create a directory
[Root @ roomc ~] #mount / dev / sdb1 / a // will mount to the failed hard disk sdb / a directory
[Root @ roomc ~] #dd if = / dev / sda of = / a / xiufu bs = 512 count = 1 // sda to the backup / a directory named xiufu
[Root @ roomc ~] #dd if = / dev / zero of = / dev / sda bs = 512 count = 1 // master hard disk sda damage area
[Root @ roomc ~] #ls / a // view / there are files in a directory xiufu
[Root @ roomc ~] #reboot // restart the virtual machine
Two: fault repair!
Select the troubleshooting // bug fixes
Rescue a CentOS system // Select
Input 1 (Countinue)
Enter
[root@roomc~]#mkdir /b
[root@roomc~]#mount /dev/sdb1 /b
[root@roomc~]#dd if=/b/xiufu of=/dev/sda bs=512 count=1