¡macOS no me permite reasignar espacio libre!

Tenía dos particiones en mi mac, ambas tenían macOS instalado como resultado, ambas tenían una partición de recuperación, ahora eliminé una práctica porque se corrompió debido a un script que ejecuté.

Ahora mac tiene solo una partición que es el volumen de inicio.

El problema es que la partición anterior creó un espacio libre al eliminarla y no está asignado a nadie, ahora cuando intento eliminar el espacio libre, ¡la Utilidad de Discos no puede llevar a cabo la operación!

ingrese la descripción de la imagen aquí ingrese la descripción de la imagen aquí

Ambas particiones también crearon una carpeta pública, de la cual no sé mucho porque nunca la creé, ahora el problema es qué debo hacer con esta carpeta pública, si la elimino de las preferencias de mi sistema o si la conservo, yo ¡No sé qué podría pasar/eliminarse si lo elimino de mi iMac!

ingrese la descripción de la imagen aquí

Básicamente, han surgido dos problemas como consecuencia de la corrupción y la ejecución de un script personalizado para modificar su Mac.

Revisé esta publicación https://www.reddit.com/r/osx/comments/305lik/help_removing_the_free_space_partition/ pero no parece estar relacionado con mi problema ya que no tengo ninguno (No hay grupos de volúmenes lógicos CoreStorage encontrado - Salida de terminal para diskutil cs list; diskutil list)

Y cuando trato de cambiar el tamaño del disco a través de la Terminal, aparece este error:

Sayans-iMac:~ sayanhussain$ diskutil resizeVolume disk0s2 R
Resizing to full size (fit to fill)
Started partitioning on disk0s2 macOS
Error: -69742: The requested size change for the target disk or a related disk is too small; please try a different disk or partition, or make a larger change
Sayans-iMac:~ sayanhussain$ 
¿Ha intentado agregar una partición en lugar del espacio libre?
@KevinGrabher ¡Lo intenté pero no funciona!
@KevinGrabher Intenté agregar una partición debido a que la Utilidad de Discos está atascada al copiar el cargador de arranque

Respuestas (1)

Ok, el error ya está resuelto. ¡Lo que hice!

Primero ejecuté diskutil list para ver todas las particiones activas, ahora solo tenía una partición, así que agregué una nueva partición a través de DiskUtility

Luego, una vez más ejecuté diskutil list, ahora pude ver la partición recién agregada

Ahora lo que hice para eliminar el espacio libre es que fusioné ambas particiones

Para fusionar dos particiones, simplemente ejecuté este comando en la terminal

Sayans-iMac:~ sayanhussain$ diskutil mergePartitions
Usage:  diskutil mergePartitions [force] format name
        DiskIdentifier|DeviceNode DiskIdentifier|DeviceNode

Merge two or more pre-existing partitions into one.  The first disk parameter
is the starting partition; the second disk parameter is the ending partition;
this given range of two or more partitions will be merged into one.

All partitions in the range, except for the first one, must be unmountable.

All data on merged partitions other than the first will be lost; data on the
first partition will be lost as well if the "force" argument is given.

If "force" is not given, and the first partition has a resizable file system
(e.g. JHFS+), it will be grown in a data-preserving manner, even if a different
file system is specified (in fact, your file system and volume name parameters
are both ignored in this case). If "force" is not given, and the first
partition is not resizable, you will be prompted if you want to erase.

If "force" is given, the first partition is always formatted. You should
do this if you wish to reformat to a new file system type.

Merged partitions are required to be ordered sequentially on disk.
See diskutil list for the actual on-disk ordering; BSD slice identifiers
may in certain circumstances not always be in numerical order but the
top-to-bottom order given by diskutil list is always the on-disk order.

Ownership of the affected disk is required.

Example: diskutil mergePartitions JHFS+ NewName disk3s4 disk3s7
         This example will merge all partitions *BETWEEN* disk3s4 and disk3s7,
         preserving data on disk3s4 but destroying data on disk3s5, disk3s6,
         disk3s7 and any invisible free space partitions between those disks;
         disk3s4 will be grown to cover the full space if possible.
Sayans-iMac:~ sayanhussain$