Editing Boot loop

Jump to: navigation, search

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 7: Line 7:
  
 
* Hold command-R on boot to boot into Recovery.
 
* Hold command-R on boot to boot into Recovery.
* Make sure your normal boot drive is mounted, for example, "/Volumes/Macintosh HD" (if it is not, use DiskUtility to mount it). Note that your default drive name may appear to be available in Terminal, but if you have not mounted the "Data" volume, you will have missing paths.
+
* Make sure your normal boot drive is mounted, for example, "/Volumes/Macintosh HD" (if it is not, use DiskUtility to mount it)
 
* Start Terminal (Recovery Boot has it in the menu)
 
* Start Terminal (Recovery Boot has it in the menu)
 
* Remove the O3X kexts:
 
* Remove the O3X kexts:
Line 15: Line 15:
 
  # kextcache -i "/Volumes/Macintosh HD"
 
  # kextcache -i "/Volumes/Macintosh HD"
 
* Reboot
 
* Reboot
 
An alternative way is when in recovery, to comment out the import line in the "/usr/local/libexec/zfs/launchd.d/zpool-import-all.sh" file which gets executed on start. This is especially helpful when you want to still have access to zfs commands but an automatic pool import is triggered which crashes the system.
 
  
 
<gallery mode="packed-hover">
 
<gallery mode="packed-hover">
Line 23: Line 21:
 
Image:recovery3.png|''Remove kexts''  
 
Image:recovery3.png|''Remove kexts''  
 
</gallery>
 
</gallery>
 
 
A note from a new user on December 8, 2022:
 
 
I got a into a boot loop and tried the above. I did not have an spl.kext file, but I did have the zfs.kext file. These instructions did not work to get out of the boot loop, and I tried to "comment out the import line" in the "alternative" section above, but it wasn't clear to me exactly which lines mattered.
 
 
The solution I found that actually worked for me was [https://openzfsonosx.org/forum/viewtopic.php?f=24&t=3712&p=11835&hilit=boot+loopp#p11835 in this forum post], by running the command:
 
 
# kmutil trigger-panic-medic --volume-root /Volumes/<YourVolumeName>
 

Please note that all contributions to OpenZFS on OS X may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenZFS on OS X:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)