Unable to remove Free Space partition in Disk Utility on my MacBook Pro
Problem description:
I deleted the Bootcamp partition for windows10 and now I got a Free Space (100Gb) which can't be removed or allocated to my macOS Partition.
Therefore, I got a problem when install the new one.
What I've tried:
1.Refer to the solution at Can't Remove Free Space partition in Disk… - Apple Community
2.disk util list internal result is as below
3.At step [disktil unmountedDisk diskN] and
[fsck_apfs -s -o -y /dev/rdiskN], I got the below error message.
Could you please check for me that what wrong with the command or my input syntax?
[Re-Titled by Moderator]
MacBook Pro 15″, macOS 12.7