reinstalled macOS 3 times but I still get:
Setting the new OS as the default boot volume...
Bootability failed Error Domain=BYErrorDomain Code=112 "Preserved restore bundle in preboot is missing" UserInfo={BYErrorHint=VolumeInvalid, NSLocalizedDescription=Preserved restore bundle in preboot is missing}
Failed to run bless. Press enter to try again.
my full log is aqib@Aqibs-MacBook-Pro ~ % curl https://alx.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2298 0 2298 0 0 2165 0 --:--:-- 0:00:01 --:--:-- 2165
Bootstrapping installer:
Checking version...
Version: v0.7.7
Downloading...
Extracting...
Initializing...
The installer needs to run as root.
Please enter your sudo password if prompted.
Welcome to the Asahi Linux installer!
This installer will guide you through the process of setting up
Asahi Linux on your Mac.
Please make sure you are familiar with our documentation at:
https://alx.sh/w
Press enter to continue.
Collecting system information...
Product name: MacBook Pro (13-inch, M2, 2022)
SoC: Apple M2
Device class: j493ap
Product type: Mac14,7
Board ID: 0x2a
Chip ID: 0x8112
System firmware: iBoot-13822.61.10
Boot UUID: 1C3B16CA-064F-45B1-8283-C828041683B2
Boot VGID: 1C3B16CA-064F-45B1-8283-C828041683B2
Default boot VGID: 1C3B16CA-064F-45B1-8283-C828041683B2
Boot mode: macOS
OS version: 15.7.3 (24G419)
OS restore version: 24.7.419.0.0,0
Main firmware version: 26.2 (25C56)
No Fallback System Firmware / rOS
SFR version: 25.3.56.0.0,0
SystemRecovery version: 24.7.84.0.0,0 (15.6 24G84)
Login user: aqib
Collecting partition information...
System disk: disk0
Collecting OS information...
Partitions in system disk (disk0):
1: APFS [Macintosh HD] (494.38 GB, 6 volumes)
OS: [B*] [Macintosh HD] macOS v15.7.3 [disk4s3s1, 1C3B16CA-064F-45B1-8283-C828041683B2]
2: APFS (System Recovery) (5.37 GB, 2 volumes)
OS: [ ] recoveryOS v26.2 [Primary recoveryOS]
[B ] = Booted OS, [R ] = Booted recovery, [? ] = Unknown
[ *] = Default boot volume
Using OS 'Macintosh HD' (disk4s3s1) for machine authentication.
Choose what to do:
r: Resize an existing partition to make space for a new OS
q: Quit without doing anything
» Action (r): r
We're going to resize this partition:
APFS [Macintosh HD] (494.38 GB, 6 volumes)
Total size: 494.38 GB
Free space: 442.89 GB
Available space: 404.89 GB
Overhead: 0 B
Minimum new size: 89.49 GB (18.10%)
Enter the new size for your existing partition:
You can enter a size such as '1GB', a fraction such as '50%',
or the word 'min' for the smallest allowable size.
Examples:
30% - 30% to macOS, 70% to the new OS
80GB - 80GB to macOS, the rest to your new OS
min - Shrink macOS as much as (safely) possible
» New size (50%): 400GB
Resizing will free up 94.38 GB of space.
Note: your system may appear to freeze during the resize.
This is normal, just wait until the process completes.
» Continue? (y/N): y
Started APFS operation
Aligning shrink delta to 94,384,508,928 bytes and targeting a new container size of 400,000,286,720 bytes
Determined the minimum size for the APFS Container to be 52,999,225,344 bytes
Resizing APFS Container designated by APFS Container Reference disk4
The specific APFS Physical Store being resized is disk0s2
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l /dev/disk0s2
Checking the container superblock
Checking the checkpoint with transaction ID 22211
warning: container has been mounted by APFS version 2632.40.17, which is newer than 2332.140.13
warning: disabling overallocation repairs by default; use -o to override
Checking the space manager
Checking the space manager free queue trees
Checking the object map
Checking the encryption key structures
Checking volume /dev/rdisk4s1
Checking the APFS volume superblock
The volume Macintosh HD - Data was formatted by storagekitd (2332.140.13) and last modified by apfs_kext (2332.140.13)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the document ID tree
Checking the fsroot tree
Checking the extent ref tree
Checking the file key rolling tree
Verifying volume object map space
The volume /dev/rdisk4s1 with UUID 1C3B16CA-064F-45B1-8283-C828041683B2 appears to be OK
Checking volume /dev/rdisk4s2
Checking the APFS volume superblock
The volume Update was formatted by com.apple.MobileS (2332.140.13) and last modified by apfs_kext (2332.140.13)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the fsroot tree
Checking the extent ref tree
Verifying volume object map space
The volume /dev/rdisk4s2 with UUID 59368139-0BCB-498F-BD24-436ECA217607 appears to be OK
Checking volume /dev/rdisk4s3
Checking the APFS volume superblock
The volume Macintosh HD was formatted by com.apple.MobileS (2332.140.13) and last modified by apfs_kext (2332.140.13)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking snapshot 1 of 1 (com.apple.os.update-6A25AE9FD434A625043F39C8C5A6AC094327D2E0FBB1A1928D698D54766F9D44, transaction ID 21382)
Checking the fsroot tree
Checking the file extent tree
Checking the extent ref tree
Verifying volume object map space
The volume /dev/rdisk4s3 with UUID 2588FD4F-6CB3-4D06-A389-D4260C11C4DC appears to be OK
Checking volume /dev/rdisk4s4
Checking the APFS volume superblock
The volume Preboot was formatted by com.apple.MobileS (2332.140.13) and last modified by apfs_kext (2332.140.13)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the fsroot tree
Checking the extent ref tree
Verifying volume object map space
The volume /dev/rdisk4s4 with UUID 3E10E8E7-CB0A-43AC-B2A4-B6A7F99D283D appears to be OK
Checking volume /dev/rdisk4s5
Checking the APFS volume superblock
The volume Recovery was formatted by com.apple.MobileS (2332.140.13) and last modified by apfs_kext (2332.140.13)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the fsroot tree
Checking the extent ref tree
Verifying volume object map space
The volume /dev/rdisk4s5 with UUID 8DE17507-063E-435E-BE17-4822BC1F5087 appears to be OK
Checking volume /dev/rdisk4s6
Checking the APFS volume superblock
The volume VM was formatted by com.apple.MobileS (2332.140.13) and last modified by apfs_kext (2332.140.13)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the fsroot tree
Checking the extent ref tree
Verifying volume object map space
The volume /dev/rdisk4s6 with UUID 55E53648-32B2-42FD-A7DD-E60914560A57 appears to be OK
Verifying allocated space
The container /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Shrinking APFS Physical Store disk0s2 from 494,384,795,648 to 400,000,286,720 bytes
Shrinking APFS data structures
Shrinking partition
Modifying partition map
Finished APFS operation
Resize complete. Press enter to continue.
Collecting partition information...
System disk: disk0
Collecting OS information...
Partitions in system disk (disk0):
1: APFS [Macintosh HD] (400.00 GB, 6 volumes)
OS: [B*] [Macintosh HD] macOS v15.7.3 [disk4s3s1, 1C3B16CA-064F-45B1-8283-C828041683B2]
2: (free space: 94.38 GB)
3: APFS (System Recovery) (5.37 GB, 2 volumes)
OS: [ ] recoveryOS v26.2 [Primary recoveryOS]
[B ] = Booted OS, [R ] = Booted recovery, [? ] = Unknown
[ *] = Default boot volume
Using OS 'Macintosh HD' (disk4s3s1) for machine authentication.
Choose what to do:
f: Install an OS into free space
r: Resize an existing partition to make space for a new OS
q: Quit without doing anything
» Action (f): f
Choose an OS to install:
1: Fedora Asahi Remix 42 with KDE Plasma
2: Fedora Asahi Remix 42 with GNOME
3: Fedora Asahi Remix 42 Server
4: Fedora Asahi Remix 42 Minimal
5: UEFI environment only (m1n1 + U-Boot + ESP)
» OS: 1
Downloading OS package info...
Minimum required space for this OS: 33.90 GB
Available free space: 94.38 GB
How much space should be allocated to the new OS?
You can enter a size such as '1GB', a fraction such as '50%',
the word 'min' for the smallest allowable size, or
the word 'max' to use all available space.
» New OS size (max): max
The new OS will be allocated 94.38 GB of space,
leaving 86.02 KB of free space.
Enter a name for your OS
» OS name (Fedora Linux with KDE Plasma): Asahi
Using macOS 13.5 for OS firmware
Downloading macOS OS package info...
Creating new stub macOS named Asahi
Installing stub macOS into disk0s3 (Asahi)
Preparing target volumes...
Checking volumes...
Beginning stub OS install...
|
Setting up System volume...
100.00% (0.00 B/s)
Setting up Data volume...
Setting up Preboot volume...
| 100.00% (0.00 B/s)s)
Setting up Recovery volume...
- 100.00% (14.35 MB/s)
Wrapping up...
Stub OS installation complete.
Adding partition EFI (524.29 MB)...
Formatting as FAT...
Adding partition Boot (1.07 GB)...
Adding partition Root (90.29 GB)...
Collecting firmware...
100.00% Installing OS...
\ 100.00% (0.00 B/s)
Copying from esp into disk0s4 partition...
| 100.00% (0.00 B/s)
Copying firmware into disk0s4 partition...
Extracting boot.img into disk0s5 partition...
| 100.00% (22.87 MB/s)
Extracting root.img into disk0s6 partition...
/ 100.00% (24.62 MB/s)
Downloading extra files...
Downloading mozilla-openh264-2.4.1-2.fc42.aarch64.rpm (1/2)...
Downloading openh264-2.4.1-2.fc42.aarch64.rpm (2/2)...
Preparing to finish installation...
Collecting installer data...
To continue the installation, you will need to enter your macOS
admin credentials.
Password for aqib:
Setting the new OS as the default boot volume...
Bootability failed Error Domain=BYErrorDomain Code=112 "Preserved restore bundle in preboot is missing" UserInfo={BYErrorHint=VolumeInvalid, NSLocalizedDescription=Preserved restore bundle in preboot is missing}
Failed to run bless. Press enter to try again.
reinstalled macOS 3 times but I still get:
Setting the new OS as the default boot volume...
Bootability failed Error Domain=BYErrorDomain Code=112 "Preserved restore bundle in preboot is missing" UserInfo={BYErrorHint=VolumeInvalid, NSLocalizedDescription=Preserved restore bundle in preboot is missing}
Failed to run bless. Press enter to try again.
my full log is aqib@Aqibs-MacBook-Pro ~ % curl https://alx.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2298 0 2298 0 0 2165 0 --:--:-- 0:00:01 --:--:-- 2165
Bootstrapping installer:
Checking version...
Version: v0.7.7
Downloading...
Extracting...
Initializing...
The installer needs to run as root.
Please enter your sudo password if prompted.
Welcome to the Asahi Linux installer!
This installer will guide you through the process of setting up
Asahi Linux on your Mac.
Please make sure you are familiar with our documentation at:
https://alx.sh/w
Press enter to continue.
Collecting system information...
Product name: MacBook Pro (13-inch, M2, 2022)
SoC: Apple M2
Device class: j493ap
Product type: Mac14,7
Board ID: 0x2a
Chip ID: 0x8112
System firmware: iBoot-13822.61.10
Boot UUID: 1C3B16CA-064F-45B1-8283-C828041683B2
Boot VGID: 1C3B16CA-064F-45B1-8283-C828041683B2
Default boot VGID: 1C3B16CA-064F-45B1-8283-C828041683B2
Boot mode: macOS
OS version: 15.7.3 (24G419)
OS restore version: 24.7.419.0.0,0
Main firmware version: 26.2 (25C56)
No Fallback System Firmware / rOS
SFR version: 25.3.56.0.0,0
SystemRecovery version: 24.7.84.0.0,0 (15.6 24G84)
Login user: aqib
Collecting partition information...
System disk: disk0
Collecting OS information...
Partitions in system disk (disk0):
1: APFS [Macintosh HD] (494.38 GB, 6 volumes)
OS: [B*] [Macintosh HD] macOS v15.7.3 [disk4s3s1, 1C3B16CA-064F-45B1-8283-C828041683B2]
2: APFS (System Recovery) (5.37 GB, 2 volumes)
OS: [ ] recoveryOS v26.2 [Primary recoveryOS]
[B ] = Booted OS, [R ] = Booted recovery, [? ] = Unknown
[ *] = Default boot volume
Using OS 'Macintosh HD' (disk4s3s1) for machine authentication.
Choose what to do:
r: Resize an existing partition to make space for a new OS
q: Quit without doing anything
» Action (r): r
We're going to resize this partition:
APFS [Macintosh HD] (494.38 GB, 6 volumes)
Total size: 494.38 GB
Free space: 442.89 GB
Available space: 404.89 GB
Overhead: 0 B
Minimum new size: 89.49 GB (18.10%)
Enter the new size for your existing partition:
You can enter a size such as '1GB', a fraction such as '50%',
or the word 'min' for the smallest allowable size.
Examples:
30% - 30% to macOS, 70% to the new OS
80GB - 80GB to macOS, the rest to your new OS
min - Shrink macOS as much as (safely) possible
» New size (50%): 400GB
Resizing will free up 94.38 GB of space.
Note: your system may appear to freeze during the resize.
This is normal, just wait until the process completes.
» Continue? (y/N): y
Started APFS operation
Aligning shrink delta to 94,384,508,928 bytes and targeting a new container size of 400,000,286,720 bytes
Determined the minimum size for the APFS Container to be 52,999,225,344 bytes
Resizing APFS Container designated by APFS Container Reference disk4
The specific APFS Physical Store being resized is disk0s2
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l /dev/disk0s2
Checking the container superblock
Checking the checkpoint with transaction ID 22211
warning: container has been mounted by APFS version 2632.40.17, which is newer than 2332.140.13
warning: disabling overallocation repairs by default; use -o to override
Checking the space manager
Checking the space manager free queue trees
Checking the object map
Checking the encryption key structures
Checking volume /dev/rdisk4s1
Checking the APFS volume superblock
The volume Macintosh HD - Data was formatted by storagekitd (2332.140.13) and last modified by apfs_kext (2332.140.13)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the document ID tree
Checking the fsroot tree
Checking the extent ref tree
Checking the file key rolling tree
Verifying volume object map space
The volume /dev/rdisk4s1 with UUID 1C3B16CA-064F-45B1-8283-C828041683B2 appears to be OK
Checking volume /dev/rdisk4s2
Checking the APFS volume superblock
The volume Update was formatted by com.apple.MobileS (2332.140.13) and last modified by apfs_kext (2332.140.13)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the fsroot tree
Checking the extent ref tree
Verifying volume object map space
The volume /dev/rdisk4s2 with UUID 59368139-0BCB-498F-BD24-436ECA217607 appears to be OK
Checking volume /dev/rdisk4s3
Checking the APFS volume superblock
The volume Macintosh HD was formatted by com.apple.MobileS (2332.140.13) and last modified by apfs_kext (2332.140.13)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking snapshot 1 of 1 (com.apple.os.update-6A25AE9FD434A625043F39C8C5A6AC094327D2E0FBB1A1928D698D54766F9D44, transaction ID 21382)
Checking the fsroot tree
Checking the file extent tree
Checking the extent ref tree
Verifying volume object map space
The volume /dev/rdisk4s3 with UUID 2588FD4F-6CB3-4D06-A389-D4260C11C4DC appears to be OK
Checking volume /dev/rdisk4s4
Checking the APFS volume superblock
The volume Preboot was formatted by com.apple.MobileS (2332.140.13) and last modified by apfs_kext (2332.140.13)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the fsroot tree
Checking the extent ref tree
Verifying volume object map space
The volume /dev/rdisk4s4 with UUID 3E10E8E7-CB0A-43AC-B2A4-B6A7F99D283D appears to be OK
Checking volume /dev/rdisk4s5
Checking the APFS volume superblock
The volume Recovery was formatted by com.apple.MobileS (2332.140.13) and last modified by apfs_kext (2332.140.13)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the fsroot tree
Checking the extent ref tree
Verifying volume object map space
The volume /dev/rdisk4s5 with UUID 8DE17507-063E-435E-BE17-4822BC1F5087 appears to be OK
Checking volume /dev/rdisk4s6
Checking the APFS volume superblock
The volume VM was formatted by com.apple.MobileS (2332.140.13) and last modified by apfs_kext (2332.140.13)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the fsroot tree
Checking the extent ref tree
Verifying volume object map space
The volume /dev/rdisk4s6 with UUID 55E53648-32B2-42FD-A7DD-E60914560A57 appears to be OK
Verifying allocated space
The container /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Shrinking APFS Physical Store disk0s2 from 494,384,795,648 to 400,000,286,720 bytes
Shrinking APFS data structures
Shrinking partition
Modifying partition map
Finished APFS operation
Resize complete. Press enter to continue.
Collecting partition information...
System disk: disk0
Collecting OS information...
Partitions in system disk (disk0):
1: APFS [Macintosh HD] (400.00 GB, 6 volumes)
OS: [B*] [Macintosh HD] macOS v15.7.3 [disk4s3s1, 1C3B16CA-064F-45B1-8283-C828041683B2]
2: (free space: 94.38 GB)
3: APFS (System Recovery) (5.37 GB, 2 volumes)
OS: [ ] recoveryOS v26.2 [Primary recoveryOS]
[B ] = Booted OS, [R ] = Booted recovery, [? ] = Unknown
[ *] = Default boot volume
Using OS 'Macintosh HD' (disk4s3s1) for machine authentication.
Choose what to do:
f: Install an OS into free space
r: Resize an existing partition to make space for a new OS
q: Quit without doing anything
» Action (f): f
Choose an OS to install:
1: Fedora Asahi Remix 42 with KDE Plasma
2: Fedora Asahi Remix 42 with GNOME
3: Fedora Asahi Remix 42 Server
4: Fedora Asahi Remix 42 Minimal
5: UEFI environment only (m1n1 + U-Boot + ESP)
» OS: 1
Downloading OS package info...
Minimum required space for this OS: 33.90 GB
Available free space: 94.38 GB
How much space should be allocated to the new OS?
You can enter a size such as '1GB', a fraction such as '50%',
the word 'min' for the smallest allowable size, or
the word 'max' to use all available space.
» New OS size (max): max
The new OS will be allocated 94.38 GB of space,
leaving 86.02 KB of free space.
Enter a name for your OS
» OS name (Fedora Linux with KDE Plasma): Asahi
Using macOS 13.5 for OS firmware
Downloading macOS OS package info...
Creating new stub macOS named Asahi
Installing stub macOS into disk0s3 (Asahi)
Preparing target volumes...
Checking volumes...
Beginning stub OS install...
|
Setting up System volume...
100.00% (0.00 B/s)
Setting up Data volume...
Setting up Preboot volume...
| 100.00% (0.00 B/s)s)
Setting up Recovery volume...
Wrapping up...
Stub OS installation complete.
Adding partition EFI (524.29 MB)...
Formatting as FAT...
Adding partition Boot (1.07 GB)...
Adding partition Root (90.29 GB)...
Collecting firmware...
100.00% Installing OS...
\ 100.00% (0.00 B/s)
Copying from esp into disk0s4 partition...
| 100.00% (0.00 B/s)
Copying firmware into disk0s4 partition...
Extracting boot.img into disk0s5 partition...
| 100.00% (22.87 MB/s)
Extracting root.img into disk0s6 partition...
/ 100.00% (24.62 MB/s)
Downloading extra files...
Downloading mozilla-openh264-2.4.1-2.fc42.aarch64.rpm (1/2)...
Downloading openh264-2.4.1-2.fc42.aarch64.rpm (2/2)...
Preparing to finish installation...
Collecting installer data...
To continue the installation, you will need to enter your macOS
admin credentials.
Password for aqib:
Setting the new OS as the default boot volume...
Bootability failed Error Domain=BYErrorDomain Code=112 "Preserved restore bundle in preboot is missing" UserInfo={BYErrorHint=VolumeInvalid, NSLocalizedDescription=Preserved restore bundle in preboot is missing}
Failed to run bless. Press enter to try again.