The kernel panic not syncing error can happen for various reasons, one of which may be due to buffers not being flushed to the actual devices. This error often prevents the system from booting and may affect parts of the kernels and modules.
The dynamic loader may not be present in the root file, so when the kernel tries to execute some programs, it may not find the necessary dynamic library. While this issue can be frustrating, you can follow our detailed solutions and resolve it in no time. Keep reading to find out more.
Why Do I Keep Getting Kernel Panic Not Syncing Error
Here are some of the reasons you may be experiencing this issue:
- Missing initramfs or initrd image from the updated kernel configuration in /boot/grub/grub.conf.
- Missing initrd or initramfs file from the /boot directory.
- Incompletely installed kernel or system packages during the upgrade because of insufficient space.
- Missing third-party modules from the initrd or initramfs image. The kernel or system package wasn’t fully installed during an update.
- Insufficient disk space
- Incompatible kernel version
How Can I Fix Kernel Panic Not Syncing?
If you come across this error while using your device, do not panic. It may be due to your boot being out of space. In which case, you should take the following steps to resolve the problem.
Solution 1 – Remove the old Linux kernel to free up space in your /boot drive.
Step 1: Boot the system to grub, then select “Advanced options” from the menu.
Step 2: Select a previous kernel; this should boot without problems.
Step 3: Log in to the system and enter the command $ df. Be sure to hit enter after entering the command.
Step 4: Once that is done, check /boot directory to see if it is 100% used
Step 5: Remove old Linux kernels by entering the command: $ Sudo apt-get autoremove
How Can I Fix Kernel Panic Not Syncing on Mac?
If you are experiencing this issue on your Mac, you should try the following solutions.
Solution 1 – Disconnect all peripheral devices attached to your system
The problem may sometimes arise due to faulty or incompatible peripheral devices plugged in. Disconnect all such devices, then reboot your device. Once done, restart your device.
Solution 2 – Boot Your Device in Safe Mode
Most often, the issue with repeated kernel panic errors lies within the Mac operating system. Therefore, you need to start by rebooting your Mac in safe mode. To do that, follow this step.
Step 1: Restart your device, then hold down shift while the system boots.
Step 2: Put it in Safe mode to disable unnecessary applications running in the background, including kernel extensions.
Step 3: Check to see if the panic still happens in safe mode. If it doesn’t, the problem may be from third-party applications on your computer.
Solution 3: Update Your Outdated Apps
Suppose the previous solution fails to resolve the panic error; updating your apps should be the next step. Often, outdated applications conflict with your version of the operating system or other programs on your Mac.
Solution 4: Check your hardware
Incompatible hardware may also result in the kernel panic error you experience. To take care of this on Mac, take the following steps.
Step 1: Shut down your Mac and disconnect the external devices.
Step 2: Restart your device.
Step 3: Run a test to see if the issue still occurs. If it does not, then the issue is from one of your external devices.
How Can I Resolve Kernel Panic Not Syncing Due to Missing Initrd or Initramfs
First, you must be sure the error is due to third party modules missing from initrd or initramfs image. Here is how to check
Step 1: Create a chroot environment in the root volume of the non-booting instance.
Step 2: Use one of these three options to ascertain which module(s) are missing from the initramfs or initrd image:
Option 1: Open the system and run the Dracut -f -v command in the /boot directory. This will help you determine if the fault is from a failed rebuilding of the initrd or initramfs image and pinpoint the missing module(s). Aws Amazon
If the command doesn’t find errors, reboot the instance to check if the problem has been resolved. If the instance reboots successfully, the error has been resolved.
You should note that the Dracut -f -v command may add the missing modules to the initrd or intramifs image.
The second way to determine the missing module(s) is to run the lsinitrd initramfs-4.14.138-114.102.amzn2.x86_64.img | less command. This command allows you to view the contents of the initrd or initramfs file. Once done, you should replace initramfs-4.14.138 with the title of your image.Aws Amazon
Alternatively, you can inspect the /usr/lib/modules directory.
For these three ways, once you have verified the missing modules, you must add them back to the initrd or initramfs image to resolve the panic.
I Keep Getting the Kernel Panic Not Syncing Error on My Linux 2, What Can I Do?
dracut-initqueue[1180]: Warning: dracut-initqueue timeout – starting timeout scripts
dracut-initqueue[1180]: Warning: Could not boot.
[ OK ] Started Show Plymouth Boot Screen.
[ OK ] Reached target Paths.
[ OK ] Reached target Basic System.
dracut-initqueue[1180]: Warning: /dev/disk/by-uuid/55da5202-8008-43e8-8ade-2572319d9185 does not exist
dracut-initqueue[1180]: Warning: Boot has failed. Aws Amazon
Suppose you see any of these errors while running your Linux 2 instance on the Nitro platform; here’s how to tackle it. Debug the issue by adding “rd.shell rd.debug” to the kernel command line.
Why Do I encounter Kernel Panic Not Syncing on Mac?
The issue may plague your Mac due to
- Faulty peripheral devices
- Insufficient storage space
- Incompatibility with RAM
If you face this problem while using your Mac, you should trace the source using the tips below.
Confirm that it is not from an External Device
Sometimes, peripheral devices can be responsible for this frustrating error. To identify which one of the devices causes panic, disconnect all of such peripheral devices, and then turn off your Mac.
When you restart it, connect each external device and check if the kernel error pops up. Repeat the process until you get the kernel panic error on an external device. Once you have identified the responsible peripheral, you can have it checked out at a service center to find out why it is affecting your Mac negatively.
Check RAM
Generally, the random access memory is a reliable utility. However, it can cause MacBook kernel panic not syncing if there is any defect or incompatibility. Unfortunately, Macs are really sensitive to issues arising from RAM; thus, an extension purchased from a third-party vendor that turns out not to be a perfect fit will cause you to experience Mac panic frequently.
To avoid this, make sure you get your RAM extensions from Apple or other certified merchants. These merchants should provide you with a warranty and guarantee the RAM’s full compatibility with your Mac.
To check if your RAM is suitable for your computer, you have to determine your motherboard’s memory and specifications. Armed with this information, you can contact Apple or your RAM merchant to learn about the RAM and motherboard compatibility.
Conclusion
There are many reasons why you may be experiencing Kernel panic not syncing error on your device. One of which is missing initramfs or initrd image. While encountering this problem can be annoying, you can fix it by yourself using our solutions. Go ahead and fix your kernel panic not syncing issue today.