Editing ZFS on Boot

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 180: Line 180:
 
   3        82200576        83886046  823.0 MiB  AB00  Apple boot
 
   3        82200576        83886046  823.0 MiB  AB00  Apple boot
  
* '''s1''' is the system EFI partition, which is used for software updates. You can also add rEFInd boot loader here if desired (optional).
+
'''s1''' is the system EFI partition, which is used for software updates. You can also add rEFInd boot loader here if desired (optional).
* '''s2''' is the ZFS pool used for booting. Note: You are not limited to using the name '''rpool'''.
+
 
* '''s3''' is the small HFS boot helper which will carry the prelinkedkernel to load the kernel with ZFS.
+
'''s2''' is the ZFS pool used for booting. Note: You are not limited to using the name '''rpool'''.
 +
 
 +
'''s3''' is the small HFS boot helper which will carry the prelinkedkernel to load the kernel with ZFS.
  
 
The layout need not be exactly this, but:
 
The layout need not be exactly this, but:
  
* The EFI partition (type ef00) should always exist at the beginning of the disk. It is usually 200 MB.
+
The EFI partition should always exist at the beginning of the disk. It is usually 200 MB.
* The Apple Boot (type ab00) partition should directly follow the ZFS partition. It should be at least 128 MB but may be as large as you want.
+
 
 +
The Apple Boot (ab00) partition should directly follow the ZFS partition. It should be at least 128 MB but may be as large as you want.
 +
 
 +
The boot helper partition is updated automatically at boot time or when software is installed/updated. Development is ongoing to fully support this. A potential issue with atime=on has been identified where kextd may try to run multiple workers at one time.
 +
 
 +
You should set Kernel Flags and Root UUID in the root volume (not the boot helper) as it will be copied to the boot helper automatically. It is located at /Library/Preferences/SystemConfiguration/com.apple.Boot.plist
 +
 
 +
  You cannot use '''Startup Disk''' to select the boot disk, see [[#Blessing the boot device|blessing the boot device]].
  
 
=== Populating the ZFS Root '''s2''' ===
 
=== Populating the ZFS Root '''s2''' ===

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)