Hi there,
I installed Asahi Linux on my MBA M2. No problems at installation or using both systems.
At uninstalling I made a mistake and recovered macOS to reset both systems via system settings in macOS ("erase all content and settings"). It worked. But now, the macOS disk is just 50% (like I set it at the linux install).
Disk Utility is not capable to see the free space or the missing linux partition (IIRC it was BTFS).
DF in Terminal cannot see the missing partition/space.
Diskutil in Terminal on the other hand shows this: (free space in bold)
Now I wanted to resize the volume or the container with the free space:
Terminal Output is this:
I tried several volumes, containers and partitions. But I fail.
Can someone help me to reallocate the free space to my macOS?
I installed Asahi Linux on my MBA M2. No problems at installation or using both systems.
At uninstalling I made a mistake and recovered macOS to reset both systems via system settings in macOS ("erase all content and settings"). It worked. But now, the macOS disk is just 50% (like I set it at the linux install).
Disk Utility is not capable to see the free space or the missing linux partition (IIRC it was BTFS).
DF in Terminal cannot see the missing partition/space.
Diskutil in Terminal on the other hand shows this: (free space in bold)
$diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: Apple_APFS_ISC Container disk1 524.3 MB disk0s1
2: Apple_APFS Container disk3 125.1 GB disk0s2
3: EFI EFI - FED-M 524.3 MB disk0s3
(free space) 119.5 GB -
4: Apple_APFS_Recovery Container disk2 5.4 GB disk0s4
/dev/disk3 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +125.1 GB disk3
Physical Store disk0s2
1: APFS Volume Macintosh HD 10.1 GB disk3s1
2: APFS Snapshot com.apple.os.update-... 10.1 GB disk3s1s1
3: APFS Volume Preboot 5.9 GB disk3s2
4: APFS Volume Recovery 923.2 MB disk3s3
5: APFS Volume Macintosh HD - Data 3.8 GB disk3s5
6: APFS Volume VM 20.5 KB disk3s6
7: APFS Volume asdf 827.4 KB disk3s7
Now I wanted to resize the volume or the container with the free space:
Code:
$ diskutil apfs resizeContainer disk0s2 0
Terminal Output is this:
Started APFS operation
Error: -69519: The target disk is too small for this operation, or a gap is required in your partition map which is missing or too small, which is often caused by an attempt to grow a partition beyond the beginning of another partition or beyond the end of partition map usable space
I tried several volumes, containers and partitions. But I fail.
Can someone help me to reallocate the free space to my macOS?