macos扩展磁盘操作
1、终端输入diskutil list$ diskutil list
/dev/disk0 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *118.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Mac 42.1 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *42.9 GB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_HFS X5 42.6 GB disk1s2
2、最后一列的就是磁盘id,选择自己需要扩展的磁盘id,我这边有两块物理磁盘
3、执行diskutil resizeVolume disk0s2 117.1GB
我这边是对磁盘0,的Mac分区扩容
页:
[1]