Estoy tratando de hacer un script de partición de Macintosh HD
. Estoy corriendo
diskutil partitionDisk /dev/disk0 GPT JHFS+ New 100g
en la línea de comandos y me aparece este error.
Started partitioning on disk0
Unmounting disk
Error: -69877: Couldn't open device
(Is a disk in use by a storage system such as AppleRAID, CoreStorage, or APFS?)
Parece que está teniendo problemas para desmontar Macintosh HD
porque eso es en lo que se está ejecutando mi computadora portátil. ¿Cómo particiono Macintosh HD
mientras arranco?
lista de diskutil
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage Macintosh HD 499.4 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Macintosh HD +499.1 GB disk1
Logical Volume on disk0s2
EFDB0B2F-EEBB-4CAC-8AFE-69F4C1803A54
Unlocked Encrypted
diskutil coreStorage list
CoreStorage logical volume groups (1 found)
|
+-- Logical Volume Group 5E012656-B5D2-43E3-999F-5EF2E2D0C138
=========================================================
Name: Macintosh HD
Status: Online
Size: 499418034176 B (499.4 GB)
Free Space: 10645504 B (10.6 MB)
|
+-< Physical Volume 404807DA-ADE9-4CAE-B449-279488379018
| ----------------------------------------------------
| Index: 0
| Disk: disk0s2
| Status: Online
| Size: 499418034176 B (499.4 GB)
|
+-> Logical Volume Family 78187C7A-2A55-48A1-AEE3-25AD3A9E3538
----------------------------------------------------------
Encryption Type: AES-XTS
Encryption Status: Unlocked
Conversion Status: Complete
High Level Queries: Fully Secure
| Passphrase Required
| Accepts New Users
| Has Visible Users
| Has Volume Key
|
+-> Logical Volume EFDB0B2F-EEBB-4CAC-8AFE-69F4C1803A54
---------------------------------------------------
Disk: disk1
Status: Online
Size (Total): 499055067136 B (499.1 GB)
Revertible: Yes (unlock and decryption required)
Revert Status: Reboot required
LV Name: Macintosh HD
Volume Name: Macintosh HD
Content Hint: Apple_HFS
lista de aplicaciones de diskutil
No APFS Containers found