[SOLVED] Mac problem

Hi guys, hope you are doing fine, I have an issue with my MacBook, i created a bootable high sierra os usb, i formatted my hard drive and when i come to install the os when it restarts the macbook show that message and keep restarting “your computer restarted because of a problem” is there any idea about that please.

The panic report may be stored in NVRAM.
Search your EFI partition for a file called nvram.plist and delete it if you find it.
Then open Terminal and type :

Code:

sudo nvram -c

Press return
Type your password (it will not show on screen)
Press return
Restart

  • The panic report may be stored in native NVRAM. Do CMOS reset.

  • At the Clover boot menu screen select your hard drive and press F11 to clear NVRAM - System will restart.

Try to refresh the system from the Recovery Partition to clear that message, you won’t lose your settings or programs with a reinstall from the Recovery.

If the above didn’t work, then the only way to fix it is the delete the recovery HD partition - delete the OS volume, reinstall everything! :slight_smile:

1 Like

I did erase the whole hard, and when i try to install os from a usb, after the first restart to complete the installation it show the same message and start restarting randomly :slightly_frowning_face:

Most Common: Your settings need to be reset, reset Mac settings to its default.

Part 1: Why Mac keeps restarting

In most of the cases, the main contributor to the “Mac/MacBook Pro keeps restarting” issue is “kernel panic”. The “kernel” refers to the operating system of your Mac. Why does kernel panic lead to abnormal restarts? That’s because the operating system has detected an issue on your Mac and the restart must be performed to fix the issue, which is usually caused by the faulty software or a problematic hardware. How to decide whether kernel panic is occurring? Generally, a message will pop up on your Mac screen showing you “Your Computer restarted because of a problem”. If you are in the very situation, don’t hesitate to get possible solutions in Part 2.

Part 2: How to fix Mac/MacBook Pro Keeps Restarting

If your Mac or MacBook Pro keeps restarting over and over, you first need to know where the problem is. Is the software installed on your Mac the cause of the issue or the hardware on your Mac to connected to your Mac the cause of the issue? If the kernel panic is related to hardware, follow the first two tips to learn what to do. While if the problem is related to software installed on your Mac, follow the last two tips instead.

For hardware related kernel panic:

The kernel panic could be caused by a peripheral device or a combination of peripheral devices that has been connected to your Mac or the internal RAM or third-party hardware. Thus hardware troubleshooting is inevitable to solve the “Mac keeps restarting” issue.

Tip 1: Check the peripheral devices connected to your Mac

Step 1 : Shut down your Mac and disconnect all the peripheral devices. (Keep the display, keyboard, and mouse that are from App connected only. )

Step 2 : Start your Mac and use it as usual.

Step 3 : Troubleshoot hardware.

  • If your Mac works properly after you use it for a period of time and no kernel panic occurs, you must know that there is something wrong with the peripheral device that previously connected to your Mac. To check which peripheral device is the “culprit”, connect one peripheral device to your Mac at a time and test. If a single peripheral device doesn’t cause the “Mac keeps restarting” issue, you can try to connect two or more peripheral devices to your Mac and test.
  • While if a kernel panic occurs later, it must be something wrong with the internal RAM or third-party hardware. If so, follow tip 2 to check the hardware.

Tip 2: Check the internal RAM and third-party hardware on your Mac

Step 1 : Shut down your Mac.

Step 2 : Remove the third-party RAM and internal hardware from your Mac. Reseat your Apple RAM if you get one. If not, reseat the RAM you have instead.

Step 3 : Start your Mac and use it as usual.

Step 4 : Do troubleshooting.

  • If the “Mac keeps restarting” problem doesn’t happen after you use your Mac for a period of time, you know that the third-party RAM or third-party internal hardware should to replaced to avoid the kernel panic.
  • If your Mac keeps restarting again, you need to go to the Apple Store nearby with your Mac to seek help from Apple.

For software related kernel panic:

Tip 3: Reinstall operating system on your Mac

Step 1 : Use macOS Recovery to reinstall macOS.

  • Hold and press the key combination ( Command + R ) on your Mac keyboard immediately after you press the power button to turn on your Mac until you see the Apple logo or a spinning globe.
  • Choose Reinstall macOS in the window and click Continue .

Step 2 : If you have reinstalled macOS successfully, go to App Store > Updates to install all the updates on your Mac.

Step 3 : Before you reinstall the third-party software, download and install all the third-party software updates.

Step 4 : Do troubleshooting.

  • If the kernel panic doesn’t occur, you have solved the issue successfully.
  • While if your Mac keeps restarting again, follow tip 4 introduced below.

Tip 4: Fix “Mac keeps restarting” issue related to software

Step 1 : Use macOS Recovery to start your Mac. (Refer to step 1 in Tip 3.)

Step 2 : Use Disk Utility to back up your disk image to an external drive with enough free space.

Step 3 : Wipe the internal drive via Disk Utility .

Step 4 : Install OS X and start your Mac from the internal drive.

Step 5 : Go to App Store > Updates to install all updates on your Mac.

Step 6 : Reinstall the third-party Apps on your Mac and copy the user data from the backup you have just created.

Part 3: How to prevent Mac from restarting

Unexpected restarts of Mac could be quite annoying, Thus it’s necessary to learn how to prevent the problem from happening. The most effective way to avoid kernel panic is to always update your software to the latest version. You just need to go to App Store > Updates to make it.

By Apple:

Check your software

If the issue is caused by software on your Mac, one of these steps might help:

Check your hardware

Learn how to check your connected devices and other hardware.

Check peripheral devices first

If you don’t have any devices attached to your Mac, skip to the next section.

  1. Shut down your Mac.
  2. Disconnect all peripheral devices, such as hard drives or printers. If you have a desktop Mac, make sure that only a display, keyboard, and mouse or trackpad are connected.
  3. Turn on your Mac.
  4. Use your Mac for the amount of time that it would usually take for an unexpected restart to occur.
  5. If an unexpected restart occurs, follow the steps to check the internal RAM and third-party hardware.
  6. If an unexpected restart doesn’t occur, turn off the Mac and connect one peripheral device at a time until an unexpected restart occurs.

Check RAM and third-party hardware

Certain models of Mac computers have removable memory (RAM). If you recently installed memory or a hard disk (or SSD), make sure that it’s compatible and installed correctly. If possible, remove it and test with the original memory or disk.

GOOD LUCK! :+1:

1 Like