阅读681 返回首页    go iPhone_iPad_Mac_apple


Is it possible to retain your Mac back if you p...

How do I get my Mac working again if I put sudo rm -rf on the terminal? Because my friend put this in my Mac and now it's broken.



No, you can't recover from that.

 

Install Sierra or El Capitan from Scratch

 

  1. Restart the computer. Immediately after the chime hold down the Command and R keys until the Apple logo appears. When the Utility Menu appears:
  2. Select Disk Utility from the Utility Menu and click on Continue button.
  3. When Disk Utility loads select the volume (indented entry, usually Macintosh HD) from the Device list.
  4. Click on the Erase icon in Disk Utility's main window. A panel will drop down.
  5. Set the Format type to Mac OS Extended (Journaled.)
  6. Click on the Apply button, then wait for the Done button to activate and click on it.
  7. Quit Disk Utility and return to the Utility Menu.
  8. Select Install OS X and click on the Continue button.


Restore the deleted files or the entire drive from a backup.

 

(153434)



I don't know who told you or your friend to run that command, but you just told UNIX to delete every single file and folder on the drive.

 

Hope you have a backup you can restore. If not, you're going to have to reinstall the OS and all of your third party apps. Your personal data such as photos and other documents are toast.

 

For any hope at all of recovering important data (assuming you have no backup) is to install the OS on an external drive.  Then purchase SubRosaSoft's FileSalvage or Prosoft's Data Rescue. There are no free options that will recover as much as you likely want to get back.

 

DO NOT write anything to the hosed drive before you've at least attempted to recover your data. You will end up overwriting what you want to recover.



最后更新:2017-09-07 09:06:15

  上一篇:go Moving to new iMac
  下一篇:go how much can a 32 gb ipod hold