Configuré el arranque dual en mi Mac (con Ubuntu) y quiero deshacerme de él. La GUI de Disk Util me muestra:
Sinembargo,intentareliminarlasparticionesdisk0s4odisk0s5en:
Couldnotunmountpartitiontobedeleted.
Desdelaterminal,ejecutandolalistadediskutil,obtengo:
/dev/disk0#:TYPENAMESIZEIDENTIFIER0:GUID_partition_scheme*251.0GBdisk01:EFIEFI209.7MBdisk0s12:Apple_CoreStorage149.4GBdisk0s23:Apple_BootRecoveryHD650.0MBdisk0s34:LinuxSwap8.6GBdisk0s45:11111111-1111-1111-1111-11111111111192.1GBdisk0s5/dev/disk1#:TYPENAMESIZEIDENTIFIER0:Apple_HFSMacintoshHD*149.1GBdisk1LogicalVolumeondisk0s222222222-2222-2222-2222-222222222222Unencrypted
Esencialmente,¿cómohagopararecuperarelespaciodeesasdosparticiones(laparticióndeswapymiLinux)sindañarnadarelacionadoconMac?
Yademás,creo,peronoestoysegurodequelaparticiónEFItengaalgoqueverconelcargadordearranquedeLinux,¿lonecesito(yareiniciéeldispositivodearranqueenMac)?
Actualización1,esteeselestadode/dev/disk0despuésdeunintentofallidodeeliminarlaparticióndisk0s4.Laparticióndefinitivamentehadisminuidoentamaño,peroquieroquedesaparezcaporcompleto:
$gpt-rshow/dev/disk0gptshow:/dev/disk0:SuspiciousMBRatsector0sizeindexcontents1MBR1PriGPTheader32PriGPTtable4096001GPTpart-11111111-1111-1111-1111-1111111111112918843602GPTpart-22222222-2222-2222-2222-22222222222212695363GPTpart-33333333-3333-3333-3333-333333333333880167772164MBRpart13017989308732SecGPTtable1SecGPTheader
Actualización2,despuésdelerrordediskutilcsresizeStackxxx0g
diskutilcorestorageresizeStack265D8E12-2452-4D7F-BF56-2075FBA9773A0g265D8E12-2452-4D7F-BF56-2075FBA9773AdoesnotappeartobeavalidCoreStorageLogicalVolumeUUIDordisk
Lasalidadediskutilcslist
:
CoreStoragelogicalvolumegroups(1found)|+--LogicalVolumeGroup265D8E12-2452-4D7F-BF56-2075FBA9773A=========================================================Name:MacintoshHDStatus:OnlineSize:149444792320B(149.4GB)FreeSpace:0B(0B)|+-<PhysicalVolume8E81C240-7CE6-4688-A61C-66CFFBCF37F8|----------------------------------------------------|Index:0|Disk:disk0s2|Status:Online|Size:149444792320B(149.4GB)|+->LogicalVolumeFamily09B78781-FCBC-4FFD-9430-2126A9FF24A1----------------------------------------------------------EncryptionStatus:UnlockedEncryptionType:NoneConversionStatus:NoConversionConversionDirection:-none-HasEncryptedExtents:NoFullySecure:NoPassphraseRequired:No|+->LogicalVolume2AB8ABA4-9A16-48C2-A085-D3FE3251E41F---------------------------------------------------Disk:disk1Status:OnlineSize(Total):149082341376B(149.1GB)ConversionProgress:-none-Revertible:Yes(nodecryptionrequired)LVName:MacintoshHDVolumeName:MacintoshHDContentHint:Apple_HFS
Losiento,publiquéelerrorincorrecto,tambiénrecibo:
diskutilcorestorageresizeStack2AB8ABA4-9A16-48C2-A085-D3FE3251E41F0gTheCoreStorageLogicalVolumeUUIDis2AB8ABA4-9A16-48C2-A085-D3FE3251E41FStartedCoreStorageoperationError:-69722:Youcan'tperformthisresizeunlessithasabooter(targetpartitionisprobablytoosmall)
SegúnlosolicitadoporDavidAnderson,lasalidadesudofdisk/dev/disk0
es:
Disk:/dev/disk0geometry:30515/255/63[490234752sectors]Signature:0xAA55StartingEnding#:idcylhdsec-cylhdsec[start-size]------------------------------------------------------------------------1:EE001-102325463[1-409639]<UnknownID>*2:AF102325463-102325463[409640-291884360]HFS+3:AF102325463-102325463[292294000-1269536]HFS+4:82102325463-102325463[293564416-16777216]Linuxswap
Actualizar,intentaeliminarlaparticiónprofundadelmododerecuperacióndeInternet.
Actualización : los resultados actuales de sudo got -r show /dev/disk0
y sudo fdisk /dev/disk0
:
Peters-MBP:~ peter$ sudo gpt -r show /dev/disk0
Password:
gpt show: /dev/disk0: Suspicious MBR at sector 0
start size index contents
0 1 MBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
409640 291884360 2 GPT part - 53746F72-6167-11AA-AA11-00306543ECAC
292294000 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
293563536 880
293564416 16777216 4 MBR part 130
310341632 179893087
490234719 32 Sec GPT table
490234751 1 Sec GPT header
Peters-MBP:~ peter$ sudo fdisk /dev/disk0
Disk: /dev/disk0 geometry: 30515/255/63 [490234752 sectors]
Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: EE 0 0 1 - 1023 254 63 [ 1 - 409639] <Unknown ID>
*2: AF 1023 254 63 - 1023 254 63 [ 409640 - 291884360] HFS+
3: AF 1023 254 63 - 1023 254 63 [ 292294000 - 1269536] HFS+
4: 82 1023 254 63 - 1023 254 63 [ 293564416 - 16777216] Linux swap