You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

ntpdata: command not found .. macOS Sierra

Hello everyone ..


a cubles days ago I tried to install another OS on my MacBook Pro 2015 and when I reached a point to choose where to install the system I formatted all the Partitions there even the one that contained MacOS Sierra after that I realised that I made a huge mistake I tried to restart the mac .. There is NO OS to boot and when I tried to install the macOS again there was a message popup after a few mins from the installation process that said: "An error occurred while preparing the installation. Try Running this application again" 


I tried many times but it didn't work at all .. I look for a solution and then I figure out that when I start to give the system a command on Terminal "date" or "ntpdate -u time.apple.com" give me the same massage command not found .. even when I try to change the date using this order: "data 1030010224" I get the same massage.


so Please I want some help to Reinstall the MacOS system ??


iPhone 11 Pro

Posted on Oct 29, 2024 3:04 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 29, 2024 4:34 PM

to install macOS, you may need to use Recovery.


Hold command-R at startup, and you will get recovery.


then follow the instructions for installing/re-installing macOS


there should be no need to adjust the time.


How to reinstall macOS - Apple Support




7 replies

Oct 30, 2024 7:52 PM in response to Grant Bennet-Alder

Hello

after I Hold command-R at startup and get to recovery I choose Reinstall macOS > I press continue > I agree the agreement > I choose the Disk to install the OS and install > after it download the system and try to install it this massage appares "An error occurred while preparing the installation. Try Running this application again".


No I tried many times it dosen't work even after I Erase the disk ..

Oct 31, 2024 7:31 AM in response to x7a7a

next time you get that message, look in the Installer menus for a command to "Show Log". It will open a window with a portion of the Installer log.


in many cases, 'the show errors only' display will show the problem in the last 10 lines.


in rarer case, the last 20 or so lines of the "show all messages' display will show the problem.


you can also save the log, such as on a pre-formatted USB stick.


if you don't see what the problem is, please try to post some of that log.

ntpdata: command not found .. macOS Sierra

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.