Skip to content

Instantly share code, notes, and snippets.

@startergo
Created May 8, 2021 05:57
Show Gist options
  • Select an option

  • Save startergo/0a7ef83776f66b6f7aa020c60c74c0dc to your computer and use it in GitHub Desktop.

Select an option

Save startergo/0a7ef83776f66b6f7aa020c60c74c0dc to your computer and use it in GitHub Desktop.
Big Sur kext update
  • Find your System volume:
diskutil list
/dev/disk5 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +255.7 GB   disk5
                                 Physical Store disk4s2
   1:                APFS Volume ⁨Big Sur HD - Data⁩       122.5 GB   disk5s1
   2:                APFS Volume ⁨Preboot⁩                 309.4 MB   disk5s2
   3:                APFS Volume ⁨Recovery⁩                887.8 MB   disk5s3
   4:                APFS Volume ⁨VM⁩                      1.1 MB     disk5s4
   5:                APFS Volume ⁨Big Sur HD⁩              16.2 GB    disk5s5
   6:              APFS Snapshot ⁨com.apple.os.update-...⁩ 16.2 GB    disk5s5s
  • Mount the drive(ie. disk5s5):
sudo mount -o nobrowse -t apfs  /dev/disk5s5 /System/Volumes/Update/mnt1
  • Remove the old kext:
sudo rm -R /System/Volumes/Update/mnt1/System/Library/Extensions/IOPCIFamily.kext
  • Copy over your kext (change desktop to whether you have the 11.2.3 kext):
sudo cp -R ~/Desktop/IOPCIFamily.kext /System/Volumes/Update/mnt1/System/Library/Extensions/
  • Fix permissions:
sudo chmod -Rf 755 /System/Volumes/Update/mnt1/System/Library/Extensions/IOPCIFamily.kext
sudo chown -Rf root:wheel /System/Volumes/Update/mnt1/System/Library/Extensions/IOPCIFamily.kext
  • Rebuild kernel cache with 11.2.3's IOPCIFamily:
sudo kmutil install --volume-root /System/Volumes/Update/mnt1/ --update-all
  • Create new bootable snapshot:
sudo bless --folder /System/Volumes/Update/mnt1/System/Library/CoreServices --bootefi --create-snapshot
@menangen
Copy link

Ok how I can remove that snapshot? And undo bless --folder action?

@startergo
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment