asahilinux / asahi-installer Goto Github PK
View Code? Open in Web Editor NEWAsahi Linux installer
License: MIT License
Asahi Linux installer
License: MIT License
Don't get me wrong. I love the initiative and I'm quite amazed by the project, but I think you should add more explicit instructions for removal.
There are enough warnings and mentions during the installation to understand it's kinda of hacking your own mac, as you remove lots of restrictions/protections, but I would include stuff like diskutil eraseVolume JHFS+ drive YOUR-PARTITION
to allow everyone delete partitions and recover their original config.
curl https://alx.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 967 100 967 0 0 548 0 0:00:01 0:00:01 --:--:-- 550
Bootstrapping installer:
Checking version...
Version: v0.3.9
Downloading...
Extracting...
Initializing...
The installer needs to run as root.
Please enter your sudo password if prompted.
Password:
Welcome to the Asahi Linux installer!
This installer is in an alpha state, and may not work for everyone.
It is intended for developers and early adopters who are comfortable
debugging issues or providing detailed bug reports.
Please make sure you are familiar with our documentation at:
https://alx.sh/w
Press enter to continue.
By default, this installer will hide certain advanced options that
are only useful for developers. You can enable expert mode to show them.
» Enable expert mode? (y/N): N
Collecting system information...
Product name: MacBook Air (M1, 2020)
SoC: Apple M1
Device class: j313ap
Product type: MacBookAir10,1
Board ID: 0x26
Chip ID: 0x8103
System firmware: iBoot-7459.101.2
Boot UUID: F2577686-35E3-46E4-BBDA-2D744A0E0D20
Boot VGID: F2577686-35E3-46E4-BBDA-2D744A0E0D20
Default boot VGID: F2577686-35E3-46E4-BBDA-2D744A0E0D20
Boot mode: macOS
OS version: 12.3 (21E230)
System rOS version: 12.3 (21E230)
No Fallback rOS
Login user: raghu
Collecting partition information...
System disk: disk0
Collecting OS information...
Partitions in system disk (disk0):
1: APFS [Macintosh HD] (245.11 GB, 6 volumes)
OS: [B*] [Macintosh HD] macOS v12.3 [disk3s1, F2577686-35E3-46E4-BBDA-2D744A0E0D20]
2: APFS (System Recovery) (5.37 GB, 2 volumes)
OS: [ ] recoveryOS v12.3 [Primary recoveryOS]
[B ] = Booted OS, [R ] = Booted recovery, [? ] = Unknown
[ *] = Default boot volume
Using OS 'Macintosh HD' (disk3s1) 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] (245.11 GB, 6 volumes)
Total size: 245.11 GB
Free space: 90.43 GB
Minimum free space: 38.00 GB
Minimum total size: 192.68 GB (78.61%)
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 (min): 35GB
Size is too small, please enter a value > 192.68 GB (78.61%)
» New size (min): min
Resizing will free up 52.43 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 52,429,258,752 bytes and targeting a new physical store size of 192,677,937,152 bytes
Determined the minimum size for the targeted physical store of this APFS Container to be 158,611,800,064 bytes
Resizing APFS Container designated by APFS Container Reference disk3
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 EFI jumpstart record
Checking the space manager
Checking the space manager free queue trees
Checking the object map
Checking the encryption key structures
Checking volume /dev/rdisk3s1
Checking the APFS volume superblock
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking snapshot 1 of 1 (com.apple.os.update-2289385E1A6FCCF05D444673FB1FEB06DDCF82A4C723EAD53AF1F3E08872CE0F)
Checking the fsroot tree
Checking the file extent tree
Checking the extent ref tree
Verifying volume object map space
The volume /dev/rdisk3s1 appears to be OK
Checking volume /dev/rdisk3s2
Checking the APFS volume superblock
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/rdisk3s2 appears to be OK
Checking volume /dev/rdisk3s3
Checking the APFS volume superblock
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/rdisk3s3 appears to be OK
Checking volume /dev/rdisk3s4
Checking the APFS volume superblock
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/rdisk3s4 appears to be OK
Checking volume /dev/rdisk3s5
Checking the APFS volume superblock
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/rdisk3s5 appears to be OK
Checking volume /dev/rdisk3s6
Checking the APFS volume superblock
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/rdisk3s6 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 245,107,195,904 to 192,677,937,152 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] (192.68 GB, 6 volumes)
OS: [B*] [Macintosh HD] macOS v12.3 [disk3s1, F2577686-35E3-46E4-BBDA-2D744A0E0D20]
2: (free space: 52.43 GB)
3: APFS (System Recovery) (5.37 GB, 2 volumes)
OS: [ ] recoveryOS v12.3 [Primary recoveryOS]
[B ] = Booted OS, [R ] = Booted recovery, [? ] = Unknown
[ *] = Default boot volume
Using OS 'Macintosh HD' (disk3s1) for machine authentication.
Choose what to do:
f: Install an OS into free space
q: Quit without doing anything
» Action (f): f
Choose an OS to install:
1: Asahi Linux Desktop
2: Asahi Linux Minimal (Arch Linux ARM)
3: UEFI environment only (m1n1 + U-Boot + ESP)
» OS: 1
Downloading OS package info...
.
Minimum required space for this OS: 15.00 GB
Available free space: 52.43 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): 35GB
The new OS will be allocated 35.00 GB of space,
leaving 17.43 GB of free space.
Enter a name for your OS
» OS name (Asahi Linux): LinuxM1
Using macOS 12.3 for OS firmware
Downloading macOS OS package info...
.
Creating new stub macOS named LinuxM1
Installing stub macOS into disk0s5 (LinuxM1)
Preparing target volumes...
Checking volumes...
Beginning stub OS install...
++
Setting up System volume...
Setting up Data volume...
Setting up Preboot volume...
+++++++++
Setting up Recovery volume...
++++Error downloading data (<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129)>), retrying... (1/5)
+++++++++++++++++++++++++++++++++++++++++++++++++++++
Wrapping up...
Stub OS installation complete.
Adding partition EFI (500.17 MB)...
Formatting as FAT...
Adding partition Root (32.00 GB)...
Collecting firmware...
Installing OS...
Copying from esp into disk0s4 partition...
+
Copying firmware into disk0s4 partition...
Extracting root.img into disk0s7 partition...
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++^C
Interrupted
Hi, I tried installing Asahi on my MBA.
But the installation failed with the following message:
Failed to run process: diskutil quiet addPartition disk0s4 %Linux% %noformat% 14947450880
Output: b'The new partition to be added will be of a human-readable content type of Linux\nThe new partition will be added following disk0s4\n'
I followed all the default options so I'm not really sure what I did wrong
Full Install log: https://gist.github.com/sleepy-monax/dd3b85a2e7e886637f50c3245ef7c7bb
Hi,
Super pumped to be able to give Asahi a shot :) Congrats on the release!
I've attempted the installer today (M1 Pro), and I got stuck on
Extracting root.img into disk0s7 partition
++++++++++++++++++++++++++
I had to kill it, as it stopped progressing even after 10 minutes and I could not see any I/O activity (no disk, no network).
I'm pretty sure that my macbook went to sleep during that step, as my display is set to turn off after two minutes on battery. Restarting the process with Amphetamine inhibiting sleep worked fine.
If that's not already the case, may I suggest that the installer inhibits sleep during critical steps, or at least warns about sleep settings? That's, of course, assuming that my theory about how it got stuck is right.
Sidebar: Recovering from that incomplete state wasn't straightforward (but easy using some diskutil eraseVolume), but it's another subject and I didn't expect the installer to be able to do so. No biggie.
On my MacBook Air M1, the second-stage installer fails to create the local boot policy with bputil
. The first-stage installer completes successfully, the new Asahi Linux system shows up in the boot picker, but when I authenticate with my macOS password I receive the following error:
Local policy update is in progress, please wait...
Boot objects update failed for /Volumes/Asahi Linux: Error Domain=BYErrorDomain Code=401 "Failed to create local policy" UserInfo={NSLocalizedDescription=Failed to create local policy, NSUnderlyingError=0x6000027e4090 {Error Domain=com.apple.bootpolicy Code=17 "pairing (17)" UserInfo={NSLocalizedDescription=pairing (17)}}}
bputil failed. Did you mistype your password?
Press enter to try again.
I did enter my password correctly, and the first-stage installer didn't produce any error messages. The only thing I can think that would cause this is that I already have a custom boot policy set on my macOS partition (permissive security, with boot args validation disabled and all kernel extensions allowed).
SilentKnight output for the above configuration:
Please let me know if there's any more information I need to share that would be pertinent to this issue.
03-23 18:17 root INFO Startup
03-23 18:17 root INFO Environment:
03-23 18:17 root INFO INSTALLER_BASE=None
03-23 18:17 root INFO INSTALLER_DATA=None
03-23 18:17 root INFO REPO_BASE=None
03-23 18:17 root INFO IPSW_BASE=None
03-23 18:17 root INFO Version: v0.3.24
03-23 18:17 root ERROR Exception caught
Traceback (most recent call last):
File "/Users/yumikotoys/Downloads/installer-v0.3.24/main.py", line 820, in
InstallerMain().main()
File "/Users/yumikotoys/Downloads/installer-v0.3.24/main.py", line 70, in init
self.data = json.load(open("installer_data.json"))
FileNotFoundError: [Errno 2] No such file or directory: 'installer_data.json'
03-23 18:17 root INFO MSG: If you need to file a bug report, please attach the log file:
03-23 18:17 root INFO MSG: /Users/yumikotoys/Downloads/installer-v0.3.24/installer.log
System info:
Product name: MacBook Pro (13-inch, M1, 2020)
SoC: Apple M1
Device class: je293ap
Product type: MacBookPro17,1
Board ID: 0x24
Chip ID: 0x8103
System firmware: iBoot-7459.101.2
OS version: 12.3 (21E230)
System rOS version: 12.3 (21E230)
No Fallback rOS
Installation type:
Asahi Linux Minimal (Arch Linux ARM)
Steps to reproduce:
###### WARNING ######
# Backup your data #
# before tring #
# these steps! #
#####################
btrfs-convert /dev/nvme0n1p5 -L --uuid copy
reboot
grub-install
).diskutil list
diskutil eraseVolume free free /dev/disk0s5
diskutil eraseVolume free free /dev/disk0s4
diskutil apfs deleteContainer /dev/disk0s3 free free 0
reboot
idevicerestore -l
will complete with no error, but after that it's still not able to boot it.An Apple Cofigurator restore or idevicerestore -ley
will unbrick it, but user data will lose.
Collecting system information...
root : ERROR Exception caught
Traceback (most recent call last):
File "/private/tmp/asahi-install/main.py", line 820, in
InstallerMain().main()
File "/private/tmp/asahi-install/main.py", line 641, in main
self.sysinfo = system.SystemInfo()
File "/private/tmp/asahi-install/system.py", line 8, in init
self.fetch()
File "/private/tmp/asahi-install/system.py", line 47, in fetch
self.get_nvram_data()
File "/private/tmp/asahi-install/system.py", line 89, in get_nvram_data
k, v = line.split("\t", 1)
ValueError: not enough values to unpack (expected 2, got 1)
installer.log
MACOS 12.3
MacBook Pro with m1 pro
The container /dev/disk0s2 could not be verified completely Storage system check exit code is 8 Error: -69716: Storage system verify or repair failed Failed to run process: diskutil apfs resizeContainer disk0s2 469999026176 root : ERROR Process execution failed Traceback (most recent call last): File "/private/tmp/asahi-install/main.py", line 807, in <module> InstallerMain().main() File "/private/tmp/asahi-install/main.py", line 659, in main while self.main_loop(): File "/private/tmp/asahi-install/main.py", line 779, in main_loop return self.action_resize(parts_resizable) File "/private/tmp/asahi-install/main.py", line 599, in action_resize self.dutil.resizeContainer(target.name, val) File "/private/tmp/asahi-install/diskutil.py", line 202, in resizeContainer self.action("apfs", "resizeContainer", name, size, verbose=2) File "/private/tmp/asahi-install/diskutil.py", line 38, in action subprocess.run(["diskutil"] + list(args), check=True) File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 528, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['diskutil', 'apfs', 'resizeContainer', 'disk0s2', '469999026176']' returned non-zero exit status 1.
I also received this error before error: doc-id tree: record exists for doc-id 19220, file-id 5292977 but no inode references this doc-id
Unless a forced shutdown is required, I think a graceful shutdown like what the macOS GUI does is more appropriate.
The message could be changed to "Please shutdown your computer, Press ENTER to shut it down immediately, or ^C to shut it down manually later"
If the shutdown -h now can be replaced with a command invoking mac OS graceful shutdown it would be even better.
Hi I tried to install asahi linux on my 2021 m1 macbook and everything went well until I need to shut down and restart the mac.
During the first restart I released the power button early and didn't get into the options mode. The second time I get into the options mode and selected Asahi Linux volume, I got bputil failed issue shown in the attached image.
I'm pretty sure I entered the correct password but I keep getting this error.
Any ideas how I can fix it or how I can redo the whole instalation? Thanks!
The installer exited with the message "No actions available on this system". I know I don't have enough free space to install but would expect it to say that if that's what the issue is here.
03-18 20:48 root INFO Startup
03-18 20:48 root INFO Environment:
03-18 20:48 root INFO INSTALLER_BASE=https://cdn.asahilinux.org/installer
03-18 20:48 root INFO INSTALLER_DATA=https://github.com/AsahiLinux/asahi-installer/raw/prod/data/installer_data.json
03-18 20:48 root INFO REPO_BASE=https://cdn.asahilinux.org
03-18 20:48 root INFO IPSW_BASE=None
03-18 20:48 root INFO Version: v0.3.2
03-18 20:48 root INFO MSG: Welcome to the Asahi Linux installer!
03-18 20:48 root INFO MSG: This installer is in an alpha state, and may not work for everyone.
03-18 20:48 root INFO MSG: It is intended for developers and early adopters who are comfortable
03-18 20:48 root INFO MSG: debugging issues or providing detailed bug reports.
03-18 20:48 root INFO MSG: Please make sure you are familiar with our documentation at:
03-18 20:48 root INFO MSG: �[34;1mhttps://alx.sh/w�[m�[m
03-18 20:48 root INFO MSG: Press enter to continue.
03-18 20:50 root INFO MSG: By default, this installer will hide certain advanced options that
03-18 20:50 root INFO MSG: are only useful for developers. You can enable expert mode to show them.
03-18 20:50 root INFO MSG: �[1;37m»�[1;36m Enable expert mode? (y/N): �[m
03-18 20:50 root INFO INPUT: 'n'
03-18 20:50 root INFO MSG: Collecting system information...
03-18 20:50 root INFO MSG: Product name: �[mMacBook Air (M1, 2020)�[m
03-18 20:50 root INFO MSG: SoC: �[mApple M1�[m
03-18 20:50 root INFO MSG: Device class: �[mj313ap�[m
03-18 20:50 root INFO MSG: Product type: �[mMacBookAir10,1�[m
03-18 20:50 root INFO MSG: Board ID: �[m0x26�[m
03-18 20:50 root INFO MSG: Chip ID: �[m0x8103�[m
03-18 20:50 root INFO MSG: System firmware: �[miBoot-7459.101.2�[m
03-18 20:50 root INFO MSG: Boot UUID: �[m8D1477E6-A375-41B8-A696-3451DE48160A�[m
03-18 20:50 root INFO MSG: Boot VGID: �[m8D1477E6-A375-41B8-A696-3451DE48160A�[m
03-18 20:50 root INFO MSG: Default boot VGID: �[m8D1477E6-A375-41B8-A696-3451DE48160A�[m
03-18 20:50 root INFO MSG: Boot mode: �[mmacOS�[m
03-18 20:50 root INFO MSG: OS version: �[m12.3 (21E230)�[m
03-18 20:50 root INFO MSG: System rOS version: �[m12.3 (21E230)�[m
03-18 20:50 root INFO MSG: No Fallback rOS
03-18 20:50 root INFO MSG: Login user: �[mezekielelin�[m
03-18 20:50 root INFO MSG: Collecting partition information...
03-18 20:50 root INFO DiskUtil.get_info()
03-18 20:50 root INFO DiskUtil.get_list()
03-18 20:50 root DEBUG get: diskutil ('list', '-plist')
03-18 20:50 root INFO DiskUtil.get_apfs_list()
03-18 20:50 root DEBUG get: diskutil ('apfs', 'list', '-plist')
03-18 20:50 root DEBUG get: diskutil ('apfs', 'listVolumeGroups', 'disk1', '-plist')
03-18 20:50 root DEBUG get: diskutil ('apfs', 'listVolumeGroups', 'disk2', '-plist')
03-18 20:50 root DEBUG get: diskutil ('apfs', 'listVolumeGroups', 'disk3', '-plist')
03-18 20:50 root INFO DiskUtil.get_disk_info()
03-18 20:50 root DEBUG get: diskutil ('info', '-plist', 'disk0')
03-18 20:50 root DEBUG get: diskutil ('info', '-plist', 'disk1')
03-18 20:50 root DEBUG get: diskutil ('info', '-plist', 'disk2')
03-18 20:50 root DEBUG get: diskutil ('info', '-plist', 'disk3')
03-18 20:50 root INFO DiskUtil.find_system_disk()
03-18 20:50 root INFO System disk: disk0
03-18 20:50 root INFO MSG: System disk: �[mdisk0�[m
03-18 20:50 root INFO DiskUtil.get_partitions('disk0')
03-18 20:50 root INFO DiskUtil.get_partition_info(dev='disk0s1', refresh_apfs=False)
03-18 20:50 root DEBUG get: diskutil ('info', '-plist', 'disk0s1')
03-18 20:50 root INFO DiskUtil.get_partition_info(dev='disk0s2', refresh_apfs=False)
03-18 20:50 root DEBUG get: diskutil ('info', '-plist', 'disk0s2')
03-18 20:50 root INFO DiskUtil.get_partition_info(dev='disk0s3', refresh_apfs=False)
03-18 20:50 root DEBUG get: diskutil ('info', '-plist', 'disk0s3')
03-18 20:50 root INFO MSG: Collecting OS information...
03-18 20:50 root INFO OSEnum.collect()
03-18 20:50 root INFO OSEnum.collect_part(part=disk0s1)
03-18 20:50 root INFO OSEnum.collect_part(part=disk0s2)
03-18 20:50 root INFO OSEnum.collect_os(part=disk0s2, vgid=8D1477E6-A375-41B8-A696-3451DE48160A)
03-18 20:50 root DEBUG run: diskutil ('quiet', 'mount', 'disk3s2')
03-18 20:50 root DEBUG get: diskutil ('info', '-plist', 'disk3s2')
03-18 20:50 root INFO mounts[Preboot]: /System/Volumes/Preboot
03-18 20:50 root DEBUG run: diskutil ('quiet', 'mount', 'disk3s3')
03-18 20:50 root DEBUG get: diskutil ('info', '-plist', 'disk3s3')
03-18 20:50 root INFO mounts[Recovery]: /Volumes/Recovery
03-18 20:50 root DEBUG run: diskutil ('quiet', 'mount', 'disk3s1')
03-18 20:50 root DEBUG get: diskutil ('info', '-plist', 'disk3s1')
03-18 20:50 root INFO mounts[System]: /Volumes/Macintosh HD 1
03-18 20:50 root DEBUG run: diskutil ('quiet', 'mount', 'disk3s5')
03-18 20:50 root DEBUG get: diskutil ('info', '-plist', 'disk3s5')
03-18 20:50 root INFO mounts[Data]: /System/Volumes/Data
03-18 20:50 root INFO Trying SystemVersion.plist...
03-18 20:50 root INFO Version: 12.3
03-18 20:50 root INFO Trying SystemVersion-disabled.plist...
03-18 20:50 root INFO Not Found
03-18 20:50 root INFO Admin users: ['ezekielelin', 'sydney']
03-18 20:50 root INFO BootPolicy[coih] = None
03-18 20:50 root INFO BootPolicy[nsih] = 3393238C1FD84CEEB63BD0EE574041838499DC92C2825975EDA42B7793C8DE125745EC62ABDD515D3EFF948DD327C235
03-18 20:50 root INFO Found [�[1mMacintosh HD�[m] �[1;32mmacOS v12.3�[m [disk3s1, 8D1477E6-A375-41B8-A696-3451DE48160A]
03-18 20:50 root INFO OSEnum.collect_recovery(part=disk0s3)
03-18 20:50 root INFO Found SROS: recoveryOS v12.3 [Primary recoveryOS]
03-18 20:50 root INFO Checking resizability of disk0s2
03-18 20:50 root INFO Has OS
03-18 20:50 root INFO Min space required: 38500000000
03-18 20:50 root INFO Free space: 14744420352
03-18 20:50 root INFO Cannot resize
03-18 20:50 root INFO Checking resizability of disk0s3
03-18 20:50 root INFO Has OS
03-18 20:50 root INFO Min space required: 38500000000
03-18 20:50 root INFO Free space: 3642916864
03-18 20:50 root INFO Cannot resize
03-18 20:50 root INFO MSG: Partitions in system disk (disk0):
03-18 20:50 root INFO MSG: �[1m1�[m: APFS [Macintosh HD] (245.11 GB, 6 volumes)�[m
03-18 20:50 root INFO MSG: OS: [�[32mB�[m�[1m*�[m] [�[1mMacintosh HD�[m] �[1;32mmacOS v12.3�[m [disk3s1, 8D1477E6-A375-41B8-A696-3451DE48160A]�[m
03-18 20:50 root INFO MSG: �[1m2�[m: APFS (System Recovery) (5.37 GB, 2 volumes)�[m
03-18 20:50 root INFO MSG: OS: [ ] recoveryOS v12.3 [Primary recoveryOS]
03-18 20:50 root INFO MSG: [�[32mB�[m ] = Booted OS, [�[33mR�[m ] = Booted recovery, [�[31m?�[m ] = Unknown�[m
03-18 20:50 root INFO MSG: [ �[1m*�[m] = Default boot volume�[m
03-18 20:50 root INFO MSG: Using OS 'Macintosh HD' (disk3s1) for machine authentication.
03-18 20:50 root INFO Current OS: Macintosh HD / disk3s1
03-18 20:50 root INFO MSG: No actions available on this system.
03-18 20:50 root ERROR Exception caught
Traceback (most recent call last):
File "/private/tmp/asahi-install/main.py", line 802, in <module>
InstallerMain().main()
File "/private/tmp/asahi-install/main.py", line 654, in main
while self.main_loop():
File "/private/tmp/asahi-install/main.py", line 760, in main_loop
sys.exit(1)
SystemExit: 1
03-18 20:50 root INFO MSG: If you need to file a bug report, please attach the log file:
03-18 20:50 root INFO MSG: /private/tmp/asahi-install/installer.log
Preparing target volumes...
Failed to run process: diskutil quiet apfs addVolume disk4 apfs 'Asahi Linux' -role S -groupWith disk4s1
Output: b'Will export new APFS Volume "Asahi Linux" from APFS Container Reference disk4\n'
root : ERROR Process execution failed
See the attached log
installer.log
I'm not touching this machine in case further investigation is needed.
lineno 48
7z x -so "$DL/$PYTHON_PKG" Python_Framework.pkg/Payload | zcat | \ cpio -i -D "$PACKAGE/Frameworks/Python.framework"
Extracting Python framework...
Brief Usage:
List: cpio -it < archive
Extract: cpio -i < archive
Create: cpio -o < filenames > archive
Help: cpio --help
This is a pretty silly thing to try! But someone will probably expect it to work, so a nice error message would be a good idea.
$ uname -m
x86_64
$ curl https://alx.sh | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 967 100 967 0 0 4405 0 --:--:-- --:--:-- --:--:-- 4649
Bootstrapping installer:
Checking version...
Version: v0.3.5
Downloading...
Extracting...
Initializing...
The installer needs to run as root.
Please enter your sudo password if prompted.
Password:
Welcome to the Asahi Linux installer!
This installer is in an alpha state, and may not work for everyone.
It is intended for developers and early adopters who are comfortable
debugging issues or providing detailed bug reports.
Please make sure you are familiar with our documentation at:
https://alx.sh/w
Press enter to continue.
By default, this installer will hide certain advanced options that
are only useful for developers. You can enable expert mode to show them.
» Enable expert mode? (y/N): n
Collecting system information...
root : ERROR Exception caught
Traceback (most recent call last):
File "/private/tmp/asahi-install/main.py", line 803, in <module>
InstallerMain().main()
File "/private/tmp/asahi-install/main.py", line 624, in main
self.sysinfo = system.SystemInfo()
File "/private/tmp/asahi-install/system.py", line 8, in __init__
self.fetch()
File "/private/tmp/asahi-install/system.py", line 24, in fetch
self.product = product = self.get_child(dt, "product")
File "/private/tmp/asahi-install/system.py", line 128, in get_child
raise Exception(f"Could not find {name}")
Exception: Could not find product
If you need to file a bug report, please attach the log file:
/private/tmp/asahi-install/installer.log
Getting this return after setting the parameters for the partition resize:
Running MacBook Air M1 2020
error: doc-id tree: record exists for doc-id 64, file-id 9665861 but no inode references this doc-id
Checking the extent ref tree
Checking the file key rolling tree
Verifying volume object map space
The volume /dev/rdisk3s5 was found to be corrupt and needs to be repaired
Checking volume /dev/rdisk3s6
Checking the APFS volume superblock
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/rdisk3s6 appears to be OK
Verifying allocated space
Performing deferred repairs
error: doc-id tree record exists f
The container /dev/disk0s2 could not be verified completely
Storage system check exit code is 8
Error: -69716: Storage system verify or repair failed
Failed to run process: {cmd}
root : ERROR Process execution failed
Traceback (most recent call last):
File "/private/tmp/asahi-install/main.py", line 802, in <module>
InstallerMain().main()
File "/private/tmp/asahi-install/main.py", line 654, in main
while self.main_loop():
File "/private/tmp/asahi-install/main.py", line 774, in main_loop
return self.action_resize(parts_resizable)
File "/private/tmp/asahi-install/main.py", line 594, in action_resize
self.dutil.resizeContainer(target.name, val)
File "/private/tmp/asahi-install/diskutil.py", line 191, in resizeContainer
self.action("apfs", "resizeContainer", name, size, verbose=2)
File "/private/tmp/asahi-install/diskutil.py", line 37, in action
subprocess.run(["diskutil"] + list(args), check=True)
File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['diskutil', 'apfs', 'resizeContainer', 'disk0s2', '116980187136']' returned non-zero exit status 1.
Dont really contribute much, so if there are details you guys must know please let me know so I can fill out more accurate bug reports.
Error: -69606: A problem occurred while resizing APFS Container structures
Failed to run process: diskutil apfs resizeContainer disk0s2 171574296576
I tried to run the installer from recovery to re-install the stub partition (was still on 12.1). However, it fails because 'true' is not installed. And then it claims I'm running on intel architecture.
-bash-3.2# curl -L https://alx.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 999 100 999 0 0 1252 0 --:--:-- --:--:-- --:--:-- 1261
Bootstrapping installer:
Checking version...
Version: v0.3.15
Downloading...
Extracting...
Initializing...
Looks like this is an Intel Mac!
Sorry, Asahi Linux only supports Apple Silicon machines.
May we interest you in https://t2linux.org/ instead?
-bash-3.2# arch
arm64
-bash-3.2#
At the end of the installation, "Preparing to finish installation..." the script stops directly after entering the sudo password...
03-21 19:09 root ERROR Exception caught Traceback (most recent call last): File "/private/tmp/asahi-install/main.py", line 807, in <module> InstallerMain().main() File "/private/tmp/asahi-install/main.py", line 659, in main while self.main_loop(): File "/private/tmp/asahi-install/main.py", line 775, in main_loop return self.action_install_into_free(parts_free) File "/private/tmp/asahi-install/main.py", line 287, in action_install_into_free self.do_install(os_size) File "/private/tmp/asahi-install/main.py", line 311, in do_install self.step2() File "/private/tmp/asahi-install/main.py", line 401, in step2 self.startup_disk() File "/private/tmp/asahi-install/main.py", line 467, in startup_disk return self.bless() File "/private/tmp/asahi-install/main.py", line 371, in bless self.get_admin_credentials() File "/private/tmp/asahi-install/main.py", line 191, in get_admin_credentials self.admin_password = getpass.getpass(f'Password for {self.admin_user}: ') File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/getpass.py", line 77, in unix_getpass passwd = _raw_input(prompt, stream, input=input) File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/getpass.py", line 146, in _raw_input line = input.readline() File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3: ordinal not in range(128) 03-21 19:09 root INFO MSG: If you need to file a bug report, please attach the log file: 03-21 19:09 root INFO MSG: /private/tmp/asahi-install/installer.log [installer.log](https://github.com/AsahiLinux/asahi-installer/files/8318249/installer.log)
I was installing Asahi and when I arrived at the disk resizing part I was confronted to this message:
Failed to run process: diskutil apfs resizeContainer disk0s2 429998997504
root : ERROR Process execution failed
Traceback (most recent call last):
File "/private/tmp/asahi-install/main.py", line 820, in
InstallerMain().main()
File "/private/tmp/asahi-install/main.py", line 672, in main
while self.main_loop():
File "/private/tmp/asahi-install/main.py", line 792, in main_loop
return self.action_resize(parts_resizable)
File "/private/tmp/asahi-install/main.py", line 612, in action_resize
self.dutil.resizeContainer(target.name, val)
File "/private/tmp/asahi-install/diskutil.py", line 208, in resizeContainer
self.action("apfs", "resizeContainer", name, size, verbose=2)
File "/private/tmp/asahi-install/diskutil.py", line 38, in action
subprocess.run(["diskutil"] + list(args), check=True)
File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['diskutil', 'apfs', 'resizeContainer', 'disk0s2', '429998997504']' returned non-zero exit status 1.
If you need to file a bug report, please attach the log file
What can I do
ps: I tried first aid on the disk it didn't work
03-19 01:48 root INFO Startup
03-19 01:48 root INFO Environment:
03-19 01:48 root INFO INSTALLER_BASE=https://cdn.asahilinux.org/installer
03-19 01:48 root INFO INSTALLER_DATA=https://github.com/AsahiLinux/asahi-installer/raw/prod/data/installer_data.json
03-19 01:48 root INFO REPO_BASE=https://cdn.asahilinux.org
03-19 01:48 root INFO IPSW_BASE=None
03-19 01:48 root INFO Version: v0.3.2
03-19 01:48 root INFO MSG: Welcome to the Asahi Linux installer!
03-19 01:48 root INFO MSG: This installer is in an alpha state, and may not work for everyone.
03-19 01:48 root INFO MSG: It is intended for developers and early adopters who are comfortable
03-19 01:48 root INFO MSG: debugging issues or providing detailed bug reports.
03-19 01:48 root INFO MSG: Please make sure you are familiar with our documentation at:
03-19 01:48 root INFO MSG: �[34;1mhttps://alx.sh/w�[m�[m
03-19 01:48 root INFO MSG: Press enter to continue.
03-19 01:48 root INFO MSG: By default, this installer will hide certain advanced options that
03-19 01:48 root INFO MSG: are only useful for developers. You can enable expert mode to show them.
03-19 01:48 root INFO MSG: �[1;37m»�[1;36m Enable expert mode? (y/N): �[m
03-19 01:48 root INFO INPUT: 'n'
03-19 01:48 root INFO MSG: Collecting system information...
03-19 01:48 root INFO MSG: Product name: �[mMacBook Pro (14-inch, 2021)�[m
03-19 01:48 root INFO MSG: SoC: �[mApple M1 Pro�[m
03-19 01:48 root INFO MSG: Device class: �[mj314sap�[m
03-19 01:48 root INFO MSG: Product type: �[mMacBookPro18,3�[m
03-19 01:48 root INFO MSG: Board ID: �[m0x8�[m
03-19 01:48 root INFO MSG: Chip ID: �[m0x6000�[m
03-19 01:48 root INFO MSG: System firmware: �[miBoot-7459.101.2�[m
03-19 01:48 root INFO MSG: Boot UUID: �[m725C2F4B-1485-4E45-9691-730922778335�[m
03-19 01:48 root INFO MSG: Boot VGID: �[m725C2F4B-1485-4E45-9691-730922778335�[m
03-19 01:48 root INFO MSG: Default boot VGID: �[m725C2F4B-1485-4E45-9691-730922778335�[m
03-19 01:48 root INFO MSG: Boot mode: �[mmacOS�[m
03-19 01:48 root INFO MSG: OS version: �[m12.3 (21E230)�[m
03-19 01:48 root INFO MSG: System rOS version: �[m12.3 (21E230)�[m
03-19 01:48 root INFO MSG: No Fallback rOS
03-19 01:48 root INFO MSG: Login user: �[mgeorge�[m
03-19 01:48 root INFO MSG: Collecting partition information...
03-19 01:48 root INFO DiskUtil.get_info()
03-19 01:48 root INFO DiskUtil.get_list()
03-19 01:48 root DEBUG get: diskutil ('list', '-plist')
03-19 01:48 root INFO DiskUtil.get_apfs_list()
03-19 01:48 root DEBUG get: diskutil ('apfs', 'list', '-plist')
03-19 01:48 root DEBUG get: diskutil ('apfs', 'listVolumeGroups', 'disk1', '-plist')
03-19 01:48 root DEBUG get: diskutil ('apfs', 'listVolumeGroups', 'disk2', '-plist')
03-19 01:48 root DEBUG get: diskutil ('apfs', 'listVolumeGroups', 'disk3', '-plist')
03-19 01:48 root DEBUG get: diskutil ('apfs', 'listVolumeGroups', 'disk4', '-plist')
03-19 01:48 root INFO DiskUtil.get_disk_info()
03-19 01:48 root DEBUG get: diskutil ('info', '-plist', 'disk0')
03-19 01:48 root DEBUG get: diskutil ('info', '-plist', 'disk1')
03-19 01:48 root DEBUG get: diskutil ('info', '-plist', 'disk2')
03-19 01:48 root DEBUG get: diskutil ('info', '-plist', 'disk3')
03-19 01:48 root DEBUG get: diskutil ('info', '-plist', 'disk4')
03-19 01:48 root INFO DiskUtil.find_system_disk()
03-19 01:48 root INFO System disk: disk0
03-19 01:48 root INFO MSG: System disk: �[mdisk0�[m
03-19 01:48 root INFO DiskUtil.get_partitions('disk0')
03-19 01:48 root INFO DiskUtil.get_partition_info(dev='disk0s1', refresh_apfs=False)
03-19 01:48 root DEBUG get: diskutil ('info', '-plist', 'disk0s1')
03-19 01:48 root INFO DiskUtil.get_partition_info(dev='disk0s2', refresh_apfs=False)
03-19 01:48 root DEBUG get: diskutil ('info', '-plist', 'disk0s2')
03-19 01:48 root INFO DiskUtil.get_partition_info(dev='disk0s5', refresh_apfs=False)
03-19 01:48 root DEBUG get: diskutil ('info', '-plist', 'disk0s5')
03-19 01:48 root INFO DiskUtil.get_partition_info(dev='disk0s3', refresh_apfs=False)
03-19 01:48 root DEBUG get: diskutil ('info', '-plist', 'disk0s3')
03-19 01:48 root INFO MSG: Collecting OS information...
03-19 01:48 root INFO OSEnum.collect()
03-19 01:48 root INFO OSEnum.collect_part(part=disk0s1)
03-19 01:48 root INFO OSEnum.collect_part(part=disk0s2)
03-19 01:48 root INFO OSEnum.collect_os(part=disk0s2, vgid=725C2F4B-1485-4E45-9691-730922778335)
03-19 01:48 root DEBUG run: diskutil ('quiet', 'mount', 'disk3s2')
03-19 01:48 root DEBUG get: diskutil ('info', '-plist', 'disk3s2')
03-19 01:48 root INFO mounts[Preboot]: /System/Volumes/Preboot
03-19 01:48 root DEBUG run: diskutil ('quiet', 'mount', 'disk3s3')
03-19 01:48 root DEBUG get: diskutil ('info', '-plist', 'disk3s3')
03-19 01:48 root INFO mounts[Recovery]: /Volumes/Recovery
03-19 01:48 root DEBUG run: diskutil ('quiet', 'mount', 'disk3s1')
03-19 01:48 root DEBUG get: diskutil ('info', '-plist', 'disk3s1')
03-19 01:48 root INFO mounts[System]: /Volumes/Macintosh HD 1
03-19 01:48 root DEBUG run: diskutil ('quiet', 'mount', 'disk3s5')
03-19 01:48 root DEBUG get: diskutil ('info', '-plist', 'disk3s5')
03-19 01:48 root INFO mounts[Data]: /System/Volumes/Data
03-19 01:48 root INFO Trying SystemVersion.plist...
03-19 01:48 root INFO Version: 12.3
03-19 01:48 root INFO Trying SystemVersion-disabled.plist...
03-19 01:48 root INFO Not Found
03-19 01:48 root INFO Admin users: ['george']
03-19 01:48 root INFO BootPolicy[coih] = None
03-19 01:48 root INFO BootPolicy[nsih] = 316AEC9549F8956A002659EB1582D46CA7FF83BA4BEEF3A968A4E20B52851FECB33ECA61596DEF043BB9A83A1190AB4C
03-19 01:48 root INFO Found [�[1mMacintosh HD�[m] �[1;32mmacOS v12.3�[m [disk3s1, 725C2F4B-1485-4E45-9691-730922778335]
03-19 01:48 root INFO OSEnum.collect_part(part=disk0s5)
03-19 01:48 root INFO OSEnum.collect_os(part=disk0s5, vgid=915AA9DD-8BB5-426E-BC90-37E7062FEDEB)
03-19 01:48 root DEBUG run: diskutil ('quiet', 'mount', 'disk4s3')
03-19 01:48 root DEBUG get: diskutil ('info', '-plist', 'disk4s3')
03-19 01:48 root INFO mounts[Preboot]: /Volumes/Preboot
03-19 01:48 root DEBUG run: diskutil ('quiet', 'mount', 'disk4s4')
03-19 01:48 root DEBUG get: diskutil ('info', '-plist', 'disk4s4')
03-19 01:48 root INFO mounts[Recovery]: /Volumes/Recovery 1
03-19 01:48 root DEBUG run: diskutil ('quiet', 'mount', 'disk4s2')
03-19 01:48 root DEBUG get: diskutil ('info', '-plist', 'disk4s2')
03-19 01:48 root INFO mounts[System]: /Volumes/Asahi Linux
03-19 01:48 root DEBUG run: diskutil ('quiet', 'mount', 'disk4s1')
03-19 01:48 root DEBUG get: diskutil ('info', '-plist', 'disk4s1')
03-19 01:48 root INFO mounts[Data]: /Volumes/Asahi Linux - Data
03-19 01:48 root INFO Trying SystemVersion.plist...
03-19 01:48 root INFO Not Found
03-19 01:48 root INFO Trying SystemVersion-disabled.plist...
03-19 01:48 root INFO Not Found
03-19 01:48 root WARNING Failed to get AdminUserRecoveryInfo.plist
03-19 01:48 root WARNING bputil failed
03-19 01:48 root INFO Found [�[1mAsahi Linux�[m] �[1;31mincomplete install�[m (macOS None stub) [disk4s2, 915AA9DD-8BB5-426E-BC90-37E7062FEDEB]
03-19 01:48 root INFO OSEnum.collect_part(part=disk0s5)
03-19 01:48 root INFO OSEnum.collect_recovery(part=disk0s3)
03-19 01:48 root INFO Found SROS: recoveryOS v12.3 [Primary recoveryOS]
03-19 01:48 root INFO Checking resizability of disk0s2
03-19 01:48 root INFO Has OS
03-19 01:48 root INFO Min space required: 38500000000
03-19 01:48 root INFO Free space: 143627816960
03-19 01:48 root INFO Can resize
03-19 01:48 root INFO Checking resizability of disk0s5
03-19 01:48 root INFO Min space required: 1500000000
03-19 01:48 root INFO Free space: 2488578048
03-19 01:48 root INFO Can resize
03-19 01:48 root INFO Checking resizability of disk0s3
03-19 01:48 root INFO Has OS
03-19 01:48 root INFO Min space required: 38500000000
03-19 01:48 root INFO Free space: 3639705600
03-19 01:48 root INFO Cannot resize
03-19 01:48 root INFO MSG: Partitions in system disk (disk0):
03-19 01:48 root INFO MSG: �[1m1�[m: APFS [Macintosh HD] (395.51 GB, 6 volumes)�[m
03-19 01:48 root INFO MSG: OS: [�[32mB�[m�[1m�[m] [�[1mMacintosh HD�[m] �[1;32mmacOS v12.3�[m [disk3s1, 725C2F4B-1485-4E45-9691-730922778335]�[m
03-19 01:48 root INFO MSG: �[1m2�[m: APFS [Asahi Linux] (2.50 GB, 4 volumes)�[m
03-19 01:48 root INFO MSG: �[1m3�[m: (free space: 96.38 GB)�[m
03-19 01:48 root INFO MSG: �[1m4�[m: APFS (System Recovery) (5.37 GB, 2 volumes)�[m
03-19 01:48 root INFO MSG: OS: [ ] recoveryOS v12.3 [Primary recoveryOS]
03-19 01:48 root INFO MSG: [�[32mB�[m ] = Booted OS, [�[33mR�[m ] = Booted recovery, [�[31m?�[m ] = Unknown�[m
03-19 01:48 root INFO MSG: [ �[1m�[m] = Default boot volume�[m
03-19 01:48 root INFO MSG: Using OS 'Macintosh HD' (disk3s1) for machine authentication.
03-19 01:48 root INFO Current OS: Macintosh HD / disk3s1
03-19 01:48 root INFO MSG: Choose what to do:
03-19 01:48 root INFO MSG: �[1mf�[22m: Install an OS into free space�[m
03-19 01:48 root INFO MSG: �[1mr�[22m: Resize an existing partition to make space for a new OS�[m
03-19 01:48 root INFO MSG: �[1mq�[22m: Quit without doing anything�[m
03-19 01:48 root INFO MSG: �[1;37m»�[1;36m Action (f): �[m
03-19 01:48 root INFO INPUT: 'f'
03-19 01:48 root INFO MSG: Choose an OS to install:
03-19 01:48 root INFO MSG: �[1m1�[22m: Asahi Linux Desktop�[m
03-19 01:48 root INFO MSG: �[1m2�[22m: Asahi Linux Minimal (Arch Linux ARM)�[m
03-19 01:48 root INFO MSG: �[1m3�[22m: UEFI environment only (m1n1 + U-Boot + ESP)�[m
03-19 01:48 root INFO MSG: �[1;37m»�[1;36m OS: �[m
03-19 01:49 root INFO INPUT: '1'
03-19 01:49 root INFO Chosen OS: Asahi Linux Desktop
03-19 01:49 root INFO OS package URL: https://cdn.asahilinux.org/os/asahi-plasma-20220318-2.zip
03-19 01:49 root INFO MSG: Downloading OS package info...
03-19 01:49 root INFO OS package opened
03-19 01:49 root INFO MSG: Minimum required space for this OS: 15.00 GB
03-19 01:49 root INFO MSG: Available free space: 96.38 GB
03-19 01:49 root INFO MSG: How much space should be allocated to the new OS?
03-19 01:49 root INFO MSG: You can enter a size such as '1GB', a fraction such as '50%',
03-19 01:49 root INFO MSG: the word 'min' for the smallest allowable size, or
03-19 01:49 root INFO MSG: the word 'max' to use all available space.
03-19 01:49 root INFO MSG: �[1;37m»�[1;36m New OS size (max): �[m
03-19 01:49 root INFO INPUT: 'max'
03-19 01:49 root INFO MSG: The new OS will be allocated 96.38 GB of space,
03-19 01:49 root INFO MSG: leaving 86.02 KB of free space.
03-19 01:49 root INFO MSG: Enter a name for your OS
03-19 01:49 root INFO MSG: �[1;37m»�[1;36m OS name (Asahi Linux): �[m
03-19 01:49 root INFO INPUT: 'Asahi'
03-19 01:49 root INFO New OS name: Asahi
03-19 01:49 root INFO MSG: Using macOS 12.3 for OS firmware
03-19 01:49 root INFO Chosen IPSW version: 12.3
03-19 01:49 root INFO IPSW URL: https://updates.cdn-apple.com/2022SpringFCS/fullrestores/071-08757/74A4F2A1-C747-43F9-A22A-C0AD5FB4ECB6/UniversalMac_12.3_21E230_Restore.ipsw
03-19 01:49 root INFO MSG: Downloading macOS OS package info...
03-19 01:49 root INFO OS package opened
03-19 01:49 root INFO MSG: Creating new stub macOS named Asahi
03-19 01:49 root INFO Creating stub macOS: Asahi
03-19 01:49 root DEBUG run: diskutil ('quiet', 'addPartition', 'disk0s5', 'apfs', 'Asahi', '2499805184')
03-19 01:49 root INFO DiskUtil.get_list()
03-19 01:49 root DEBUG get: diskutil ('list', '-plist')
03-19 01:49 root INFO DiskUtil.get_partitions('disk0')
03-19 01:49 root INFO DiskUtil.get_partition_info(dev='disk0s1', refresh_apfs=False)
03-19 01:49 root DEBUG get: diskutil ('info', '-plist', 'disk0s1')
03-19 01:49 root INFO DiskUtil.get_partition_info(dev='disk0s2', refresh_apfs=False)
03-19 01:49 root DEBUG get: diskutil ('info', '-plist', 'disk0s2')
03-19 01:49 root INFO DiskUtil.get_partition_info(dev='disk0s5', refresh_apfs=False)
03-19 01:49 root DEBUG get: diskutil ('info', '-plist', 'disk0s5')
03-19 01:49 root INFO DiskUtil.get_partition_info(dev='disk0s4', refresh_apfs=False)
03-19 01:49 root DEBUG get: diskutil ('info', '-plist', 'disk0s4')
03-19 01:49 root INFO disk0s4 doesn't have any Volumes
03-19 01:49 root INFO DiskUtil.get_partition_info(dev='disk0s3', refresh_apfs=False)
03-19 01:49 root DEBUG get: diskutil ('info', '-plist', 'disk0s3')
03-19 01:49 root INFO Checking #0 disk0s1...
03-19 01:49 root INFO Checking #1 disk0s2...
03-19 01:49 root INFO Checking #2 disk0s5...
03-19 01:49 root INFO Found previous partition disk0s5...
03-19 01:49 root INFO DiskUtil.get_partition_info(dev='disk0s4', refresh_apfs=True)
03-19 01:49 root DEBUG get: diskutil ('info', '-plist', 'disk0s4')
03-19 01:49 root INFO DiskUtil.get_apfs_list()
03-19 01:49 root DEBUG get: diskutil ('apfs', 'list', 'disk5', '-plist')
03-19 01:49 root DEBUG get: diskutil ('apfs', 'listVolumeGroups', 'disk5', '-plist')
03-19 01:49 root INFO New partition: Partition(name='disk0s4', offset=398531256320, size=2499805184, free=False, type='Apple_APFS', uuid='19356A93-A00C-4F5D-A41C-4FE2A1C2A7F4', desc=None, label='Asahi', info={'AESHardware': True, 'APFSContainerReference': 'disk5', 'Bootable': True, 'BusProtocol': 'Apple Fabric', 'CanBeMadeBootable': False, 'CanBeMadeBootableRequiresDestroy': False, 'Content': 'Apple_APFS', 'DeviceBlockSize': 4096, 'DeviceIdentifier': 'disk0s4', 'DeviceNode': '/dev/disk0s4', 'DeviceTreePath': 'IODeviceTree:/arm-io/ans@8F400000/iop-ans-nub/AppleANS3NVMeController', 'DiskUUID': '19356A93-A00C-4F5D-A41C-4FE2A1C2A7F4', 'Ejectable': False, 'EjectableMediaAutomaticUnderSoftwareControl': False, 'EjectableOnly': False, 'FreeSpace': 0, 'Fusion': False, 'GlobalPermissionsEnabled': False, 'IOKitSize': 2499805184, 'IORegistryEntryName': 'Untitled 4', 'Internal': True, 'MediaName': '', 'MediaType': 'Generic', 'MountPoint': '', 'OSInternalMedia': False, 'ParentWholeDisk': 'disk0', 'PartitionMapPartition': True, 'PartitionMapPartitionOffset': 398531256320, 'RAIDMaster': False, 'RAIDSlice': False, 'Removable': False, 'RemovableMedia': False, 'RemovableMediaOrExternalDevice': False, 'SMARTDeviceSpecificKeysMayVaryNotGuaranteed': {'AVAILABLE_SPARE': 100, 'AVAILABLE_SPARE_THRESHOLD': 99, 'CONTROLLER_BUSY_TIME_0': 0, 'CONTROLLER_BUSY_TIME_1': 0, 'DATA_UNITS_READ_0': 38060215, 'DATA_UNITS_READ_1': 0, 'DATA_UNITS_WRITTEN_0': 11237584, 'DATA_UNITS_WRITTEN_1': 0, 'HOST_READ_COMMANDS_0': 796665575, 'HOST_READ_COMMANDS_1': 0, 'HOST_WRITE_COMMANDS_0': 128955778, 'HOST_WRITE_COMMANDS_1': 0, 'MEDIA_ERRORS_0': 0, 'MEDIA_ERRORS_1': 0, 'NUM_ERROR_INFO_LOG_ENTRIES_0': 0, 'NUM_ERROR_INFO_LOG_ENTRIES_1': 0, 'PERCENTAGE_USED': 0, 'POWER_CYCLES_0': 149, 'POWER_CYCLES_1': 0, 'POWER_ON_HOURS_0': 168, 'POWER_ON_HOURS_1': 0, 'TEMPERATURE': 309, 'UNSAFE_SHUTDOWNS_0': 9, 'UNSAFE_SHUTDOWNS_1': 0}, 'SMARTStatus': 'Verified', 'Size': 2499805184, 'SolidState': True, 'SupportsGlobalPermissionsDisable': False, 'SystemImage': False, 'TotalSize': 2499805184, 'VolumeName': '', 'VolumeSize': 0, 'WholeDisk': False, 'Writable': True, 'WritableMedia': True, 'WritableVolume': False}, container={'APFSContainerUUID': '5A3FCC9D-09A1-4FBF-8E92-54EC8FEC4362', 'CapacityCeiling': 2499805184, 'CapacityFree': 2488877056, 'ContainerReference': 'disk5', 'DesignatedPhysicalStore': 'disk0s4', 'Fusion': False, 'PhysicalStores': [{'DeviceIdentifier': 'disk0s4', 'DiskUUID': '19356A93-A00C-4F5D-A41C-4FE2A1C2A7F4', 'Size': 2499805184}], 'Volumes': [{'APFSVolumeUUID': 'E7A9DCE9-AA28-47E0-86DA-83E01D528D47', 'CapacityInUse': 761856, 'CapacityQuota': 0, 'CapacityReserve': 0, 'CryptoMigrationOn': False, 'DeviceIdentifier': 'disk5s1', 'Encryption': True, 'FileVault': False, 'Locked': False, 'Name': 'Asahi', 'Roles': []}], 'VolumeGroups': []}, os=None)
03-19 01:49 root INFO MSG: Installing stub macOS into disk0s4 (Asahi)
03-19 01:49 root INFO StubInstaller.prepare_volume(part.name='disk0s4')
03-19 01:49 root INFO MSG: Preparing target volumes...
03-19 01:49 root INFO disk5s1 roles: ()
03-19 01:49 root DEBUG run: diskutil ('quiet', 'apfs', 'changeVolumeRole', 'disk5s1', 'D')
03-19 01:49 root DEBUG run: diskutil ('quiet', 'rename', 'disk5s1', 'Asahi - Data')
03-19 01:49 root INFO DiskUtil.refresh_part(part.name='disk0s4')
03-19 01:49 root INFO DiskUtil.get_apfs_list()
03-19 01:49 root DEBUG get: diskutil ('apfs', 'list', 'disk5', '-plist')
03-19 01:49 root DEBUG get: diskutil ('apfs', 'listVolumeGroups', 'disk5', '-plist')
03-19 01:49 root DEBUG run: diskutil ('quiet', 'apfs', 'addVolume', 'disk5', 'apfs', 'Asahi', '-role', 'S', '-groupWith', 'disk5s1')
03-19 01:49 root DEBUG run: diskutil ('quiet', 'apfs', 'addVolume', 'disk5', 'apfs', 'Preboot', '-role', 'B')
03-19 01:49 root DEBUG run: diskutil ('quiet', 'apfs', 'addVolume', 'disk5', 'apfs', 'Recovery', '-role', 'R')
03-19 01:49 root INFO DiskUtil.refresh_part(part.name='disk0s4')
03-19 01:49 root INFO DiskUtil.get_apfs_list()
03-19 01:49 root DEBUG get: diskutil ('apfs', 'list', 'disk5', '-plist')
03-19 01:49 root DEBUG get: diskutil ('apfs', 'listVolumeGroups', 'disk5', '-plist')
03-19 01:49 root INFO StubInstaller.check_volume(self.part.name='disk0s4')
03-19 01:49 root INFO MSG: Checking volumes...
03-19 01:49 root INFO OSEnum.collect_part(part=disk0s4)
03-19 01:49 root INFO OSEnum.collect_os(part=disk0s4, vgid=E7A9DCE9-AA28-47E0-86DA-83E01D528D47)
03-19 01:49 root DEBUG run: diskutil ('quiet', 'mount', 'disk5s3')
03-19 01:49 root DEBUG get: diskutil ('info', '-plist', 'disk5s3')
03-19 01:49 root INFO mounts[Preboot]: /Volumes/Preboot 1
03-19 01:49 root DEBUG run: diskutil ('quiet', 'mount', 'disk5s4')
03-19 01:49 root DEBUG get: diskutil ('info', '-plist', 'disk5s4')
03-19 01:49 root INFO mounts[Recovery]: /Volumes/Recovery 2
03-19 01:49 root DEBUG run: diskutil ('quiet', 'mount', 'disk5s2')
03-19 01:49 root DEBUG get: diskutil ('info', '-plist', 'disk5s2')
03-19 01:49 root INFO mounts[System]: /Volumes/Asahi
03-19 01:49 root DEBUG run: diskutil ('quiet', 'mount', 'disk5s1')
03-19 01:49 root DEBUG get: diskutil ('info', '-plist', 'disk5s1')
03-19 01:49 root INFO mounts[Data]: /Volumes/Asahi - Data
03-19 01:49 root INFO Trying SystemVersion.plist...
03-19 01:49 root INFO Not Found
03-19 01:49 root INFO Trying SystemVersion-disabled.plist...
03-19 01:49 root INFO Not Found
03-19 01:49 root WARNING Failed to get AdminUserRecoveryInfo.plist
03-19 01:49 root WARNING bputil failed
03-19 01:49 root INFO Found [�[1mAsahi�[m] �[1;31mincomplete install�[m (macOS None stub) [disk5s2, E7A9DCE9-AA28-47E0-86DA-83E01D528D47]
03-19 01:49 root INFO StubInstaller.install_files()
03-19 01:49 root INFO VGID: E7A9DCE9-AA28-47E0-86DA-83E01D528D47
03-19 01:49 root INFO OS info: [�[1mAsahi�[m] �[1;31mincomplete install�[m (macOS None stub) [disk5s2, E7A9DCE9-AA28-47E0-86DA-83E01D528D47]
03-19 01:49 root INFO MSG: Beginning stub OS install...
03-19 01:49 root INFO Parsing metadata...
03-19 01:49 root INFO Using OS build 21E230 for j314sap
03-19 01:49 root INFO MSG: Setting up System volume...
03-19 01:49 root INFO Setting up System volume
03-19 01:49 root INFO usr/standalone/bootcaches.plist -> /Volumes/Asahi/
03-19 01:49 root INFO PlatformSupport.plist -> /Volumes/Asahi/System/Library/CoreServices/
03-19 01:49 root INFO xattr -wx com.apple.FinderInfo .... /Volumes/Asahi
03-19 01:49 root ERROR Exception caught
Traceback (most recent call last):
File "/private/tmp/asahi-install/stub.py", line 158, in install_files
subprocess.run(["xattr", "-wx", "com.apple.FinderInfo",
File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['xattr', '-wx', 'com.apple.FinderInfo', '0000000000000000040000000000000000000000000000000000000000000000', '/Volumes/Asahi']' returned non-zero exit status 64.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/private/tmp/asahi-install/main.py", line 802, in
InstallerMain().main()
File "/private/tmp/asahi-install/main.py", line 654, in main
while self.main_loop():
File "/private/tmp/asahi-install/main.py", line 770, in main_loop
return self.action_install_into_free(parts_free)
File "/private/tmp/asahi-install/main.py", line 286, in action_install_into_free
self.do_install(os_size)
File "/private/tmp/asahi-install/main.py", line 293, in do_install
self.ins.install_files(self.cur_os)
File "/private/tmp/asahi-install/stub.py", line 162, in install_files
p_err("Failed to apply extended attributes, logo will not work.")
NameError: name 'p_err' is not defined
03-19 01:49 root INFO MSG: If you need to file a bug report, please attach the log file:
03-19 01:49 root INFO MSG: /private/tmp/asahi-install/installer.log
I do not have attr or other homebrew xattr alternatives that would break the installer. I could not figure out the cause of the error.
I am trying to install Asahi Linux on my Macbook Air M1. Step1 was OK but I am blocked at step2.sh after the 1TR restart.
I selected Asahi Linux in the boot menu and my MacOs username, I was prompted for my password, which was ok. Then I arrive in step2.sh terminal window and I am asked again for my password. I put exactly the same as a few seconds before, the system freezes for 5 seconds and then it says: "Local policy update is in progress, please wait... Boot objects update failed for /Volumes/Asahi Linux: Error Domain=BYErrorDomainCode=401 "Failed to create local policy" UserInfo={NSLocalizedDescription=Failed to create local policy, NSUnderlyingError=0x60001c844b0 (Error Domain=com.apple.bootpolicy Code=17 "pairing (17)" UserInfo={NSLocalizeDescription=pairing (17)}}}}
bputil failed. Did you mistype your password?
Please enter to try again.
I tried to use "bless --setBoot --device /dev/disk2ds3 but it replied Bootability failed Error Domain=BYServiceErrorDomain Code=602 "(null)".
I am a bit lost about what to do next. Should I restart the install from scratch?
Today when I was installing Asahi Linux i found when it was doing the boot volume stage that while my password was set to four spacebar characters it kept saying that it wasn't correct, as seen below, i then changed it to 8 normal text characters and it worked fine, as seen below in the log:
Bootstrapping installer:
Checking version...
Version: v0.3.21
Downloading...
Extracting...
Initializing...
The installer needs to run as root.
Please enter your sudo password if prompted.
Password:
Welcome to the Asahi Linux installer!
This installer is in an alpha state, and may not work for everyone.
It is intended for developers and early adopters who are comfortable
debugging issues or providing detailed bug reports.
Please make sure you are familiar with our documentation at:
https://alx.sh/w
Press enter to continue.
By default, this installer will hide certain advanced options that
are only useful for developers. You can enable expert mode to show them.
» Enable expert mode? (y/N): n
Collecting system information...
Product name: MacBook Air (M1, 2020)
SoC: Apple M1
Device class: j313ap
Product type: MacBookAir10,1
Board ID: 0x26
Chip ID: 0x8103
System firmware: iBoot-7459.101.2
Boot UUID: 89A92EF3-E91C-4CD6-AAC9-F02F89809699
Boot VGID: 89A92EF3-E91C-4CD6-AAC9-F02F89809699
Default boot VGID: 89A92EF3-E91C-4CD6-AAC9-F02F89809699
Boot mode: macOS
OS version: 12.3 (21E230)
System rOS version: 12.3 (21E230)
No Fallback rOS
Login user: samuelheinz
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 v12.3 [disk3s1, 89A92EF3-E91C-4CD6-AAC9-F02F89809699]
2: APFS (System Recovery) (5.37 GB, 2 volumes)
OS: [ ] recoveryOS v12.3 [Primary recoveryOS]
[B ] = Booted OS, [R ] = Booted recovery, [? ] = Unknown
[ *] = Default boot volume
Using OS 'Macintosh HD' (disk3s1) 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: 210.37 GB
Minimum free space: 38.00 GB
Minimum total size: 322.01 GB (65.13%)
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 (min): 80%
Resizing will free up 98.88 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): N
» New size (min): 85%
Resizing will free up 74.16 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 74,158,526,464 bytes and targeting a new physical store size of 420,226,269,184 bytes
Determined the minimum size for the targeted physical store of this APFS Container to be 290,782,707,712 bytes
Resizing APFS Container designated by APFS Container Reference disk3
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 space manager
Checking the space manager free queue trees
Checking the object map
Checking the encryption key structures
Checking volume /dev/rdisk3s1
Checking the APFS volume superblock
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking snapshot 1 of 1 (com.apple.os.update-2289385E1A6FCCF05D444673FB1FEB06DDCF82A4C723EAD53AF1F3E08872CE0F)
Checking the fsroot tree
Checking the file extent tree
Checking the extent ref tree
Verifying volume object map space
The volume /dev/rdisk3s1 appears to be OK
Checking volume /dev/rdisk3s2
Checking the APFS volume superblock
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/rdisk3s2 appears to be OK
Checking volume /dev/rdisk3s3
Checking the APFS volume superblock
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/rdisk3s3 appears to be OK
Checking volume /dev/rdisk3s4
Checking the APFS volume superblock
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/rdisk3s4 appears to be OK
Checking volume /dev/rdisk3s5
Checking the APFS volume superblock
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/rdisk3s5 appears to be OK
Checking volume /dev/rdisk3s6
Checking the APFS volume superblock
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/rdisk3s6 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 420,226,269,184 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] (420.23 GB, 6 volumes)
OS: [B*] [Macintosh HD] macOS v12.3 [disk3s1, 89A92EF3-E91C-4CD6-AAC9-F02F89809699]
2: (free space: 74.16 GB)
3: APFS (System Recovery) (5.37 GB, 2 volumes)
OS: [ ] recoveryOS v12.3 [Primary recoveryOS]
[B ] = Booted OS, [R ] = Booted recovery, [? ] = Unknown
[ *] = Default boot volume
Using OS 'Macintosh HD' (disk3s1) 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: Asahi Linux Desktop
2: Asahi Linux Minimal (Arch Linux ARM)
3: UEFI environment only (m1n1 + U-Boot + ESP)
» OS: 1
Downloading OS package info...
-
Minimum required space for this OS: 15.00 GB
Available free space: 74.16 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 74.16 GB of space,
leaving 86.02 KB of free space.
Enter a name for your OS
» OS name (Asahi Linux): Asahi Desktop
Using macOS 12.3 for OS firmware
Downloading macOS OS package info...
-
Creating new stub macOS named Asahi Desktop
Installing stub macOS into disk0s5 (Asahi Desktop)
Preparing target volumes...
Checking volumes...
Beginning stub OS install...
|
Setting up System volume...
Setting up Data volume...
Setting up Preboot volume...
/ 100.00%
Setting up Recovery volume...
\ 100.00%
Wrapping up...
Stub OS installation complete.
Adding partition EFI (500.17 MB)...
Formatting as FAT...
Adding partition Root (71.16 GB)...
Collecting firmware...
tar: Failed to set default locale
Installing OS...
Copying from esp into disk0s4 partition...
\ 100.00%
Copying firmware into disk0s4 partition...
Extracting root.img into disk0s7 partition...
| 100.00%
Preparing to finish installation...
Collecting installer data...
To continue the installation, you will need to enter your macOS
admin credentials.
Password for samuelheinz:
Setting the new OS as the default boot volume...
Bootability failed Error Domain=BYErrorDomain Code=103 "Owner authentication is required" UserInfo={BYErrorHint=LocalAuthenticationRequired, NSLocalizedDescription=Owner authentication is required}
Failed to run bless. Press enter to try again.
(x17 times as I kept repeating it)
To continue the installation, you will need to enter your macOS
admin credentials.
Password for samuelheinz:
Setting the new OS as the default boot volume...
Installation successful!
...
My hardware:
Base 2020 M1 MacBook Air
My issue:
When trying to run the Asahi installer script (running curl https://alx.sh | sh
in terminal), it fails to resize my disk partition. Here are my logs:
https://0bin.net/paste/fXoXtV6a#O9LRFJ-VlF/LQepMyk5Z1arme1cEOlm3xkBiUAEvOze
The Asahi website says that it is enough to delete disk partitions using diskutil. If I delete the Asahi disk partitions, will the Mac boot my macOS and won't bricking? Or do I need to take some other steps?
I am trying to connect to wifi in Asahi Linux and it never completes the connection. It gets stuck on "Configuring Interface". I have tried using the KDE GUI as well as iwd
, to no avail. I know the password is correct and other devices are able to connect to said WiFi network. In iwd
, it gets past the connection phase and exits as if it has connected, but is still stuck on "Configuring Interface" In the WiFi icon graphic in KDE.
After following the install process, with a 300/700GB split, on the "Install an OS into free space - Creating new stub macOS" step when selecting UEFI only flow, I get the following error.
Creating new stub macOS named NixOS
root : ERROR Exception caught
Traceback (most recent call last):
File "/private/tmp/asahi-install/main.py", line 806, in <module>
InstallerMain().main()
File "/private/tmp/asahi-install/main.py", line 658, in main
while self.main_loop():
File "/private/tmp/asahi-install/main.py", line 774, in main_loop
return self.action_install_into_free(parts_free)
File "/private/tmp/asahi-install/main.py", line 286, in action_install_into_free
self.do_install(os_size - STUB_SIZE)
TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'
MacBook Pro 13" M1 2020, MacoS 12.3 (21E230)
This also leaves the partitions created in place, creating a new one every attempt
Hello
The CDN should host checksum files for large files such as the os images and the installer should check against these checksums before trying to unpack the archives, it happened to me one time where the download was corrupted along the way and caused this exception:
Extracting root.img into disk0s5 partition...
6.92% root : ERROR Exception caught
Traceback (most recent call last):
File "/Users/rhx/asahi/asahi-install/main.py", line 807, in <module>
InstallerMain().main()
File "/Users/rhx/asahi/asahi-install/main.py", line 659, in main
while self.main_loop():
File "/Users/rhx/asahi/asahi-install/main.py", line 775, in main_loop
return self.action_install_into_free(parts_free)
File "/Users/rhx/asahi/asahi-install/main.py", line 287, in action_install_into_free
self.do_install(os_size)
File "/Users/rhx/asahi/asahi-install/main.py", line 305, in do_install
self.osins.install(self.ins.boot_obj_path)
File "/Users/rhx/asahi/asahi-install/osinstall.py", line 110, in install
self.fdcopy(sfd, dfd, zinfo.file_size)
File "/Users/rhx/asahi/asahi-install/util.py", line 144, in fdcopy
d = sfd.read(BLOCK)
File "/Users/rhx/asahi/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/zipfile.py", line 922, in read
data = self._read1(n)
File "/Users/rhx/asahi/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/zipfile.py", line 998, in _read1
data = self._decompressor.decompress(data, n)
zlib.error: Error -3 while decompressing data: invalid code lengths set
Regards
Is it already supported? I wanted to use one of my M1 machines to actually run SerenityOS on Asahi with KVM acceleration ;)
See the attached log
Steps to reproduce :
Download the stage 0 shell script, modify it to not run the installer but to download it to a custom directory
(~/src/asahi-linux)
cd ~/src/asahi/linux
caffeinate -dis sudo -E ./install.sh
(same command as what is run by the original stage 0 script, but from a different folder)
FileNotFoundError: [Errno 2] No such file or directory: './os/asahi-plasma-20220321-1.zip'
03-25 23:48 root INFO Startup
03-25 23:48 root INFO Environment:
03-25 23:48 root INFO INSTALLER_BASE=None
03-25 23:48 root INFO INSTALLER_DATA=None
03-25 23:48 root INFO REPO_BASE=None
03-25 23:48 root INFO IPSW_BASE=None
03-25 23:48 root INFO Version: v0.3.24
03-25 23:48 root INFO MSG: Welcome to the Asahi Linux installer!
03-25 23:48 root INFO MSG: This installer is in an alpha state, and may not work for everyone.
03-25 23:48 root INFO MSG: It is intended for developers and early adopters who are comfortable
03-25 23:48 root INFO MSG: debugging issues or providing detailed bug reports.
03-25 23:48 root INFO MSG: Please make sure you are familiar with our documentation at:
03-25 23:48 root INFO MSG: �[34;1mhttps://alx.sh/w�[m�[m
03-25 23:48 root INFO MSG: Press enter to continue.
03-25 23:48 root INFO MSG: By default, this installer will hide certain advanced options that
03-25 23:48 root INFO MSG: are only useful for developers. You can enable expert mode to show them.
03-25 23:48 root INFO MSG: �[1;37m»�[1;36m Enable expert mode? (y/N): �[m
03-25 23:48 root INFO INPUT: 'n'
03-25 23:48 root INFO MSG: Collecting system information...
03-25 23:48 root INFO MSG: Product name: �[mMacBook Pro (16-inch, 2021)�[m
03-25 23:48 root INFO MSG: SoC: �[mApple M1 Max�[m
03-25 23:48 root INFO MSG: Device class: �[mj316cap�[m
03-25 23:48 root INFO MSG: Product type: �[mMacBookPro18,2�[m
03-25 23:48 root INFO MSG: Board ID: �[m0xa�[m
03-25 23:48 root INFO MSG: Chip ID: �[m0x6001�[m
03-25 23:48 root INFO MSG: System firmware: �[miBoot-7459.101.2�[m
03-25 23:48 root INFO MSG: Boot UUID: �[m5F8D4277-7EC9-45E8-A246-9604E33D066E�[m
03-25 23:48 root INFO MSG: Boot VGID: �[m5F8D4277-7EC9-45E8-A246-9604E33D066E�[m
03-25 23:48 root INFO MSG: Default boot VGID: �[m5F8D4277-7EC9-45E8-A246-9604E33D066E�[m
03-25 23:48 root INFO MSG: Boot mode: �[mmacOS�[m
03-25 23:48 root INFO MSG: OS version: �[m12.3 (21E230)�[m
03-25 23:48 root INFO MSG: System rOS version: �[m12.3 (21E230)�[m
03-25 23:48 root INFO MSG: No Fallback rOS
03-25 23:48 root INFO MSG: Login user: �[mguillaumedidier�[m
03-25 23:48 root INFO MSG: Collecting partition information...
03-25 23:48 root INFO DiskUtil.get_info()
03-25 23:48 root INFO DiskUtil.get_list()
03-25 23:48 root DEBUG get: diskutil ('list', '-plist')
03-25 23:48 root DEBUG Whole disks:
03-25 23:48 root DEBUG - 'disk0'
03-25 23:48 root DEBUG - 'disk1'
03-25 23:48 root DEBUG - 'disk2'
03-25 23:48 root DEBUG - 'disk3'
03-25 23:48 root DEBUG All disks and partitions:
03-25 23:48 root DEBUG - disk0: {'Content': 'GUID_partition_scheme', 'DeviceIdentifier': 'disk0', 'OSInternal': False, 'Partitions': [{'Content': 'Apple_APFS_ISC', 'DeviceIdentifier': 'disk0s1', 'DiskUUID': 'C05FD02E-ED75-44BD-98C9-04E777136EAE', 'Size': 524288000}, {'Content': 'Apple_APFS', 'DeviceIdentifier': 'disk0s2', 'DiskUUID': '151F927E-EE9A-4E78-B639-F53A1D72DC4F', 'Size': 3996329328640}, {'Content': 'Apple_APFS_Recovery', 'DeviceIdentifier': 'disk0s3', 'DiskUUID': 'D8A07D58-4AF0-45D0-B9E1-5E2786BC9D12', 'Size': 5368664064}], 'Size': 4002222325760}
03-25 23:48 root DEBUG - disk1: {'APFSPhysicalStores': [{'DeviceIdentifier': 'disk0s1'}], 'APFSVolumes': [{'DeviceIdentifier': 'disk1s1', 'DiskUUID': '6D01AD18-BE95-4900-B33C-986119622FA4', 'MountPoint': '/System/Volumes/iSCPreboot', 'MountedSnapshots': [], 'OSInternal': True, 'Size': 524288000, 'VolumeName': 'iSCPreboot', 'VolumeUUID': '6D01AD18-BE95-4900-B33C-986119622FA4'}, {'DeviceIdentifier': 'disk1s2', 'DiskUUID': 'BB8CB895-CC13-47EA-8591-8E2C7468C06D', 'MountPoint': '/System/Volumes/xarts', 'MountedSnapshots': [], 'OSInternal': True, 'Size': 524288000, 'VolumeName': 'xART', 'VolumeUUID': 'BB8CB895-CC13-47EA-8591-8E2C7468C06D'}, {'DeviceIdentifier': 'disk1s3', 'DiskUUID': 'E7CF0752-958A-4FB1-B18A-15157C9AB963', 'MountPoint': '/System/Volumes/Hardware', 'MountedSnapshots': [], 'OSInternal': True, 'Size': 524288000, 'VolumeName': 'Hardware', 'VolumeUUID': 'E7CF0752-958A-4FB1-B18A-15157C9AB963'}, {'DeviceIdentifier': 'disk1s4', 'DiskUUID': '0988CB53-6E1C-4A26-8BFC-BBCF0BAA6386', 'MountedSnapshots': [], 'OSInternal': True, 'Size': 524288000, 'VolumeName': 'Recovery', 'VolumeUUID': '0988CB53-6E1C-4A26-8BFC-BBCF0BAA6386'}], 'Content': 'EF57347C-0000-11AA-AA11-00306543ECAC', 'DeviceIdentifier': 'disk1', 'OSInternal': True, 'Partitions': [], 'Size': 524288000}
03-25 23:48 root DEBUG - disk2: {'APFSPhysicalStores': [{'DeviceIdentifier': 'disk0s3'}], 'APFSVolumes': [{'DeviceIdentifier': 'disk2s1', 'DiskUUID': '268EF134-73DD-4238-BA1E-D9B6A3EFBFAE', 'MountedSnapshots': [], 'OSInternal': True, 'Size': 5368664064, 'VolumeName': 'Recovery', 'VolumeUUID': '268EF134-73DD-4238-BA1E-D9B6A3EFBFAE'}, {'DeviceIdentifier': 'disk2s2', 'DiskUUID': 'D6AC2850-4788-43C3-BAD2-F326B0B666CC', 'MountedSnapshots': [], 'OSInternal': True, 'Size': 5368664064, 'VolumeName': 'Update', 'VolumeUUID': 'D6AC2850-4788-43C3-BAD2-F326B0B666CC'}], 'Content': 'EF57347C-0000-11AA-AA11-00306543ECAC', 'DeviceIdentifier': 'disk2', 'OSInternal': True, 'Partitions': [], 'Size': 5368664064}
03-25 23:48 root DEBUG - disk3: {'APFSPhysicalStores': [{'DeviceIdentifier': 'disk0s2'}], 'APFSVolumes': [{'DeviceIdentifier': 'disk3s1', 'DiskUUID': 'FFA1BA84-7E2D-47FE-8658-4B92478A46E3', 'MountedSnapshots': [{'Sealed': 'Yes', 'SnapshotBSD': 'disk3s1s1', 'SnapshotMountPoint': '/', 'SnapshotName': 'com.apple.os.update-2289385E1A6FCCF05D444673FB1FEB06DDCF82A4C723EAD53AF1F3E08872CE0F', 'SnapshotUUID': '3259C5BB-64E5-470E-B6D5-47ED334A8712'}], 'OSInternal': False, 'Size': 3996329328640, 'VolumeName': 'Citrouille', 'VolumeUUID': 'FFA1BA84-7E2D-47FE-8658-4B92478A46E3'}, {'DeviceIdentifier': 'disk3s1s1', 'DiskUUID': '3259C5BB-64E5-470E-B6D5-47ED334A8712', 'MountPoint': '/', 'OSInternal': False, 'Size': 3996329328640, 'VolumeName': 'Citrouille', 'VolumeUUID': '3259C5BB-64E5-470E-B6D5-47ED334A8712'}, {'DeviceIdentifier': 'disk3s2', 'DiskUUID': '97644765-8C45-49BF-AA26-E214F1D69BF8', 'MountPoint': '/System/Volumes/Preboot', 'MountedSnapshots': [], 'OSInternal': False, 'Size': 3996329328640, 'VolumeName': 'Preboot', 'VolumeUUID': '97644765-8C45-49BF-AA26-E214F1D69BF8'}, {'DeviceIdentifier': 'disk3s3', 'DiskUUID': 'DA18D1E7-51E6-4554-8C5E-1476B68A1099', 'MountPoint': '/Volumes/Recovery', 'MountedSnapshots': [], 'OSInternal': False, 'Size': 3996329328640, 'VolumeName': 'Recovery', 'VolumeUUID': 'DA18D1E7-51E6-4554-8C5E-1476B68A1099'}, {'DeviceIdentifier': 'disk3s4', 'DiskUUID': '64DD6182-1A92-4FBE-A849-9ABB5280142C', 'MountPoint': '/System/Volumes/Update', 'MountedSnapshots': [], 'OSInternal': True, 'Size': 3996329328640, 'VolumeName': 'Update', 'VolumeUUID': '64DD6182-1A92-4FBE-A849-9ABB5280142C'}, {'DeviceIdentifier': 'disk3s5', 'DiskUUID': '5F8D4277-7EC9-45E8-A246-9604E33D066E', 'MountPoint': '/System/Volumes/Data', 'MountedSnapshots': [], 'OSInternal': False, 'Size': 3996329328640, 'VolumeName': 'Data', 'VolumeUUID': '5F8D4277-7EC9-45E8-A246-9604E33D066E'}, {'DeviceIdentifier': 'disk3s6', 'DiskUUID': '6A94EC26-2264-4AD7-88B4-5E76FC00794F', 'MountPoint': '/System/Volumes/VM', 'MountedSnapshots': [], 'OSInternal': False, 'Size': 3996329328640, 'VolumeName': 'VM', 'VolumeUUID': '6A94EC26-2264-4AD7-88B4-5E76FC00794F'}], 'Content': 'EF57347C-0000-11AA-AA11-00306543ECAC', 'DeviceIdentifier': 'disk3', 'OSInternal': False, 'Partitions': [], 'Size': 3996329328640}
03-25 23:48 root INFO DiskUtil.get_apfs_list(dev=None)
03-25 23:48 root DEBUG get: diskutil ('apfs', 'list', '-plist')
03-25 23:48 root DEBUG get: diskutil ('apfs', 'listVolumeGroups', 'disk1', '-plist')
03-25 23:48 root DEBUG container: {'APFSContainerUUID': '886D51DB-C3C6-423E-A5DD-A368CCA287F6', 'CapacityCeiling': 524288000, 'CapacityFree': 502808576, 'ContainerReference': 'disk1', 'DesignatedPhysicalStore': 'disk0s1', 'Fusion': False, 'PhysicalStores': [{'DeviceIdentifier': 'disk0s1', 'DiskUUID': 'C05FD02E-ED75-44BD-98C9-04E777136EAE', 'Size': 524288000}], 'Volumes': [{'APFSVolumeUUID': '6D01AD18-BE95-4900-B33C-986119622FA4', 'CapacityInUse': 7712768, 'CapacityQuota': 0, 'CapacityReserve': 0, 'CryptoMigrationOn': False, 'DeviceIdentifier': 'disk1s1', 'Encryption': False, 'FileVault': False, 'Locked': False, 'Name': 'iSCPreboot', 'Roles': ['Preboot']}, {'APFSVolumeUUID': 'BB8CB895-CC13-47EA-8591-8E2C7468C06D', 'CapacityInUse': 6311936, 'CapacityQuota': 0, 'CapacityReserve': 0, 'CryptoMigrationOn': False, 'DeviceIdentifier': 'disk1s2', 'Encryption': False, 'FileVault': False, 'Locked': False, 'Name': 'xART', 'Roles': ['xART']}, {'APFSVolumeUUID': 'E7CF0752-958A-4FB1-B18A-15157C9AB963', 'CapacityInUse': 2478080, 'CapacityQuota': 0, 'CapacityReserve': 0, 'CryptoMigrationOn': False, 'DeviceIdentifier': 'disk1s3', 'Encryption': False, 'FileVault': False, 'Locked': False, 'Name': 'Hardware', 'Roles': ['Hardware']}, {'APFSVolumeUUID': '0988CB53-6E1C-4A26-8BFC-BBCF0BAA6386', 'CapacityInUse': 20480, 'CapacityQuota': 0, 'CapacityReserve': 0, 'CryptoMigrationOn': False, 'DeviceIdentifier': 'disk1s4', 'Encryption': False, 'FileVault': False, 'Locked': False, 'Name': 'Recovery', 'Roles': ['Recovery']}]}
03-25 23:48 root DEBUG VGs: {'Containers': [{'APFSContainerUUID': '886D51DB-C3C6-423E-A5DD-A368CCA287F6', 'ContainerReference': 'disk1', 'VolumeGroups': []}]}
03-25 23:48 root DEBUG get: diskutil ('apfs', 'listVolumeGroups', 'disk2', '-plist')
03-25 23:48 root DEBUG container: {'APFSContainerUUID': '9972D75E-407F-4783-96A3-BF64CDCAFC03', 'CapacityCeiling': 5368664064, 'CapacityFree': 3629101056, 'ContainerReference': 'disk2', 'DesignatedPhysicalStore': 'disk0s3', 'Fusion': False, 'PhysicalStores': [{'DeviceIdentifier': 'disk0s3', 'DiskUUID': 'D8A07D58-4AF0-45D0-B9E1-5E2786BC9D12', 'Size': 5368664064}], 'Volumes': [{'APFSVolumeUUID': '268EF134-73DD-4238-BA1E-D9B6A3EFBFAE', 'CapacityInUse': 1719472128, 'CapacityQuota': 0, 'CapacityReserve': 0, 'CryptoMigrationOn': False, 'DeviceIdentifier': 'disk2s1', 'Encryption': False, 'FileVault': False, 'Locked': False, 'Name': 'Recovery', 'Roles': ['Recovery']}, {'APFSVolumeUUID': 'D6AC2850-4788-43C3-BAD2-F326B0B666CC', 'CapacityInUse': 348160, 'CapacityQuota': 0, 'CapacityReserve': 0, 'CryptoMigrationOn': False, 'DeviceIdentifier': 'disk2s2', 'Encryption': False, 'FileVault': False, 'Locked': False, 'Name': 'Update', 'Roles': ['Update']}]}
03-25 23:48 root DEBUG VGs: {'Containers': [{'APFSContainerUUID': '9972D75E-407F-4783-96A3-BF64CDCAFC03', 'ContainerReference': 'disk2', 'VolumeGroups': []}]}
03-25 23:48 root DEBUG get: diskutil ('apfs', 'listVolumeGroups', 'disk3', '-plist')
03-25 23:48 root DEBUG container: {'APFSContainerUUID': 'A9C34DD4-E7F7-4062-AE96-2E6A25798D97', 'CapacityCeiling': 3996329328640, 'CapacityFree': 2167283249152, 'ContainerReference': 'disk3', 'DesignatedPhysicalStore': 'disk0s2', 'Fusion': False, 'PhysicalStores': [{'DeviceIdentifier': 'disk0s2', 'DiskUUID': '151F927E-EE9A-4E78-B639-F53A1D72DC4F', 'Size': 3996329328640}], 'Volumes': [{'APFSVolumeUUID': 'FFA1BA84-7E2D-47FE-8658-4B92478A46E3', 'CapacityInUse': 15192584192, 'CapacityQuota': 0, 'CapacityReserve': 0, 'CryptoMigrationOn': False, 'DeviceIdentifier': 'disk3s1', 'Encryption': True, 'FileVault': True, 'Locked': False, 'Name': 'Citrouille', 'Roles': ['System']}, {'APFSVolumeUUID': '97644765-8C45-49BF-AA26-E214F1D69BF8', 'CapacityInUse': 517038080, 'CapacityQuota': 0, 'CapacityReserve': 0, 'CryptoMigrationOn': False, 'DeviceIdentifier': 'disk3s2', 'Encryption': False, 'FileVault': False, 'Locked': False, 'Name': 'Preboot', 'Roles': ['Preboot']}, {'APFSVolumeUUID': 'DA18D1E7-51E6-4554-8C5E-1476B68A1099', 'CapacityInUse': 804691968, 'CapacityQuota': 0, 'CapacityReserve': 0, 'CryptoMigrationOn': False, 'DeviceIdentifier': 'disk3s3', 'Encryption': False, 'FileVault': False, 'Locked': False, 'Name': 'Recovery', 'Roles': ['Recovery']}, {'APFSVolumeUUID': '64DD6182-1A92-4FBE-A849-9ABB5280142C', 'CapacityInUse': 4304896, 'CapacityQuota': 0, 'CapacityReserve': 0, 'CryptoMigrationOn': False, 'DeviceIdentifier': 'disk3s4', 'Encryption': False, 'FileVault': False, 'Locked': False, 'Name': 'Update', 'Roles': ['Update']}, {'APFSVolumeUUID': '5F8D4277-7EC9-45E8-A246-9604E33D066E', 'CapacityInUse': 1812042567680, 'CapacityQuota': 0, 'CapacityReserve': 0, 'CryptoMigrationOn': False, 'DeviceIdentifier': 'disk3s5', 'Encryption': True, 'FileVault': True, 'Locked': False, 'Name': 'Data', 'Roles': ['Data']}, {'APFSVolumeUUID': '6A94EC26-2264-4AD7-88B4-5E76FC00794F', 'CapacityInUse': 20480, 'CapacityQuota': 0, 'CapacityReserve': 0, 'CryptoMigrationOn': False, 'DeviceIdentifier': 'disk3s6', 'Encryption': False, 'FileVault': False, 'Locked': False, 'Name': 'VM', 'Roles': ['VM']}]}
03-25 23:48 root DEBUG VGs: {'Containers': [{'APFSContainerUUID': 'A9C34DD4-E7F7-4062-AE96-2E6A25798D97', 'ContainerReference': 'disk3', 'VolumeGroups': [{'APFSVolumeGroupUUID': '5F8D4277-7EC9-45E8-A246-9604E33D066E', 'Volumes': [{'DeviceIdentifier': 'disk3s1', 'DiskUUID': 'FFA1BA84-7E2D-47FE-8658-4B92478A46E3', 'NoBrowseRole': False, 'Role': 'System'}, {'DeviceIdentifier': 'disk3s5', 'DiskUUID': '5F8D4277-7EC9-45E8-A246-9604E33D066E', 'NoBrowseRole': False, 'Role': 'Data'}]}]}]}
03-25 23:48 root INFO DiskUtil.get_disk_info()
03-25 23:48 root DEBUG get: diskutil ('info', '-plist', 'disk0')
03-25 23:48 root DEBUG disk0: {'AESHardware': True, 'Bootable': False, 'BusProtocol': 'Apple Fabric', 'CanBeMadeBootable': False, 'CanBeMadeBootableRequiresDestroy': False, 'Content': 'GUID_partition_scheme', 'DeviceBlockSize': 4096, 'DeviceIdentifier': 'disk0', 'DeviceNode': '/dev/disk0', 'DeviceTreePath': 'IODeviceTree:/arm-io/ans@8F400000/iop-ans-nub/AppleANS3NVMeController', 'Ejectable': False, 'EjectableMediaAutomaticUnderSoftwareControl': False, 'EjectableOnly': False, 'FreeSpace': 0, 'GlobalPermissionsEnabled': False, 'IOKitSize': 4002222325760, 'IORegistryEntryName': 'APPLE SSD AP4096R Media', 'Internal': True, 'LowLevelFormatSupported': False, 'MediaName': 'APPLE SSD AP4096R', 'MediaType': 'Generic', 'MountPoint': '', 'OS9DriversInstalled': False, 'OSInternalMedia': False, 'ParentWholeDisk': 'disk0', 'PartitionMapPartition': False, 'RAIDMaster': False, 'RAIDSlice': False, 'Removable': False, 'RemovableMedia': False, 'RemovableMediaOrExternalDevice': False, 'SMARTDeviceSpecificKeysMayVaryNotGuaranteed': {'AVAILABLE_SPARE': 100, 'AVAILABLE_SPARE_THRESHOLD': 99, 'CONTROLLER_BUSY_TIME_0': 0, 'CONTROLLER_BUSY_TIME_1': 0, 'DATA_UNITS_READ_0': 26541251, 'DATA_UNITS_READ_1': 0, 'DATA_UNITS_WRITTEN_0': 17379404, 'DATA_UNITS_WRITTEN_1': 0, 'HOST_READ_COMMANDS_0': 234887942, 'HOST_READ_COMMANDS_1': 0, 'HOST_WRITE_COMMANDS_0': 255295724, 'HOST_WRITE_COMMANDS_1': 0, 'MEDIA_ERRORS_0': 0, 'MEDIA_ERRORS_1': 0, 'NUM_ERROR_INFO_LOG_ENTRIES_0': 0, 'NUM_ERROR_INFO_LOG_ENTRIES_1': 0, 'PERCENTAGE_USED': 0, 'POWER_CYCLES_0': 547, 'POWER_CYCLES_1': 0, 'POWER_ON_HOURS_0': 334, 'POWER_ON_HOURS_1': 0, 'TEMPERATURE': 309, 'UNSAFE_SHUTDOWNS_0': 27, 'UNSAFE_SHUTDOWNS_1': 0}, 'SMARTStatus': 'Verified', 'Size': 4002222325760, 'SolidState': True, 'SupportsGlobalPermissionsDisable': False, 'SystemImage': False, 'TotalSize': 4002222325760, 'VirtualOrPhysical': 'Unknown', 'VolumeName': '', 'VolumeSize': 0, 'WholeDisk': True, 'Writable': True, 'WritableMedia': True, 'WritableVolume': False}
03-25 23:48 root DEBUG get: diskutil ('info', '-plist', 'disk1')
03-25 23:48 root DEBUG disk1: {'AESHardware': True, 'APFSContainerReference': 'disk1', 'APFSPhysicalStores': [{'APFSPhysicalStore': 'disk0s1'}], 'Bootable': False, 'BusProtocol': 'Apple Fabric', 'CanBeMadeBootable': False, 'CanBeMadeBootableRequiresDestroy': False, 'Content': 'EF57347C-0000-11AA-AA11-00306543ECAC', 'DeviceBlockSize': 4096, 'DeviceIdentifier': 'disk1', 'DeviceNode': '/dev/disk1', 'DeviceTreePath': 'IODeviceTree:/arm-io/ans@8F400000/iop-ans-nub/AppleANS3NVMeController', 'DiskUUID': '886D51DB-C3C6-423E-A5DD-A368CCA287F6', 'Ejectable': False, 'EjectableMediaAutomaticUnderSoftwareControl': False, 'EjectableOnly': False, 'FreeSpace': 0, 'Fusion': False, 'GlobalPermissionsEnabled': False, 'IOKitSize': 524288000, 'IORegistryEntryName': 'AppleAPFSMedia', 'Internal': True, 'LowLevelFormatSupported': False, 'MediaName': 'APPLE SSD AP4096R', 'MediaType': 'Generic', 'MountPoint': '', 'OS9DriversInstalled': False, 'OSInternalMedia': True, 'ParentWholeDisk': 'disk1', 'PartitionMapPartition': False, 'RAIDMaster': False, 'RAIDSlice': False, 'Removable': False, 'RemovableMedia': False, 'RemovableMediaOrExternalDevice': False, 'SMARTDeviceSpecificKeysMayVaryNotGuaranteed': {'AVAILABLE_SPARE': 100, 'AVAILABLE_SPARE_THRESHOLD': 99, 'CONTROLLER_BUSY_TIME_0': 0, 'CONTROLLER_BUSY_TIME_1': 0, 'DATA_UNITS_READ_0': 26541294, 'DATA_UNITS_READ_1': 0, 'DATA_UNITS_WRITTEN_0': 17379405, 'DATA_UNITS_WRITTEN_1': 0, 'HOST_READ_COMMANDS_0': 234888342, 'HOST_READ_COMMANDS_1': 0, 'HOST_WRITE_COMMANDS_0': 255295830, 'HOST_WRITE_COMMANDS_1': 0, 'MEDIA_ERRORS_0': 0, 'MEDIA_ERRORS_1': 0, 'NUM_ERROR_INFO_LOG_ENTRIES_0': 0, 'NUM_ERROR_INFO_LOG_ENTRIES_1': 0, 'PERCENTAGE_USED': 0, 'POWER_CYCLES_0': 547, 'POWER_CYCLES_1': 0, 'POWER_ON_HOURS_0': 334, 'POWER_ON_HOURS_1': 0, 'TEMPERATURE': 309, 'UNSAFE_SHUTDOWNS_0': 27, 'UNSAFE_SHUTDOWNS_1': 0}, 'SMARTStatus': 'Verified', 'Size': 524288000, 'SolidState': True, 'SupportsGlobalPermissionsDisable': False, 'SystemImage': False, 'TotalSize': 524288000, 'VirtualOrPhysical': 'Virtual', 'VolumeName': '', 'VolumeSize': 0, 'WholeDisk': True, 'Writable': True, 'WritableMedia': True, 'WritableVolume': False}
03-25 23:48 root DEBUG get: diskutil ('info', '-plist', 'disk2')
03-25 23:48 root DEBUG disk2: {'AESHardware': True, 'APFSContainerReference': 'disk2', 'APFSPhysicalStores': [{'APFSPhysicalStore': 'disk0s3'}], 'Bootable': False, 'BusProtocol': 'Apple Fabric', 'CanBeMadeBootable': False, 'CanBeMadeBootableRequiresDestroy': False, 'Content': 'EF57347C-0000-11AA-AA11-00306543ECAC', 'DeviceBlockSize': 4096, 'DeviceIdentifier': 'disk2', 'DeviceNode': '/dev/disk2', 'DeviceTreePath': 'IODeviceTree:/arm-io/ans@8F400000/iop-ans-nub/AppleANS3NVMeController', 'DiskUUID': '9972D75E-407F-4783-96A3-BF64CDCAFC03', 'Ejectable': False, 'EjectableMediaAutomaticUnderSoftwareControl': False, 'EjectableOnly': False, 'FreeSpace': 0, 'Fusion': False, 'GlobalPermissionsEnabled': False, 'IOKitSize': 5368664064, 'IORegistryEntryName': 'AppleAPFSMedia', 'Internal': True, 'LowLevelFormatSupported': False, 'MediaName': 'APPLE SSD AP4096R', 'MediaType': 'Generic', 'MountPoint': '', 'OS9DriversInstalled': False, 'OSInternalMedia': True, 'ParentWholeDisk': 'disk2', 'PartitionMapPartition': False, 'RAIDMaster': False, 'RAIDSlice': False, 'Removable': False, 'RemovableMedia': False, 'RemovableMediaOrExternalDevice': False, 'SMARTDeviceSpecificKeysMayVaryNotGuaranteed': {'AVAILABLE_SPARE': 100, 'AVAILABLE_SPARE_THRESHOLD': 99, 'CONTROLLER_BUSY_TIME_0': 0, 'CONTROLLER_BUSY_TIME_1': 0, 'DATA_UNITS_READ_0': 26541323, 'DATA_UNITS_READ_1': 0, 'DATA_UNITS_WRITTEN_0': 17379405, 'DATA_UNITS_WRITTEN_1': 0, 'HOST_READ_COMMANDS_0': 234889136, 'HOST_READ_COMMANDS_1': 0, 'HOST_WRITE_COMMANDS_0': 255295830, 'HOST_WRITE_COMMANDS_1': 0, 'MEDIA_ERRORS_0': 0, 'MEDIA_ERRORS_1': 0, 'NUM_ERROR_INFO_LOG_ENTRIES_0': 0, 'NUM_ERROR_INFO_LOG_ENTRIES_1': 0, 'PERCENTAGE_USED': 0, 'POWER_CYCLES_0': 547, 'POWER_CYCLES_1': 0, 'POWER_ON_HOURS_0': 334, 'POWER_ON_HOURS_1': 0, 'TEMPERATURE': 311, 'UNSAFE_SHUTDOWNS_0': 27, 'UNSAFE_SHUTDOWNS_1': 0}, 'SMARTStatus': 'Verified', 'Size': 5368664064, 'SolidState': True, 'SupportsGlobalPermissionsDisable': False, 'SystemImage': False, 'TotalSize': 5368664064, 'VirtualOrPhysical': 'Virtual', 'VolumeName': '', 'VolumeSize': 0, 'WholeDisk': True, 'Writable': True, 'WritableMedia': True, 'WritableVolume': False}
03-25 23:48 root DEBUG get: diskutil ('info', '-plist', 'disk3')
03-25 23:48 root DEBUG disk3: {'AESHardware': True, 'APFSContainerReference': 'disk3', 'APFSPhysicalStores': [{'APFSPhysicalStore': 'disk0s2'}], 'Bootable': False, 'BusProtocol': 'Apple Fabric', 'CanBeMadeBootable': False, 'CanBeMadeBootableRequiresDestroy': False, 'Content': 'EF57347C-0000-11AA-AA11-00306543ECAC', 'DeviceBlockSize': 4096, 'DeviceIdentifier': 'disk3', 'DeviceNode': '/dev/disk3', 'DeviceTreePath': 'IODeviceTree:/arm-io/ans@8F400000/iop-ans-nub/AppleANS3NVMeController', 'DiskUUID': 'A9C34DD4-E7F7-4062-AE96-2E6A25798D97', 'Ejectable': False, 'EjectableMediaAutomaticUnderSoftwareControl': False, 'EjectableOnly': False, 'FreeSpace': 0, 'Fusion': False, 'GlobalPermissionsEnabled': False, 'IOKitSize': 3996329328640, 'IORegistryEntryName': 'AppleAPFSMedia', 'Internal': True, 'LowLevelFormatSupported': False, 'MediaName': 'APPLE SSD AP4096R', 'MediaType': 'Generic', 'MountPoint': '', 'OS9DriversInstalled': False, 'OSInternalMedia': False, 'ParentWholeDisk': 'disk3', 'PartitionMapPartition': False, 'RAIDMaster': False, 'RAIDSlice': False, 'Removable': False, 'RemovableMedia': False, 'RemovableMediaOrExternalDevice': False, 'SMARTDeviceSpecificKeysMayVaryNotGuaranteed': {'AVAILABLE_SPARE': 100, 'AVAILABLE_SPARE_THRESHOLD': 99, 'CONTROLLER_BUSY_TIME_0': 0, 'CONTROLLER_BUSY_TIME_1': 0, 'DATA_UNITS_READ_0': 26541371, 'DATA_UNITS_READ_1': 0, 'DATA_UNITS_WRITTEN_0': 17379405, 'DATA_UNITS_WRITTEN_1': 0, 'HOST_READ_COMMANDS_0': 234889791, 'HOST_READ_COMMANDS_1': 0, 'HOST_WRITE_COMMANDS_0': 255295830, 'HOST_WRITE_COMMANDS_1': 0, 'MEDIA_ERRORS_0': 0, 'MEDIA_ERRORS_1': 0, 'NUM_ERROR_INFO_LOG_ENTRIES_0': 0, 'NUM_ERROR_INFO_LOG_ENTRIES_1': 0, 'PERCENTAGE_USED': 0, 'POWER_CYCLES_0': 547, 'POWER_CYCLES_1': 0, 'POWER_ON_HOURS_0': 334, 'POWER_ON_HOURS_1': 0, 'TEMPERATURE': 309, 'UNSAFE_SHUTDOWNS_0': 27, 'UNSAFE_SHUTDOWNS_1': 0}, 'SMARTStatus': 'Verified', 'Size': 3996329328640, 'SolidState': True, 'SupportsGlobalPermissionsDisable': False, 'SystemImage': False, 'TotalSize': 3996329328640, 'VirtualOrPhysical': 'Virtual', 'VolumeName': '', 'VolumeSize': 0, 'WholeDisk': True, 'Writable': True, 'WritableMedia': True, 'WritableVolume': False}
03-25 23:48 root INFO DiskUtil.find_system_disk()
03-25 23:48 root INFO System disk: disk0
03-25 23:48 root INFO MSG: System disk: �[mdisk0�[m
03-25 23:48 root INFO DiskUtil.get_partitions('disk0')
03-25 23:48 root INFO DiskUtil.get_partition_info(dev='disk0s1', refresh_apfs=False)
03-25 23:48 root DEBUG get: diskutil ('info', '-plist', 'disk0s1')
03-25 23:48 root DEBUG Partition {dev}: {part}
03-25 23:48 root INFO DiskUtil.get_partition_info(dev='disk0s2', refresh_apfs=False)
03-25 23:48 root DEBUG get: diskutil ('info', '-plist', 'disk0s2')
03-25 23:48 root DEBUG Partition {dev}: {part}
03-25 23:48 root INFO DiskUtil.get_partition_info(dev='disk0s3', refresh_apfs=False)
03-25 23:48 root DEBUG get: diskutil ('info', '-plist', 'disk0s3')
03-25 23:48 root DEBUG Partition {dev}: {part}
03-25 23:48 root INFO MSG: Collecting OS information...
03-25 23:48 root INFO OSEnum.collect()
03-25 23:48 root INFO OSEnum.collect_part(part=disk0s1)
03-25 23:48 root INFO OSEnum.collect_part(part=disk0s2)
03-25 23:48 root INFO OSEnum.collect_os(part=disk0s2, vgid=5F8D4277-7EC9-45E8-A246-9604E33D066E)
03-25 23:48 root DEBUG run: diskutil ('mount', 'disk3s2')
03-25 23:48 root DEBUG process output: b'Volume Preboot on disk3s2 mounted\n'
03-25 23:48 root DEBUG get: diskutil ('info', '-plist', 'disk3s2')
03-25 23:48 root INFO mounts[Preboot]: /System/Volumes/Preboot
03-25 23:48 root DEBUG run: diskutil ('mount', 'disk3s3')
03-25 23:48 root DEBUG process output: b'Volume Recovery on disk3s3 mounted\n'
03-25 23:48 root DEBUG get: diskutil ('info', '-plist', 'disk3s3')
03-25 23:48 root INFO mounts[Recovery]: /Volumes/Recovery
03-25 23:48 root DEBUG run: diskutil ('mount', 'disk3s1')
03-25 23:48 root DEBUG process output: b'Volume Citrouille on disk3s1 mounted\n'
03-25 23:48 root DEBUG get: diskutil ('info', '-plist', 'disk3s1')
03-25 23:48 root INFO mounts[System]: /Volumes/Citrouille 1
03-25 23:48 root DEBUG run: diskutil ('mount', 'disk3s5')
03-25 23:48 root DEBUG process output: b'Volume Data on disk3s5 mounted\n'
03-25 23:48 root DEBUG get: diskutil ('info', '-plist', 'disk3s5')
03-25 23:48 root INFO mounts[Data]: /System/Volumes/Data
03-25 23:48 root INFO Trying SystemVersion.plist...
03-25 23:48 root INFO Version: 12.3
03-25 23:48 root INFO Admin users: ['guillaumedidier']
03-25 23:48 root INFO BootPolicy[coih] = None
03-25 23:48 root INFO BootPolicy[nsih] = 3F5C129227CCF78617A6FEB6BB8592428D563702A321540BDCE72D046972581FD7AF001E3C8340C125D5CE9911A879D1
03-25 23:48 root INFO Found [�[1mCitrouille�[m] �[1;32mmacOS v12.3�[m [disk3s1, 5F8D4277-7EC9-45E8-A246-9604E33D066E]
03-25 23:48 root INFO OSEnum.collect_recovery(part=disk0s3)
03-25 23:48 root INFO Found SROS: recoveryOS v12.3 [Primary recoveryOS]
03-25 23:48 root INFO Checking resizability of disk0s2
03-25 23:48 root INFO Has OS
03-25 23:48 root INFO Min space required: 38500000000
03-25 23:48 root INFO Free space: 2167283249152
03-25 23:48 root INFO Can resize
03-25 23:48 root INFO Checking resizability of disk0s3
03-25 23:48 root INFO Has OS
03-25 23:48 root INFO Min space required: 38500000000
03-25 23:48 root INFO Free space: 3629101056
03-25 23:48 root INFO Cannot resize
03-25 23:48 root INFO MSG: Partitions in system disk (disk0):
03-25 23:48 root INFO MSG: �[1m1�[m: APFS [Citrouille] (4.00 TB, 6 volumes)�[m
03-25 23:48 root INFO MSG: OS: [�[32mB�[m�[1m*�[m] [�[1mCitrouille�[m] �[1;32mmacOS v12.3�[m [disk3s1, 5F8D4277-7EC9-45E8-A246-9604E33D066E]�[m
03-25 23:48 root INFO MSG: �[1m2�[m: APFS (System Recovery) (5.37 GB, 2 volumes)�[m
03-25 23:48 root INFO MSG: OS: [ ] recoveryOS v12.3 [Primary recoveryOS]
03-25 23:48 root INFO MSG: [�[32mB�[m ] = Booted OS, [�[33mR�[m ] = Booted recovery, [�[31m?�[m ] = Unknown�[m
03-25 23:48 root INFO MSG: [ �[1m*�[m] = Default boot volume�[m
03-25 23:48 root INFO MSG: Using OS 'Citrouille' (disk3s1) for machine authentication.
03-25 23:48 root INFO Current OS: Citrouille / disk3s1
03-25 23:48 root INFO MSG: Choose what to do:
03-25 23:48 root INFO MSG: �[1mr�[22m: Resize an existing partition to make space for a new OS�[m
03-25 23:48 root INFO MSG: �[1mq�[22m: Quit without doing anything�[m
03-25 23:48 root INFO MSG: �[1;37m»�[1;36m Action (r): �[m
03-25 23:48 root INFO INPUT: 'r'
03-25 23:48 root INFO Has OS
03-25 23:48 root INFO MSG: We're going to resize this partition:
03-25 23:48 root INFO MSG: APFS [Citrouille] (4.00 TB, 6 volumes)
03-25 23:48 root INFO MSG: Total size: �[m4.00 TB�[m
03-25 23:48 root INFO MSG: Free space: �[m2.17 TB�[m
03-25 23:48 root INFO MSG: Minimum free space: �[m38.00 GB�[m
03-25 23:48 root INFO MSG: Minimum total size: �[m1.87 TB (46.72%)�[m
03-25 23:48 root INFO MSG: Enter the new size for your existing partition:
03-25 23:48 root INFO MSG: You can enter a size such as '1GB', a fraction such as '50%',
03-25 23:48 root INFO MSG: or the word 'min' for the smallest allowable size.
03-25 23:48 root INFO MSG: Examples:
03-25 23:48 root INFO MSG: 30% - 30% to macOS, 70% to the new OS
03-25 23:48 root INFO MSG: 80GB - 80GB to macOS, the rest to your new OS
03-25 23:48 root INFO MSG: min - Shrink macOS as much as (safely) possible
03-25 23:48 root INFO MSG: �[1;37m»�[1;36m New size (50%): �[m
03-25 23:48 root INFO INPUT: '97%'
03-25 23:48 root INFO MSG: Resizing will free up 119.89 GB of space.
03-25 23:48 root INFO MSG: Note: your system may appear to freeze during the resize.
03-25 23:48 root INFO MSG: This is normal, just wait until the process completes.
03-25 23:48 root INFO MSG: �[1;37m»�[1;36m Continue? (y/N): �[m
03-25 23:48 root INFO INPUT: 'y'
03-25 23:48 root DEBUG run: diskutil ('apfs', 'resizeContainer', 'disk0s2', '3876438671360')
03-26 00:10 root INFO MSG: Resize complete. Press enter to continue.
03-26 00:16 root INFO MSG: Collecting partition information...
03-26 00:16 root INFO DiskUtil.get_info()
03-26 00:16 root INFO DiskUtil.get_list()
03-26 00:16 root DEBUG get: diskutil ('list', '-plist')
03-26 00:16 root DEBUG Whole disks:
03-26 00:16 root DEBUG - 'disk0'
03-26 00:16 root DEBUG - 'disk1'
03-26 00:16 root DEBUG - 'disk2'
03-26 00:16 root DEBUG - 'disk3'
03-26 00:16 root DEBUG All disks and partitions:
03-26 00:16 root DEBUG - disk0: {'Content': 'GUID_partition_scheme', 'DeviceIdentifier': 'disk0', 'OSInternal': False, 'Partitions': [{'Content': 'Apple_APFS_ISC', 'DeviceIdentifier': 'disk0s1', 'DiskUUID': 'C05FD02E-ED75-44BD-98C9-04E777136EAE', 'Size': 524288000}, {'Content': 'Apple_APFS', 'DeviceIdentifier': 'disk0s2', 'DiskUUID': '151F927E-EE9A-4E78-B639-F53A1D72DC4F', 'Size': 3876438671360}, {'Content': 'Apple_APFS_Recovery', 'DeviceIdentifier': 'disk0s3', 'DiskUUID': 'D8A07D58-4AF0-45D0-B9E1-5E2786BC9D12', 'Size': 5368664064}], 'Size': 4002222325760}
03-26 00:16 root DEBUG - disk1: {'APFSPhysicalStores': [{'DeviceIdentifier': 'disk0s1'}], 'APFSVolumes': [{'DeviceIdentifier': 'disk1s1', 'DiskUUID': '6D01AD18-BE95-4900-B33C-986119622FA4', 'MountPoint': '/System/Volumes/iSCPreboot', 'MountedSnapshots': [], 'OSInternal': True, 'Size': 524288000, 'VolumeName': 'iSCPreboot', 'VolumeUUID': '6D01AD18-BE95-4900-B33C-986119622FA4'}, {'DeviceIdentifier': 'disk1s2', 'DiskUUID': 'BB8CB895-CC13-47EA-8591-8E2C7468C06D', 'MountPoint': '/System/Volumes/xarts', 'MountedSnapshots': [], 'OSInternal': True, 'Size': 524288000, 'VolumeName': 'xART', 'VolumeUUID': 'BB8CB895-CC13-47EA-8591-8E2C7468C06D'}, {'DeviceIdentifier': 'disk1s3', 'DiskUUID': 'E7CF0752-958A-4FB1-B18A-15157C9AB963', 'MountPoint': '/System/Volumes/Hardware', 'MountedSnapshots': [], 'OSInternal': True, 'Size': 524288000, 'VolumeName': 'Hardware', 'VolumeUUID': 'E7CF0752-958A-4FB1-B18A-15157C9AB963'}, {'DeviceIdentifier': 'disk1s4', 'DiskUUID': '0988CB53-6E1C-4A26-8BFC-BBCF0BAA6386', 'MountedSnapshots': [], 'OSInternal': True, 'Size': 524288000, 'VolumeName': 'Recovery', 'VolumeUUID': '0988CB53-6E1C-4A26-8BFC-BBCF0BAA6386'}], 'Content': 'EF57347C-0000-11AA-AA11-00306543ECAC', 'DeviceIdentifier': 'disk1', 'OSInternal': True, 'Partitions': [], 'Size': 524288000}
03-26 00:16 root DEBUG - disk2: {'APFSPhysicalStores': [{'DeviceIdentifier': 'disk0s3'}], 'APFSVolumes': [{'DeviceIdentifier': 'disk2s1', 'DiskUUID': '268EF134-73DD-4238-BA1E-D9B6A3EFBFAE', 'MountedSnapshots': [], 'OSInternal': True, 'Size': 5368664064, 'VolumeName': 'Recovery', 'VolumeUUID': '268EF134-73DD-4238-BA1E-D9B6A3EFBFAE'}, {'DeviceIdentifier': 'disk2s2', 'DiskUUID': 'D6AC2850-4788-43C3-BAD2-F326B0B666CC', 'MountedSnapshots': [], 'OSInternal': True, 'Size': 5368664064, 'VolumeName': 'Update', 'VolumeUUID': 'D6AC2850-4788-43C3-BAD2-F326B0B666CC'}], 'Content': 'EF57347C-0000-11AA-AA11-00306543ECAC', 'DeviceIdentifier': 'disk2', 'OSInternal': True, 'Partitions': [], 'Size': 5368664064}
03-26 00:16 root DEBUG - disk3: {'APFSPhysicalStores': [{'DeviceIdentifier': 'disk0s2'}], 'APFSVolumes': [{'DeviceIdentifier': 'disk3s1', 'DiskUUID': 'FFA1BA84-7E2D-47FE-8658-4B92478A46E3', 'MountedSnapshots': [{'Sealed': 'Yes', 'SnapshotBSD': 'disk3s1s1', 'SnapshotMountPoint': '/', 'SnapshotName': 'com.apple.os.update-2289385E1A6FCCF05D444673FB1FEB06DDCF82A4C723EAD53AF1F3E08872CE0F', 'SnapshotUUID': '3259C5BB-64E5-470E-B6D5-47ED334A8712'}], 'OSInternal': False, 'Size': 3876438671360, 'VolumeName': 'Citrouille', 'VolumeUUID': 'FFA1BA84-7E2D-47FE-8658-4B92478A46E3'}, {'DeviceIdentifier': 'disk3s1s1', 'DiskUUID': '3259C5BB-64E5-470E-B6D5-47ED334A8712', 'MountPoint': '/', 'OSInternal': False, 'Size': 3996329328640, 'VolumeName': 'Citrouille', 'VolumeUUID': '3259C5BB-64E5-470E-B6D5-47ED334A8712'}, {'DeviceIdentifier': 'disk3s2', 'DiskUUID': '97644765-8C45-49BF-AA26-E214F1D69BF8', 'MountPoint': '/System/Volumes/Preboot', 'MountedSnapshots': [], 'OSInternal': False, 'Size': 3876438671360, 'VolumeName': 'Preboot', 'VolumeUUID': '97644765-8C45-49BF-AA26-E214F1D69BF8'}, {'DeviceIdentifier': 'disk3s3', 'DiskUUID': 'DA18D1E7-51E6-4554-8C5E-1476B68A1099', 'MountPoint': '/Volumes/Recovery', 'MountedSnapshots': [], 'OSInternal': False, 'Size': 3876438671360, 'VolumeName': 'Recovery', 'VolumeUUID': 'DA18D1E7-51E6-4554-8C5E-1476B68A1099'}, {'DeviceIdentifier': 'disk3s4', 'DiskUUID': '64DD6182-1A92-4FBE-A849-9ABB5280142C', 'MountPoint': '/System/Volumes/Update', 'MountedSnapshots': [], 'OSInternal': True, 'Size': 3876438671360, 'VolumeName': 'Update', 'VolumeUUID': '64DD6182-1A92-4FBE-A849-9ABB5280142C'}, {'DeviceIdentifier': 'disk3s5', 'DiskUUID': '5F8D4277-7EC9-45E8-A246-9604E33D066E', 'MountPoint': '/System/Volumes/Data', 'MountedSnapshots': [], 'OSInternal': False, 'Size': 3876438671360, 'VolumeName': 'Data', 'VolumeUUID': '5F8D4277-7EC9-45E8-A246-9604E33D066E'}, {'DeviceIdentifier': 'disk3s6', 'DiskUUID': '6A94EC26-2264-4AD7-88B4-5E76FC00794F', 'MountPoint': '/System/Volumes/VM', 'MountedSnapshots': [], 'OSInternal': False, 'Size': 3876438671360, 'VolumeName': 'VM', 'VolumeUUID': '6A94EC26-2264-4AD7-88B4-5E76FC00794F'}], 'Content': 'EF57347C-0000-11AA-AA11-00306543ECAC', 'DeviceIdentifier': 'disk3', 'OSInternal': False, 'Partitions': [], 'Size': 3876438671360}
03-26 00:16 root INFO DiskUtil.get_apfs_list(dev=None)
03-26 00:16 root DEBUG get: diskutil ('apfs', 'list', '-plist')
03-26 00:16 root DEBUG get: diskutil ('apfs', 'listVolumeGroups', 'disk1', '-plist')
03-26 00:16 root DEBUG container: {'APFSContainerUUID': '886D51DB-C3C6-423E-A5DD-A368CCA287F6', 'CapacityCeiling': 524288000, 'CapacityFree': 502808576, 'ContainerReference': 'disk1', 'DesignatedPhysicalStore': 'disk0s1', 'Fusion': False, 'PhysicalStores': [{'DeviceIdentifier': 'disk0s1', 'DiskUUID': 'C05FD02E-ED75-44BD-98C9-04E777136EAE', 'Size': 524288000}], 'Volumes': [{'APFSVolumeUUID': '6D01AD18-BE95-4900-B33C-986119622FA4', 'CapacityInUse': 7712768, 'CapacityQuota': 0, 'CapacityReserve': 0, 'CryptoMigrationOn': False, 'DeviceIdentifier': 'disk1s1', 'Encryption': False, 'FileVault': False, 'Locked': False, 'Name': 'iSCPreboot', 'Roles': ['Preboot']}, {'APFSVolumeUUID': 'BB8CB895-CC13-47EA-8591-8E2C7468C06D', 'CapacityInUse': 6311936, 'CapacityQuota': 0, 'CapacityReserve': 0, 'CryptoMigrationOn': False, 'DeviceIdentifier': 'disk1s2', 'Encryption': False, 'FileVault': False, 'Locked': False, 'Name': 'xART', 'Roles': ['xART']}, {'APFSVolumeUUID': 'E7CF0752-958A-4FB1-B18A-15157C9AB963', 'CapacityInUse': 2478080, 'CapacityQuota': 0, 'CapacityReserve': 0, 'CryptoMigrationOn': False, 'DeviceIdentifier': 'disk1s3', 'Encryption': False, 'FileVault': False, 'Locked': False, 'Name': 'Hardware', 'Roles': ['Hardware']}, {'APFSVolumeUUID': '0988CB53-6E1C-4A26-8BFC-BBCF0BAA6386', 'CapacityInUse': 20480, 'CapacityQuota': 0, 'CapacityReserve': 0, 'CryptoMigrationOn': False, 'DeviceIdentifier': 'disk1s4', 'Encryption': False, 'FileVault': False, 'Locked': False, 'Name': 'Recovery', 'Roles': ['Recovery']}]}
03-26 00:16 root DEBUG VGs: {'Containers': [{'APFSContainerUUID': '886D51DB-C3C6-423E-A5DD-A368CCA287F6', 'ContainerReference': 'disk1', 'VolumeGroups': []}]}
03-26 00:16 root DEBUG get: diskutil ('apfs', 'listVolumeGroups', 'disk2', '-plist')
03-26 00:16 root DEBUG container: {'APFSContainerUUID': '9972D75E-407F-4783-96A3-BF64CDCAFC03', 'CapacityCeiling': 5368664064, 'CapacityFree': 3629101056, 'ContainerReference': 'disk2', 'DesignatedPhysicalStore': 'disk0s3', 'Fusion': False, 'PhysicalStores': [{'DeviceIdentifier': 'disk0s3', 'DiskUUID': 'D8A07D58-4AF0-45D0-B9E1-5E2786BC9D12', 'Size': 5368664064}], 'Volumes': [{'APFSVolumeUUID': '268EF134-73DD-4238-BA1E-D9B6A3EFBFAE', 'CapacityInUse': 1719472128, 'CapacityQuota': 0, 'CapacityReserve': 0, 'CryptoMigrationOn': False, 'DeviceIdentifier': 'disk2s1', 'Encryption': False, 'FileVault': False, 'Locked': False, 'Name': 'Recovery', 'Roles': ['Recovery']}, {'APFSVolumeUUID': 'D6AC2850-4788-43C3-BAD2-F326B0B666CC', 'CapacityInUse': 348160, 'CapacityQuota': 0, 'CapacityReserve': 0, 'CryptoMigrationOn': False, 'DeviceIdentifier': 'disk2s2', 'Encryption': False, 'FileVault': False, 'Locked': False, 'Name': 'Update', 'Roles': ['Update']}]}
03-26 00:16 root DEBUG VGs: {'Containers': [{'APFSContainerUUID': '9972D75E-407F-4783-96A3-BF64CDCAFC03', 'ContainerReference': 'disk2', 'VolumeGroups': []}]}
03-26 00:16 root DEBUG get: diskutil ('apfs', 'listVolumeGroups', 'disk3', '-plist')
03-26 00:16 root DEBUG container: {'APFSContainerUUID': 'A9C34DD4-E7F7-4062-AE96-2E6A25798D97', 'CapacityCeiling': 3876438671360, 'CapacityFree': 2046634016768, 'ContainerReference': 'disk3', 'DesignatedPhysicalStore': 'disk0s2', 'Fusion': False, 'PhysicalStores': [{'DeviceIdentifier': 'disk0s2', 'DiskUUID': '151F927E-EE9A-4E78-B639-F53A1D72DC4F', 'Size': 3876438671360}], 'Volumes': [{'APFSVolumeUUID': 'FFA1BA84-7E2D-47FE-8658-4B92478A46E3', 'CapacityInUse': 15192584192, 'CapacityQuota': 0, 'CapacityReserve': 0, 'CryptoMigrationOn': False, 'DeviceIdentifier': 'disk3s1', 'Encryption': True, 'FileVault': True, 'Locked': False, 'Name': 'Citrouille', 'Roles': ['System']}, {'APFSVolumeUUID': '97644765-8C45-49BF-AA26-E214F1D69BF8', 'CapacityInUse': 517038080, 'CapacityQuota': 0, 'CapacityReserve': 0, 'CryptoMigrationOn': False, 'DeviceIdentifier': 'disk3s2', 'Encryption': False, 'FileVault': False, 'Locked': False, 'Name': 'Preboot', 'Roles': ['Preboot']}, {'APFSVolumeUUID': 'DA18D1E7-51E6-4554-8C5E-1476B68A1099', 'CapacityInUse': 804691968, 'CapacityQuota': 0, 'CapacityReserve': 0, 'CryptoMigrationOn': False, 'DeviceIdentifier': 'disk3s3', 'Encryption': False, 'FileVault': False, 'Locked': False, 'Name': 'Recovery', 'Roles': ['Recovery']}, {'APFSVolumeUUID': '64DD6182-1A92-4FBE-A849-9ABB5280142C', 'CapacityInUse': 5341184, 'CapacityQuota': 0, 'CapacityReserve': 0, 'CryptoMigrationOn': False, 'DeviceIdentifier': 'disk3s4', 'Encryption': False, 'FileVault': False, 'Locked': False, 'Name': 'Update', 'Roles': ['Update']}, {'APFSVolumeUUID': '5F8D4277-7EC9-45E8-A246-9604E33D066E', 'CapacityInUse': 1812811214848, 'CapacityQuota': 0, 'CapacityReserve': 0, 'CryptoMigrationOn': False, 'DeviceIdentifier': 'disk3s5', 'Encryption': True, 'FileVault': True, 'Locked': False, 'Name': 'Data', 'Roles': ['Data']}, {'APFSVolumeUUID': '6A94EC26-2264-4AD7-88B4-5E76FC00794F', 'CapacityInUse': 20480, 'CapacityQuota': 0, 'CapacityReserve': 0, 'CryptoMigrationOn': False, 'DeviceIdentifier': 'disk3s6', 'Encryption': False, 'FileVault': False, 'Locked': False, 'Name': 'VM', 'Roles': ['VM']}]}
03-26 00:16 root DEBUG VGs: {'Containers': [{'APFSContainerUUID': 'A9C34DD4-E7F7-4062-AE96-2E6A25798D97', 'ContainerReference': 'disk3', 'VolumeGroups': [{'APFSVolumeGroupUUID': '5F8D4277-7EC9-45E8-A246-9604E33D066E', 'Volumes': [{'DeviceIdentifier': 'disk3s1', 'DiskUUID': 'FFA1BA84-7E2D-47FE-8658-4B92478A46E3', 'NoBrowseRole': False, 'Role': 'System'}, {'DeviceIdentifier': 'disk3s5', 'DiskUUID': '5F8D4277-7EC9-45E8-A246-9604E33D066E', 'NoBrowseRole': False, 'Role': 'Data'}]}]}]}
03-26 00:16 root INFO DiskUtil.get_disk_info()
03-26 00:16 root DEBUG get: diskutil ('info', '-plist', 'disk0')
03-26 00:16 root DEBUG disk0: {'AESHardware': True, 'Bootable': False, 'BusProtocol': 'Apple Fabric', 'CanBeMadeBootable': False, 'CanBeMadeBootableRequiresDestroy': False, 'Content': 'GUID_partition_scheme', 'DeviceBlockSize': 4096, 'DeviceIdentifier': 'disk0', 'DeviceNode': '/dev/disk0', 'DeviceTreePath': 'IODeviceTree:/arm-io/ans@8F400000/iop-ans-nub/AppleANS3NVMeController', 'Ejectable': False, 'EjectableMediaAutomaticUnderSoftwareControl': False, 'EjectableOnly': False, 'FreeSpace': 0, 'GlobalPermissionsEnabled': False, 'IOKitSize': 4002222325760, 'IORegistryEntryName': 'APPLE SSD AP4096R Media', 'Internal': True, 'LowLevelFormatSupported': False, 'MediaName': 'APPLE SSD AP4096R', 'MediaType': 'Generic', 'MountPoint': '', 'OS9DriversInstalled': False, 'OSInternalMedia': False, 'ParentWholeDisk': 'disk0', 'PartitionMapPartition': False, 'RAIDMaster': False, 'RAIDSlice': False, 'Removable': False, 'RemovableMedia': False, 'RemovableMediaOrExternalDevice': False, 'SMARTDeviceSpecificKeysMayVaryNotGuaranteed': {'AVAILABLE_SPARE': 100, 'AVAILABLE_SPARE_THRESHOLD': 99, 'CONTROLLER_BUSY_TIME_0': 0, 'CONTROLLER_BUSY_TIME_1': 0, 'DATA_UNITS_READ_0': 26556810, 'DATA_UNITS_READ_1': 0, 'DATA_UNITS_WRITTEN_0': 17383731, 'DATA_UNITS_WRITTEN_1': 0, 'HOST_READ_COMMANDS_0': 235679755, 'HOST_READ_COMMANDS_1': 0, 'HOST_WRITE_COMMANDS_0': 255424516, 'HOST_WRITE_COMMANDS_1': 0, 'MEDIA_ERRORS_0': 0, 'MEDIA_ERRORS_1': 0, 'NUM_ERROR_INFO_LOG_ENTRIES_0': 0, 'NUM_ERROR_INFO_LOG_ENTRIES_1': 0, 'PERCENTAGE_USED': 0, 'POWER_CYCLES_0': 547, 'POWER_CYCLES_1': 0, 'POWER_ON_HOURS_0': 334, 'POWER_ON_HOURS_1': 0, 'TEMPERATURE': 307, 'UNSAFE_SHUTDOWNS_0': 27, 'UNSAFE_SHUTDOWNS_1': 0}, 'SMARTStatus': 'Verified', 'Size': 4002222325760, 'SolidState': True, 'SupportsGlobalPermissionsDisable': False, 'SystemImage': False, 'TotalSize': 4002222325760, 'VirtualOrPhysical': 'Unknown', 'VolumeName': '', 'VolumeSize': 0, 'WholeDisk': True, 'Writable': True, 'WritableMedia': True, 'WritableVolume': False}
03-26 00:16 root DEBUG get: diskutil ('info', '-plist', 'disk1')
03-26 00:16 root DEBUG disk1: {'AESHardware': True, 'APFSContainerReference': 'disk1', 'APFSPhysicalStores': [{'APFSPhysicalStore': 'disk0s1'}], 'Bootable': False, 'BusProtocol': 'Apple Fabric', 'CanBeMadeBootable': False, 'CanBeMadeBootableRequiresDestroy': False, 'Content': 'EF57347C-0000-11AA-AA11-00306543ECAC', 'DeviceBlockSize': 4096, 'DeviceIdentifier': 'disk1', 'DeviceNode': '/dev/disk1', 'DeviceTreePath': 'IODeviceTree:/arm-io/ans@8F400000/iop-ans-nub/AppleANS3NVMeController', 'DiskUUID': '886D51DB-C3C6-423E-A5DD-A368CCA287F6', 'Ejectable': False, 'EjectableMediaAutomaticUnderSoftwareControl': False, 'EjectableOnly': False, 'FreeSpace': 0, 'Fusion': False, 'GlobalPermissionsEnabled': False, 'IOKitSize': 524288000, 'IORegistryEntryName': 'AppleAPFSMedia', 'Internal': True, 'LowLevelFormatSupported': False, 'MediaName': 'APPLE SSD AP4096R', 'MediaType': 'Generic', 'MountPoint': '', 'OS9DriversInstalled': False, 'OSInternalMedia': True, 'ParentWholeDisk': 'disk1', 'PartitionMapPartition': False, 'RAIDMaster': False, 'RAIDSlice': False, 'Removable': False, 'RemovableMedia': False, 'RemovableMediaOrExternalDevice': False, 'SMARTDeviceSpecificKeysMayVaryNotGuaranteed': {'AVAILABLE_SPARE': 100, 'AVAILABLE_SPARE_THRESHOLD': 99, 'CONTROLLER_BUSY_TIME_0': 0, 'CONTROLLER_BUSY_TIME_1': 0, 'DATA_UNITS_READ_0': 26556810, 'DATA_UNITS_READ_1': 0, 'DATA_UNITS_WRITTEN_0': 17383731, 'DATA_UNITS_WRITTEN_1': 0, 'HOST_READ_COMMANDS_0': 235679756, 'HOST_READ_COMMANDS_1': 0, 'HOST_WRITE_COMMANDS_0': 255424516, 'HOST_WRITE_COMMANDS_1': 0, 'MEDIA_ERRORS_0': 0, 'MEDIA_ERRORS_1': 0, 'NUM_ERROR_INFO_LOG_ENTRIES_0': 0, 'NUM_ERROR_INFO_LOG_ENTRIES_1': 0, 'PERCENTAGE_USED': 0, 'POWER_CYCLES_0': 547, 'POWER_CYCLES_1': 0, 'POWER_ON_HOURS_0': 334, 'POWER_ON_HOURS_1': 0, 'TEMPERATURE': 307, 'UNSAFE_SHUTDOWNS_0': 27, 'UNSAFE_SHUTDOWNS_1': 0}, 'SMARTStatus': 'Verified', 'Size': 524288000, 'SolidState': True, 'SupportsGlobalPermissionsDisable': False, 'SystemImage': False, 'TotalSize': 524288000, 'VirtualOrPhysical': 'Virtual', 'VolumeName': '', 'VolumeSize': 0, 'WholeDisk': True, 'Writable': True, 'WritableMedia': True, 'WritableVolume': False}
03-26 00:16 root DEBUG get: diskutil ('info', '-plist', 'disk2')
03-26 00:16 root DEBUG disk2: {'AESHardware': True, 'APFSContainerReference': 'disk2', 'APFSPhysicalStores': [{'APFSPhysicalStore': 'disk0s3'}], 'Bootable': False, 'BusProtocol': 'Apple Fabric', 'CanBeMadeBootable': False, 'CanBeMadeBootableRequiresDestroy': False, 'Content': 'EF57347C-0000-11AA-AA11-00306543ECAC', 'DeviceBlockSize': 4096, 'DeviceIdentifier': 'disk2', 'DeviceNode': '/dev/disk2', 'DeviceTreePath': 'IODeviceTree:/arm-io/ans@8F400000/iop-ans-nub/AppleANS3NVMeController', 'DiskUUID': '9972D75E-407F-4783-96A3-BF64CDCAFC03', 'Ejectable': False, 'EjectableMediaAutomaticUnderSoftwareControl': False, 'EjectableOnly': False, 'FreeSpace': 0, 'Fusion': False, 'GlobalPermissionsEnabled': False, 'IOKitSize': 5368664064, 'IORegistryEntryName': 'AppleAPFSMedia', 'Internal': True, 'LowLevelFormatSupported': False, 'MediaName': 'APPLE SSD AP4096R', 'MediaType': 'Generic', 'MountPoint': '', 'OS9DriversInstalled': False, 'OSInternalMedia': True, 'ParentWholeDisk': 'disk2', 'PartitionMapPartition': False, 'RAIDMaster': False, 'RAIDSlice': False, 'Removable': False, 'RemovableMedia': False, 'RemovableMediaOrExternalDevice': False, 'SMARTDeviceSpecificKeysMayVaryNotGuaranteed': {'AVAILABLE_SPARE': 100, 'AVAILABLE_SPARE_THRESHOLD': 99, 'CONTROLLER_BUSY_TIME_0': 0, 'CONTROLLER_BUSY_TIME_1': 0, 'DATA_UNITS_READ_0': 26556811, 'DATA_UNITS_READ_1': 0, 'DATA_UNITS_WRITTEN_0': 17383731, 'DATA_UNITS_WRITTEN_1': 0, 'HOST_READ_COMMANDS_0': 235679757, 'HOST_READ_COMMANDS_1': 0, 'HOST_WRITE_COMMANDS_0': 255424516, 'HOST_WRITE_COMMANDS_1': 0, 'MEDIA_ERRORS_0': 0, 'MEDIA_ERRORS_1': 0, 'NUM_ERROR_INFO_LOG_ENTRIES_0': 0, 'NUM_ERROR_INFO_LOG_ENTRIES_1': 0, 'PERCENTAGE_USED': 0, 'POWER_CYCLES_0': 547, 'POWER_CYCLES_1': 0, 'POWER_ON_HOURS_0': 334, 'POWER_ON_HOURS_1': 0, 'TEMPERATURE': 307, 'UNSAFE_SHUTDOWNS_0': 27, 'UNSAFE_SHUTDOWNS_1': 0}, 'SMARTStatus': 'Verified', 'Size': 5368664064, 'SolidState': True, 'SupportsGlobalPermissionsDisable': False, 'SystemImage': False, 'TotalSize': 5368664064, 'VirtualOrPhysical': 'Virtual', 'VolumeName': '', 'VolumeSize': 0, 'WholeDisk': True, 'Writable': True, 'WritableMedia': True, 'WritableVolume': False}
03-26 00:16 root DEBUG get: diskutil ('info', '-plist', 'disk3')
03-26 00:16 root DEBUG disk3: {'AESHardware': True, 'APFSContainerReference': 'disk3', 'APFSPhysicalStores': [{'APFSPhysicalStore': 'disk0s2'}], 'Bootable': False, 'BusProtocol': 'Apple Fabric', 'CanBeMadeBootable': False, 'CanBeMadeBootableRequiresDestroy': False, 'Content': 'EF57347C-0000-11AA-AA11-00306543ECAC', 'DeviceBlockSize': 4096, 'DeviceIdentifier': 'disk3', 'DeviceNode': '/dev/disk3', 'DeviceTreePath': 'IODeviceTree:/arm-io/ans@8F400000/iop-ans-nub/AppleANS3NVMeController', 'DiskUUID': 'A9C34DD4-E7F7-4062-AE96-2E6A25798D97', 'Ejectable': False, 'EjectableMediaAutomaticUnderSoftwareControl': False, 'EjectableOnly': False, 'FreeSpace': 0, 'Fusion': False, 'GlobalPermissionsEnabled': False, 'IOKitSize': 3876438671360, 'IORegistryEntryName': 'AppleAPFSMedia', 'Internal': True, 'LowLevelFormatSupported': False, 'MediaName': 'APPLE SSD AP4096R', 'MediaType': 'Generic', 'MountPoint': '', 'OS9DriversInstalled': False, 'OSInternalMedia': False, 'ParentWholeDisk': 'disk3', 'PartitionMapPartition': False, 'RAIDMaster': False, 'RAIDSlice': False, 'Removable': False, 'RemovableMedia': False, 'RemovableMediaOrExternalDevice': False, 'SMARTDeviceSpecificKeysMayVaryNotGuaranteed': {'AVAILABLE_SPARE': 100, 'AVAILABLE_SPARE_THRESHOLD': 99, 'CONTROLLER_BUSY_TIME_0': 0, 'CONTROLLER_BUSY_TIME_1': 0, 'DATA_UNITS_READ_0': 26556811, 'DATA_UNITS_READ_1': 0, 'DATA_UNITS_WRITTEN_0': 17383731, 'DATA_UNITS_WRITTEN_1': 0, 'HOST_READ_COMMANDS_0': 235679757, 'HOST_READ_COMMANDS_1': 0, 'HOST_WRITE_COMMANDS_0': 255424516, 'HOST_WRITE_COMMANDS_1': 0, 'MEDIA_ERRORS_0': 0, 'MEDIA_ERRORS_1': 0, 'NUM_ERROR_INFO_LOG_ENTRIES_0': 0, 'NUM_ERROR_INFO_LOG_ENTRIES_1': 0, 'PERCENTAGE_USED': 0, 'POWER_CYCLES_0': 547, 'POWER_CYCLES_1': 0, 'POWER_ON_HOURS_0': 334, 'POWER_ON_HOURS_1': 0, 'TEMPERATURE': 307, 'UNSAFE_SHUTDOWNS_0': 27, 'UNSAFE_SHUTDOWNS_1': 0}, 'SMARTStatus': 'Verified', 'Size': 3876438671360, 'SolidState': True, 'SupportsGlobalPermissionsDisable': False, 'SystemImage': False, 'TotalSize': 3876438671360, 'VirtualOrPhysical': 'Virtual', 'VolumeName': '', 'VolumeSize': 0, 'WholeDisk': True, 'Writable': True, 'WritableMedia': True, 'WritableVolume': False}
03-26 00:16 root INFO DiskUtil.find_system_disk()
03-26 00:16 root INFO System disk: disk0
03-26 00:16 root INFO MSG: System disk: �[mdisk0�[m
03-26 00:16 root INFO DiskUtil.get_partitions('disk0')
03-26 00:16 root INFO DiskUtil.get_partition_info(dev='disk0s1', refresh_apfs=False)
03-26 00:16 root DEBUG get: diskutil ('info', '-plist', 'disk0s1')
03-26 00:16 root DEBUG Partition {dev}: {part}
03-26 00:16 root INFO DiskUtil.get_partition_info(dev='disk0s2', refresh_apfs=False)
03-26 00:16 root DEBUG get: diskutil ('info', '-plist', 'disk0s2')
03-26 00:16 root DEBUG Partition {dev}: {part}
03-26 00:16 root INFO DiskUtil.get_partition_info(dev='disk0s3', refresh_apfs=False)
03-26 00:16 root DEBUG get: diskutil ('info', '-plist', 'disk0s3')
03-26 00:16 root DEBUG Partition {dev}: {part}
03-26 00:16 root INFO MSG: Collecting OS information...
03-26 00:16 root INFO OSEnum.collect()
03-26 00:16 root INFO OSEnum.collect_part(part=disk0s1)
03-26 00:16 root INFO OSEnum.collect_part(part=disk0s2)
03-26 00:16 root INFO OSEnum.collect_os(part=disk0s2, vgid=5F8D4277-7EC9-45E8-A246-9604E33D066E)
03-26 00:16 root DEBUG run: diskutil ('mount', 'disk3s2')
03-26 00:16 root DEBUG process output: b'Volume Preboot on disk3s2 mounted\n'
03-26 00:16 root DEBUG get: diskutil ('info', '-plist', 'disk3s2')
03-26 00:16 root INFO mounts[Preboot]: /System/Volumes/Preboot
03-26 00:16 root DEBUG run: diskutil ('mount', 'disk3s3')
03-26 00:16 root DEBUG process output: b'Volume Recovery on disk3s3 mounted\n'
03-26 00:16 root DEBUG get: diskutil ('info', '-plist', 'disk3s3')
03-26 00:16 root INFO mounts[Recovery]: /Volumes/Recovery
03-26 00:16 root DEBUG run: diskutil ('mount', 'disk3s1')
03-26 00:16 root DEBUG process output: b'Volume Citrouille on disk3s1 mounted\n'
03-26 00:16 root DEBUG get: diskutil ('info', '-plist', 'disk3s1')
03-26 00:16 root INFO mounts[System]: /Volumes/Citrouille 1
03-26 00:16 root DEBUG run: diskutil ('mount', 'disk3s5')
03-26 00:16 root DEBUG process output: b'Volume Data on disk3s5 mounted\n'
03-26 00:16 root DEBUG get: diskutil ('info', '-plist', 'disk3s5')
03-26 00:16 root INFO mounts[Data]: /System/Volumes/Data
03-26 00:16 root INFO Trying SystemVersion.plist...
03-26 00:16 root INFO Version: 12.3
03-26 00:16 root INFO Admin users: ['guillaumedidier']
03-26 00:16 root INFO BootPolicy[coih] = None
03-26 00:16 root INFO BootPolicy[nsih] = 3F5C129227CCF78617A6FEB6BB8592428D563702A321540BDCE72D046972581FD7AF001E3C8340C125D5CE9911A879D1
03-26 00:16 root INFO Found [�[1mCitrouille�[m] �[1;32mmacOS v12.3�[m [disk3s1, 5F8D4277-7EC9-45E8-A246-9604E33D066E]
03-26 00:16 root INFO OSEnum.collect_part(part=disk0s2)
03-26 00:16 root INFO OSEnum.collect_recovery(part=disk0s3)
03-26 00:16 root INFO Found SROS: recoveryOS v12.3 [Primary recoveryOS]
03-26 00:16 root INFO Checking resizability of disk0s2
03-26 00:16 root INFO Has OS
03-26 00:16 root INFO Min space required: 38500000000
03-26 00:16 root INFO Free space: 2046634016768
03-26 00:16 root INFO Can resize
03-26 00:16 root INFO Checking resizability of disk0s3
03-26 00:16 root INFO Has OS
03-26 00:16 root INFO Min space required: 38500000000
03-26 00:16 root INFO Free space: 3629101056
03-26 00:16 root INFO Cannot resize
03-26 00:16 root INFO MSG: Partitions in system disk (disk0):
03-26 00:16 root INFO MSG: �[1m1�[m: APFS [Citrouille] (3.88 TB, 6 volumes)�[m
03-26 00:16 root INFO MSG: OS: [�[32mB�[m�[1m*�[m] [�[1mCitrouille�[m] �[1;32mmacOS v12.3�[m [disk3s1, 5F8D4277-7EC9-45E8-A246-9604E33D066E]�[m
03-26 00:16 root INFO MSG: �[1m2�[m: (free space: 119.89 GB)�[m
03-26 00:16 root INFO MSG: �[1m3�[m: APFS (System Recovery) (5.37 GB, 2 volumes)�[m
03-26 00:16 root INFO MSG: OS: [ ] recoveryOS v12.3 [Primary recoveryOS]
03-26 00:16 root INFO MSG: [�[32mB�[m ] = Booted OS, [�[33mR�[m ] = Booted recovery, [�[31m?�[m ] = Unknown�[m
03-26 00:16 root INFO MSG: [ �[1m*�[m] = Default boot volume�[m
03-26 00:16 root INFO MSG: Using OS 'Citrouille' (disk3s1) for machine authentication.
03-26 00:16 root INFO Current OS: Citrouille / disk3s1
03-26 00:16 root INFO MSG: Choose what to do:
03-26 00:16 root INFO MSG: �[1mf�[22m: Install an OS into free space�[m
03-26 00:16 root INFO MSG: �[1mr�[22m: Resize an existing partition to make space for a new OS�[m
03-26 00:16 root INFO MSG: �[1mq�[22m: Quit without doing anything�[m
03-26 00:16 root INFO MSG: �[1;37m»�[1;36m Action (f): �[m
03-26 00:17 root INFO INPUT: 'f'
03-26 00:17 root INFO MSG: Choose an OS to install:
03-26 00:17 root INFO MSG: �[1m1�[22m: Asahi Linux Desktop�[m
03-26 00:17 root INFO MSG: �[1m2�[22m: Asahi Linux Minimal (Arch Linux ARM)�[m
03-26 00:17 root INFO MSG: �[1m3�[22m: UEFI environment only (m1n1 + U-Boot + ESP)�[m
03-26 00:17 root INFO MSG: �[1;37m»�[1;36m OS: �[m
03-26 00:17 root INFO INPUT: '1'
03-26 00:17 root INFO Chosen OS: Asahi Linux Desktop
03-26 00:17 root INFO OS package URL: ./os/asahi-plasma-20220321-1.zip
03-26 00:17 root INFO MSG: Loading OS package info...
03-26 00:17 root ERROR Exception caught
Traceback (most recent call last):
File "/Users/guillaumedidier/src/asahi-install/main.py", line 820, in <module>
InstallerMain().main()
File "/Users/guillaumedidier/src/asahi-install/main.py", line 672, in main
while self.main_loop():
File "/Users/guillaumedidier/src/asahi-install/main.py", line 788, in main_loop
return self.action_install_into_free(parts_free)
File "/Users/guillaumedidier/src/asahi-install/main.py", line 216, in action_install_into_free
self.osins.load_package()
File "/Users/guillaumedidier/src/asahi-install/osinstall.py", line 48, in load_package
self.pkg = zipfile.ZipFile(open(package, "rb"))
FileNotFoundError: [Errno 2] No such file or directory: './os/asahi-plasma-20220321-1.zip'
03-26 00:17 root INFO MSG: If you need to file a bug report, please attach the log file:
03-26 00:17 root INFO MSG: /Users/guillaumedidier/src/asahi-install/installer.log
Still offered for m1n1 and UEFI installtion types but step2 is expected to fail.
My install process is failing, probably because of local Time Machine snapshots. It would be awesome if the installer looked up and preemptively displayed the “APFS-system-imposed minimal container size.” Additionally, it would be nice to have an early exit with a clear error message if it isn’t possible to create a sufficiently-sized volume on the remaining available disk space.
Partitions in system disk (disk0):
1: APFS [Macintosh HD] (994.66 GB, 6 volumes)
OS: [B*] [Macintosh HD] macOS v12.3 [disk3s1, 0F0DA22A-19C6-4FC9-887E-9942D12D0932]
2: APFS (System Recovery) (5.37 GB, 2 volumes)
OS: [ ] recoveryOS v12.3 [Primary recoveryOS]
[B ] = Booted OS, [R ] = Booted recovery, [? ] = Unknown
[ *] = Default boot volume
Using OS 'Macintosh HD' (disk3s1) 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):
We're going to resize this partition:
APFS [Macintosh HD] (994.66 GB, 6 volumes)
Total size: 994.66 GB
Free space: 55.21 GB
Minimum free space: 38.00 GB
Minimum total size: 977.45 GB (98.27%)
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 (min): 978GB
Resizing will free up 16.66 GB of space.
» Continue? (y/N): y
Started APFS operation
Aligning shrink delta to 16,663,089,152 bytes and targeting a new physical store size of 977,999,495,168 bytes
Determined the minimum size for the targeted physical store of this APFS Container to be 994,662,584,320 bytes
Error: -69521: Your APFS Container resize request is below the APFS-system-imposed minimal container size (perhaps caused by APFS Snapshot usage by Time Machine)
Failed to run process: diskutil apfs resizeContainer disk0s2 977999495168
root : ERROR Process execution failed
Traceback (most recent call last):
File "/private/tmp/asahi-install/main.py", line 803, in <module>
InstallerMain().main()
File "/private/tmp/asahi-install/main.py", line 655, in main
while self.main_loop():
File "/private/tmp/asahi-install/main.py", line 775, in main_loop
return self.action_resize(parts_resizable)
File "/private/tmp/asahi-install/main.py", line 595, in action_resize
self.dutil.resizeContainer(target.name, val)
File "/private/tmp/asahi-install/diskutil.py", line 191, in resizeContainer
self.action("apfs", "resizeContainer", name, size, verbose=2)
File "/private/tmp/asahi-install/diskutil.py", line 37, in action
subprocess.run(["diskutil"] + list(args), check=True)
File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['diskutil', 'apfs', 'resizeContainer', 'disk0s2', '977999495168']' returned non-zero exit status 1.
Installer fails because I only had Python 3.8.6 installed.
╰─ curl https://alx.sh | sh ─╯
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 999 100 999 0 0 1667 0 --:--:-- --:--:-- --:--:-- 1681
Bootstrapping installer:
Checking version...
Version: v0.3.24
Downloading...
Extracting...
Initializing...
The installer needs to run as root.
Please enter your sudo password if prompted.
Password:
You're running the installer in Intel mode under Rosetta!
Don't worry, we can fix that for you. Switching to ARM64 mode...
dyld[6743]: Library not loaded: /Library/Frameworks/Python.framework/Versions/3.9/Python
Referenced from: /private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/bin/python3.9
Reason: tried: '/Library/Frameworks/Python.framework/Versions/3.9/Python' (no such file), '/System/Library/Frameworks/Python.framework/Versions/3.9/Python' (no such file)
[1] 6728 done curl https://alx.sh |
6729 abort sh
Installing the latest version of python3.9 from python.org using the universal installer seems to have resolved the issue.
Macbook Air doesn't have a Ethernet Port, so would be useful, unable to connect to wifi.
Failed to run process: diskutil apfs resizeContainer disk0s2 549999083520
root : ERROR Process execution failed
Traceback (most recent call last):
File "/private/tmp/asahi-install/main.py", line 820, in
InstallerMain().main()
File "/private/tmp/asahi-install/main.py", line 672, in main
while self.main_loop():
File "/private/tmp/asahi-install/main.py", line 792, in main_loop
return self.action_resize(parts_resizable)
File "/private/tmp/asahi-install/main.py", line 612, in action_resize
self.dutil.resizeContainer(target.name, val)
File "/private/tmp/asahi-install/diskutil.py", line 208, in resizeContainer
self.action("apfs", "resizeContainer", name, size, verbose=2)
File "/private/tmp/asahi-install/diskutil.py", line 38, in action
subprocess.run(["diskutil"] + list(args), check=True)
File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['diskutil', 'apfs', 'resizeContainer', 'disk0s2', '549999083520']' returned non-zero exit status 1.
If you need to file a bug report, please attach the log file:
/private/tmp/asahi-install/installer.log
Also, I currently have 696.34GB out of 994.66 on my M1 Pro Macbook Pro. I only want to have about 200GB to use for linux. What should I put for size partition in the option?
Installer fails with the following error:
Shrinking APFS data structures
APFS Container Resize error code is 49187
Error: -69606: A problem occurred while resizing APFS Container structures
Failed to run process: diskutil apfs resizeContainer disk0s2 213021360128
root : ERROR Process execution failed
Traceback (most recent call last):
File "/private/tmp/asahi-install/main.py", line 807, in
InstallerMain().main()
File "/private/tmp/asahi-install/main.py", line 659, in main
while self.main_loop():
File "/private/tmp/asahi-install/main.py", line 779, in main_loop
return self.action_resize(parts_resizable)
File "/private/tmp/asahi-install/main.py", line 599, in action_resize
self.dutil.resizeContainer(target.name, val)
File "/private/tmp/asahi-install/diskutil.py", line 191, in resizeContainer
self.action("apfs", "resizeContainer", name, size, verbose=2)
File "/private/tmp/asahi-install/diskutil.py", line 37, in action
subprocess.run(["diskutil"] + list(args), check=True)
File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['diskutil', 'apfs', 'resizeContainer', 'disk0s2', '213021360128']' returned non-zero exit status 1.
Log is attached below.
I chose to install minimal initially, only to realise there won't be network setup, easily.
As I tried to install asahilinux again, it doesn't support replace a current installation at the moment.
Bootstrap installer Version: v0.3.10
It would be very helpful if this can be realised.
Thank you
The caffeinate
command can be used to stop macOS sleeping while a command is running. This could be useful for the partitioning / download steps.
The installer gets stuck at "Failed to run bless. Press enter to try again."
Full installer output:
Welcome to the Asahi Linux installer!
This installer is in an alpha state, and may not work for everyone.
It is intended for developers and early adopters who are comfortable
debugging issues or providing detailed bug reports.
Please make sure you are familiar with our documentation at:
https://alx.sh/w
Press enter to continue.
By default, this installer will hide certain advanced options that
are only useful for developers. You can enable expert mode to show them.
» Enable expert mode? (y/N): N
Collecting system information...
Product name: MacBook Air (M1, 2020)
SoC: Apple M1
Device class: j313ap
Product type: MacBookAir10,1
Board ID: 0x26
Chip ID: 0x8103
System firmware: iBoot-7459.101.2
Boot UUID: D64EAFCE-2E16-491A-A5E1-4771AB6732F0
Boot VGID: D64EAFCE-2E16-491A-A5E1-4771AB6732F0
Default boot VGID: D64EAFCE-2E16-491A-A5E1-4771AB6732F0
Boot mode: macOS
OS version: 12.3 (21E230)
System rOS version: 12.3 (21E230)
No Fallback rOS
Login user: rhx
Collecting partition information...
System disk: disk0
Collecting OS information...
Partitions in system disk (disk0):
1: APFS [Macintosh HD] (230.00 GB, 6 volumes)
OS: [B*] [Macintosh HD] macOS v12.3 [disk3s1, D64EAFCE-2E16-491A-A5E1-4771AB6732F0]
2: (free space: 15.11 GB)
3: APFS (System Recovery) (5.37 GB, 2 volumes)
OS: [ ] recoveryOS v12.3 [Primary recoveryOS]
[B ] = Booted OS, [R ] = Booted recovery, [? ] = Unknown
[ *] = Default boot volume
Using OS 'Macintosh HD' (disk3s1) 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: Asahi Linux Desktop
2: Asahi Linux Minimal (Arch Linux ARM)
3: UEFI environment only (m1n1 + U-Boot + ESP)
» OS: 1
Loading OS package info...
Minimum required space for this OS: 15.00 GB
Available free space: 15.11 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):
The new OS will be allocated 15.11 GB of space,
leaving 458.75 KB of free space.
Enter a name for your OS
» OS name (Asahi Linux):
Using macOS 12.3 for OS firmware
Downloading macOS OS package info...
-
Creating new stub macOS named Asahi Linux
Installing stub macOS into disk0s5 (Asahi Linux)
Preparing target volumes...
Checking volumes...
Beginning stub OS install...
|
Setting up System volume...
Setting up Data volume...
Setting up Preboot volume...
/ 100.00%
Setting up Recovery volume...
\ 100.00%
Wrapping up...
Stub OS installation complete.
Adding partition EFI (500.17 MB)...
Formatting as FAT...
Adding partition Root (12.11 GB)...
Collecting firmware...
Installing OS...
Copying from esp into disk0s4 partition...
100.00% Copying firmware into disk0s4 partition...
Extracting root.img into disk0s7 partition...
100.00% Preparing to finish installation...
Collecting installer data...
To continue the installation, you will need to enter your macOS
admin credentials.
Password for rhx:
Setting the new OS as the default boot volume...
Bootability failed Error Domain=BYErrorDomain Code=302 "The signing server encountered an error during personalization" UserInfo={BYErrorHint=TatsuFailedOther, NSLocalizedDescription=The signing server encountered an error during personalization, NSUnderlyingError=0x600001520060 {Error Domain=AuthInstallErrorDomain Code=3501 "(null)"}}
Failed to run bless. Press enter to try again.
xiaotaiyang@bogon asahi-installer % curl https://alx.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1049 100 1049 0 0 835 0 0:00:01 0:00:01 --:--:-- 841
Bootstrapping installer:
Checking version...
Version: v0.3.26
Downloading...
xiaotaiyang@bogon asahi-installer %
Hardware:
MacBook Pro (13-inch, M1, 2020)
16GB Memory
1TB SSD
Issue:
Preboot folder path "/Volumes/Preboot/2619E52E-F53F-4CB9-8116-25F15BDCA26B/System/Library/CoreServices" doesn't exist.
Couldn't set bless data in preboot volume for device /dev/disk4s2
Failed to run bless. Press enter to try again.
Everything was going smoothly till this step. Poked around said folder and found that System/Library/CoreServices were all missing within the folder, everything else seems to have installed smoothly.
I installed Asahi on my machine just to test a few things and go back to MacOS. I gave it 70Gb to test games and such. Now I can't give the space back to my main drive. Adding an option in the installer to uninstall it would be helpful for people who need that in the future. But for me, I've messed with my partitions and such so much that whatever's added probably wouldn't help me at the moment. Here's a link to my stackoverflow question if you can help (please do as I need more space on my main drive now as I only have a base model.) @marcan
Using the installer, Version: v0.3.26 this happens:
Adding partition Root (341.66 GB)...
Collecting firmware...
tar: Failed to set default locale
Installing OS...
German macOS installation / locale.
I guess the installer could run:
$ export LANG=en_US.UTF-8
$ export LC_ALL=$LANG
to fix this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.