How to restore my mac in terminal

I need to restore my mac to factory settings in terminal, can someone please help me with the necessary commands and the steps as well. Thanks

you cannot restore via Terminal.

Similar Messages

  • How to restore a Mac Book Air to factory

    How to restore a Mac Book Air to factory

    Press Command, Option and R keys on boot, open Disk Utility, erase the disk and reinstall OS X. If the computer came with discs, use the USB SuperDrive or Remote Disc > http://support.apple.com/kb/HT5287

  • How to restore the mac

    hi there,
    i have a mac book pro which i bought in the middle of 2011, and my current mac sofetwear is "mac os x version 10.6.8",
    i wanted to upgrade the sofewear to 10.8, which i just bought from app atore(australia) for $20.99, but when i installing the softwear at step "choose the disk for install", i found that i cannot choose any one of my disk, it says"No user GUID available"
    just wanna ask can i just restore my mac and install the new version of 10.8?(i already copy all the important data to my hard drive cz when i use time machine to back up the mac,it also says that no disk is avaiable)
    and if i need to restore the mac how can i do it?
    and do i need to buy agian the 10.8 softwear from app store if i restore my mac?
    looking forward to your reply
    thank you very much:)
    regards
    angie

    You have a older Mac that was upgraded to 10.6.8 without a GUID partition table it sounds like.
    Anyway, take your machine to a local PC/Mac tech and have them reccomend a course of action, make backups of your data and do the upgrade, provided your machine is capable of it.
    You need more RAM, at least 4GB or more and a 64 bit processor really for the latest operating system, and some Mac's 10.8 can't be installed on.
    It's all rather complicated and best for you to have a professioanl do it and if the machine is earlier than Early 2011, you might want to consider sticking with 10.6.8, 2010 models are iffy and won't have all the hardare features with the new OS X version.
    According to all the reports I've been scouring, it seems 2011 machines and later have little problems upgrading to 10.8, it's all the earlier ones that are having issues and if your out of AppleCare, if the firmware breaks the machine, it's a out of pocket expense for a new logicboard or your looking at a total loss.
    I had OS X 10.7 brick a perfectly working older machine, you don't hear the people complaining too much about that because they can't.

  • How to restore my mac mini

    how do i restore my mac mini to factory settings?

    Follow these instructions step by step to prepare a Mac for sale:
    Step One - Back up your data:
           A. If you have any Virtual PCs shut them down. They cannot be in their "fast saved" state. They must be shut down from inside Windows.
           B. Clone to an external drive using using Carbon Copy Cloner.
              1. Open Carbon Copy Cloner.
              2. Select the Source volume from the Select a source drop down menu on the left side.
              3. Select the Destination volume from the Select a destination drop down menu on the right
                  side.
              4. Click on the Clone button. If you are prompted about creating a clone of the Recovery HD be
                  sure to opt for that.
                   Destination means a freshly erased external backup drive. Source means the internal
                   startup drive.
    Step Two - Prepare the machine for the new buyer:
              1. De-authorize the computer in iTunes! De-authorize both iTunes and Audible accounts.
              2, Remove any Open Firmware passwords or Firmware passwords.
              3. Turn the brightness full up and volume nearly so.
              4. Turn off File Vault, if enabled.
              5. Disable iCloud, if enabled: See What to do with iCloud before selling your computer.
    Step Three - Install a fresh OS:
         A. Snow Leopard and earlier versions of OS X
              1. Insert the original OS X install CD/DVD that came with your computer.
              2. Restart the computer while holding down the C key to boot from the CD/DVD.
              3. Select Disk Utility from the Utilities menu; repartition and reformat the internal hard drive.
                  Optionally, click on the Security button and set the Zero Data option to one-pass.
              4. Install OS X.
              5. Upon completion DO NOT restart the computer.
              6. Shutdown the computer.
         B. Lion and Mountain Lion (if pre-installed on the computer at purchase*)
             Note: You will need an active Internet connection. I suggest using Ethernet if possible because
                       it is three times faster than wireless.
              1. Restart the computer while holding down the COMMAND and R keys until the Mac OS X
                  Utilities window appears.
              2. Select Disk Utility from the Mac OS X Utilities window and click on the Continue button.
              3. After DU loads select your startup volume (usually Macintosh HD) from the left side list. Click
                  on the Erase tab in the DU main window.
              4. Set the format type to Mac OS Extended (Journaled.) Optionally, click on the Security button
                  and set the Zero Data option to one-pass.
              5. Click on the Erase button and wait until the process has completed.
              6. Quit DU and return to the Mac OS X Utilities window.
              7. Select Reinstall Lion/Mountain Lion and click on the Install button.
              8. Upon completion shutdown the computer.
    *If your computer came with Lion or Mountain Lion pre-installed then you are entitled to transfer your license once. If you purchased Lion or Mountain Lion from the App Store then you cannot transfer your license to another party. In the case of the latter you should install the original version of OS X that came with your computer. You need to repartition the hard drive as well as reformat it; this will assure that the Recovery HD partition is removed. See Step Three above. You may verify these requirements by reviewing your OS X Software License.

  • How to restore new mac book from time machine

    i curentley have a mac book and am planing on upgrading to a pro but i have to sell this one first. can i restore my new mac pro using the time machine backup from this mac book or is there another way i have to do this being as i wont have both laptops at the same time?? 
    thanks for any help..

    If you can recover the old machine (may not be worth the cost), then you could deactivate directly. A lot depends on what crashed, the HD, mother board, or other. On a PC, the hard drive can sometimes be recovered with SpinRite as long as the crash was not fatal. There are other tricks too, but all of them depend on the crash conditions and what the problem is. If the hard drive is actually good, maybe you could just put it in another machine and run the deactivation. Of course, not everyone has a bunch of machines on hand to play with. For PCs, I often head to the department surplus pile and see if I can find something to work with (not my stock). If I find a working machine there, then I just swap it out. Of course, that is for work machines. For a home machine, I might do it for testing or repair and then put things back after the repair.

  • How I restore my mac air to factory

    How do I restore my air to factory settings

    Use the Disk Utility on its original thumbdrive(if it shipped with 10.6.8 or earlier) or the preloaded recovery partition to erase the drive and install a new OS.
    (77005)

  • How to restore my mac (using OSX Snow leopard disc)

    I recently purchased an iMac10,1. I purchased it with OSX 10.8.4 (Mountain Lion) already installed... I contacted the seller asking for the original OS discs...  he never replied :/. I have recently resold the Mac on ebay... When I went to wipe clean the computer I encountered a problem.. When I went onto this forum and called apple they encouraged me to purchase the original install OS (Snow Leopard). I have recieved snow leoipard in the mail... When I popped the disc in i recieved this message:
    How do I reboot/resart/reformat the computer to factory settings?

    Try doing this instead:
    Booting From An OS X Installer Disc
    1. Insert OS X Installer Disc into the optical drive.
      2. Restart the computer.
      3. Immediately after the chime press and hold down the "C" key.
      4. Release the key when the spinning gear below the dark gray Apple
          logo appears.
      5. Wait for installer to finish loading.
    If this doesn't launch the installer, the contact Apple about replacing the disc they sent to you.

  • Trying to restore my Mac OS  after a hard drive failure and my password is no longer recognized, however I can log in by double clicking on the Lion Icon? How can I reset my password

    I am trying to restore my Mac OS after a hard drive failure and my password is no longer recognized, however I can log in by double clicking on the Lion Icon? How can I reset my password

    First, make sure caps lock is not on.
    Another reason why your password might not be recognized is that the keyboard layout (input source) has been switched without your realizing it. At the login screen, you can cycle through the available layouts by pressing the key combinationcommand-space or command-option-space. See this support article.
    If the user account is associated with an Apple ID, and you know the Apple ID password, then maybe the Apple ID can be used to reset your user account password.
    Otherwise*, boot into Recovery mode. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. In the window that opens, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window opens. Close the Terminal window to get it out of the way.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Follow the prompts to reset the password. It's safest to choose a password that includes only the characters a-z, A-Z, and 0-9.
    Select
     ▹ Restart
    from the menu bar.
    You should now be able to log in with the new password, but your Keychain will be reset (empty.) If you've forgotten the Keychain password (which is ordinarily the same as your login password), there's no way to recover it.
    *Note: If you've activated FileVault, this procedure doesn't apply. Follow instead these instructions.

  • How do I connect to a terminal server with my mac book pro

    How do I connect to a terminal server with my mac book pro

    Use the Remote Desktop icon on the tray and make sure to use the Fully Qualified Domain Name (FQDN) on the 'name of server' field.  If that does not work then use the IP address to connect.

  • How can i restore my mac book pro computer

    how can i restore my mac book pro computer??an what am i doing b4 restore my computer??
    please remind me all the think i need to do,an i dont want to miss.
    thxxxx

    Welcome to the Apple Support Communities
    If you want to erase the disk, reinstall Mac OS X and your Mac didn't come with DVDs or you have OS X Mountain Lion or Lion:
    1. Press Command and R keys while your Mac is starting.
    2. Open Disk Utility, choose Macintosh HD in the sidebar and erase the drive.
    3. Install Mac OS X.
    If your Mac came with DVDs:
    1. Insert the OS X DVD that came with the Mac and press C key while your Mac is starting.
    2. Go to Utilities > Disk Utility, choose Macintosh HD in the sidebar and erase the drive.
    3. Install Mac OS X

  • How can i restore my mac book pro using a lacie time machine backup

    I just replaced the hard drive on my mac with a larger memory one. How do I restore my mac as it was previously from a time machine backup on a lacie external hard drive?

    Read about all the options that are available:
    http://pondini.org/OSX/Setup.html
    Ciao.

  • How do I restore my mac to it's Factory settings w/o Disk Utility?

    Hello Everybody. I had some trouble with not being able to start my Macbook Pro.
    So I decided to just restore it to its default settings. I then erased the disk using the Utility Panel, and then pressed reinstall OS X Lion on the Macintosh HD.
    It then dowloaded the needed files and started downloading.
    When it was done, it started installing, but is stuck at the very beginning, then it gave me an error message saying it cant complete the installation beacause it can't create the recovery.
    Then i started looking for a solution for this, and found that I had to remove my Bootcamp. Now, when I restart the mac and CMD+R, it says fail..
    If I start it and hold the Option key down, it only shows my bootcamp and the installer for OS X Lion...
    So how do I now restore my Mac to its Factory Settings.
    Am quite francly clueless right now.
    Hope you can help!!

    Well, I don't know if your model supports full Internet Recovery. You can try the following, but if you get an error it means your computer isn't able to use full Internet Recovery in which case you need to buy Snow Leopard or replacement discs for the computer:
    Apple Store Customer Service at 1-800-676-2775 or visit online Help for more information.
    To contact product and tech support: Apple - Support - Contact Apple Support.
    Install Mavericks, Lion, or Mountain Lion Using Internet Recovery
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Internet Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND-OPTION- R keys until a globe appears on the screen. Wait patiently - 15-20 minutes - until the Recovery main menu appears.
    Partition and Format the hard drive:
    1. Select Disk Utility from the main menu and click on the Continue button.
    2. After DU loads select your external hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed. Quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion. Mavericks: Select Reinstall Lion/Mountain Lion, Mavericks and click on the Install button. Be sure to select the correct drive to use if you have more than one.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
    Download and install an updated EFI Firmware ROM for these computers to use the OS X Internet Recovery feature:
    MacBook Pro (13-inch, Early 2011)
    MacBook Pro (15-inch, Early 2011)
    MacBook Pro (17-inch, Early 2011)
    iMac (21.5-inch, Mid 2011)
    iMac (27-inch, Mid 2011)
    MacBook (13-inch, Mid 2010)
    MacBook Pro (13-inch, Mid 2010)
    Mac mini (Mid 2010)
    MacBook Pro (15-inch and 17-inch, Mid 2010)
    iMac (21.5-inch and 27-inch, Mid 2010)
    MacBook Air (11-inch and 13-inch, Late 2010)
    If your computer is older than these, then you cannot do an Internet Recovery.

  • How to Restore Factory Settings on a Mac?

    How to Restore Factory Settings on a Mac OS X 10.6.8?
    I have been told you can do this without the Installation CD. I also do not remember the installation CD when i got the laptop. If it's possible then please someone let me know! if not then how can i get a new CD to do this?
    my computer keeps freezing on me at random times, and i have tried taking the laptop to my college tech support and also Best Buy and they said they can't do anything and that i need to try resetting the mac.

    You may not remember the installer disks but they came in the box. Your profile shows you are running 10.6.6 Snow Leopard. To restore back to factory settings you need those disks. That said to go that route may be unnecessry. Stay away from Best Buy tech people. They know nothing. Without the disks you do a repair disk to see if that helps:
    Start up your computer in single-user mode to reach the command line.
    Note: If necessary, perform a forced restart as described in the Emergency Troubleshooting Handbook that came with your computer. On desktop computers, you can do this by pressing the reset/interrupt button (if there is one) or holding down the power button for several seconds. On portable computers, simultaneously press the Command-Control-power keys. If your portable computer doesn't restart with this method, you may need to reset the Power Manager.
    At the command-line prompt type:
    /sbin/fsck -fy
    Press Return. fsck will go through five "phases" and then return information about your disk's use and fragmentation. Once it finishes, it'll display this message if no issue is found:
    ** The volume (name_of_volume) appears to be OKIf fsck found issues and has altered, repaired, or fixed anything, it will display this message:
    ***** FILE SYSTEM WAS MODIFIED *****
    Important: If this message appears, repeat the fsck command you typed in step 2 until fsck tells you that your volume appears to be OK (first-pass repairs may uncover additional issues, so this is a normal thing to do).
    When fsck reports that your volume is OK, type reboot at the prompt and then press Return.
    Your computer should start up normally and allow you to log in.

  • How do I restore a Mac Mini 1.83?

    Hey there,
    I was just given two Mac Mini 2006 1.83ghz the other day (old, out of use office computers) and one powers on and works perfectly, the other tells me its has a boot error and to insert boot disc.
    My issue with the first one is that because it used to be an office computer, it loads to the home screen from my office. It requires a username and password. Sadly, the person who had the admin information is no longer with the company. Is there a way for my to restore this mini and remove the previous admin? I believe this one has also been updated to lion.
    The second one just loads to a boot error and says to load the boot disc. (which weren't given to me with the macs)
    I will happily buy the boot discs if I know that installing it will remove either the admin lock or fix the boot issue. Or even replacing the hard drive itself.
    Also, with the second one, I'm not sure if the USB ports work on it as I plugged my apple keyboard in and I couldn't seem to type anything or turn the caps lock light on which did work perfectly on the first.
    These are at my free will to upgrade and play with as I please, so any suggestion would be greatly appreciated!!
    Thanks in advance!

    The 2006 Minis can only go as high as Snow Leopard, 10.6.8
    To reset the admin PW:
    OS X: Changing or resetting an account password
    Forgot Mac Password? How to Reset Your Mac Password (with or without CD)
    Change the Admin Password with Mac OS X Single User Mode
    Reset mac mini admin password: Apple Support Communities
    You can call Apple and order the original installation disks for a small cost.
    You can also order the Snow leopard install disk here
    http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
    Here are videos for replacing the HD and other things
    http://eshop.macsales.com/installvideos/mac_mini_06-08/
    Do you have another Mac with Snow Leopard?
    The second MIni may have other problems.

  • How to backup and restore working Mac OS 9 computer ?

    I have a working G4 running OS 9.0, and I would like to backup and restore that hard disk to a second G4 computer that is OS 9 bootable.
    I have a CD backup taken by Toast v4, of the entire disk, but I do not know how to restore the contents to the second computer. My previous attempt hosed the hard disk inside the second computer.
    I'm thinking I can boot up the second computer via cd-rom or external hard disk, but I'm not sure I can copy the contents from the cd-rom correctly. In particular, I'm guessing the boot sector is challenging to restore.
    I probably have some old OS 9 cd-roms around here, if I need to go that route.
    I've thought about removing the working hard disk, and using dd on a linux machine to make a clone of the drive. I'd prefer not to go that route, as I don't want to touch working hardware.
    I've also thought about hooking up a portable USB disk drive to my working OS 9 machine, and doing some sort of cloning. I'm not sure what program I would need to do that, and whether it's part of the OS 9 suite of tools, or a 3rd party tool. I used to own some various disk tools, but it's been so long I'm not sure I can find the cd's.
    So if anybody can point to some instructions on the net for me to follow, or have any suggestions, I'm all ears.
    Thanks
    mark

    If the second computer originally shipped supporting a newer OS 9.x
    system than the first 9.0, the other computer's OS9 version probably
    won't work since it would be too old. In the case of drag and drop,
    you can get away with a lot more than what an installer package may
    allow, since the installer's software can be avoided with Pacifist. So
    another computer's OS9.2.2 basic system could be used as a boot
    volume even if it is sparse and not the fully complemented OS 9.2.2
    that a full retail build would install from a rich full retail install disc.
    Usually the retail path was an OS 9.2.1 retail and the update to 9.2.2;
    but machines requiring OS 9.2.2 won't like a 9.2.1. Sometimes, since
    a drag and drop is not driven by installer software, you can use older.
    But machine specific bits, some critical for graphic card drivers & etc,
    would be likely missing unless the software used offered that support.
    If you can find one of these, it may work = note, out of stock:
    691-3638-A Apple G3/G4 9.2.2 (CD) System Software
    {This is a Mac OS 9.2.2 full installation CD, color Grey.}
    These do not come in retail packaging.
    http://www.welovemacs.com/6913638a.html
    Have fun, even if it isn't exactly as planned.
    Good luck & happy computing!
    { edited }

Maybe you are looking for