3 votos

La partición de la unidad SSD se muestra como FFFF en mi MacBook Pro 2010

Hace unos tres años sustituí el disco duro original de mi MacBook Pro de 2010 por una unidad SSD para que el sistema funcionara más rápido. Funcionó bien hasta ahora.

Lamentablemente me encuentro en esta situación ya que mi sistema seguía arrancando y cuando se encendía finalmente siempre empezaba con una ventana emergente que decía que había que enviar un informe a Apple. Sucedió varias veces y finalmente dejó de arrancar por completo.

Saqué el disco duro SSD y empecé a investigar y a buscar respuestas en foros online. Lamentablemente, en mi caso la unidad de partición es/era mi unidad principal de MacOS y tiene muchas fotos y datos de la familia. Por desgracia, no tengo ninguna copia de seguridad de todas las fotos y datos de la familia desde que lo sustituí por el disco original.

Mi unidad de partición principal SSD se muestra como 'FFFFFFFF-FFFF-FFFF-FFFFFF'. He puesto el viejo disco duro original de nuevo y arrancó mi macbook de ella y conectado SSD a través de USB y la partición principal ahora se muestra como 'FFFFFFFF-FFFF-FFFFFF-FFFFFF'.

Como he estado buscando una solución sobre cómo arreglar y venir a través de un número de puestos y he leído los puestos de solución de Klanomath resolver este problema.

Cuando se aconseja ejecutar el comando add gpt suele haber una cadena larga después en sus soluciones, por ejemplo

sudo gpt add -i 2 -b 409640 -s 820115416 -t 7C3457EF-0000-11AA-AA11-0033…

¿Cómo se determina eso?

He publicado algunas fotos a continuación. Puede aconsejarme la cadena de comandos exacta que debo ejecutar?

screenshot Terminal screenshot Desktop

EDICIÓN 1 Por favor, vea lo que se sugiere a continuación

daniel-baswals-MacBook-Pro:~ danielbaswal$ sudo dd if=/dev/disk2s2 count=3 2>/dev/null | hexdump -Cv
Password:
daniel-baswals-MacBook-Pro:~ danielbaswal$ 
daniel-baswals-MacBook-Pro:~ danielbaswal$ diskutil list
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *250.1 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS Macintosh HD            224.5 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
   4:       Microsoft Basic Data BOOTCAMP                24.7 GB    disk0s4
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *480.1 GB   disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2: FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF               400.1 GB   disk1s2
   3:       Microsoft Basic Data BOOTCP                  79.8 GB    disk1s3
daniel-baswals-MacBook-Pro:~ danielbaswal$ sudo dd if=/dev/disk2s2 count=3 2>/dev/null | hexdump -Cv

daniel-baswals-MacBook-Pro:~ danielbaswal$ sudo dd if=/dev/disk1s2 count=3 2>/dev/null | hexdump -Cv
00000000  dd c8 ca e0 a8 4b c9 69  01 00 00 00 00 00 00 00  |.....K.i........|
00000010  15 9a 0b 00 00 00 00 00  01 00 00 80 00 00 00 00  |................|
00000020  4e 58 53 42 00 10 00 00  fb 9d d2 05 00 00 00 00  |NXSB............|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  02 00 00 00 00 00 00 00  f0 21 62 59 6d 20 4a ab  |.........!bYm J.|
00000050  b6 20 b8 c0 67 77 01 1a  38 5d 13 00 00 00 00 00  |. ..gw..8]......|
00000060  16 9a 0b 00 00 00 00 00  18 01 00 00 2c 6c 00 00  |............,l..|
00000070  44 d4 05 00 00 00 00 00  de 44 05 00 00 00 00 00  |D........D......|
00000080  5b 00 00 00 8a 64 00 00  00 00 00 00 00 00 00 00  |[....d..........|
00000090  00 00 00 00 00 00 00 00  e8 65 01 00 00 00 00 00  |.........e......|
000000a0  ed d3 0b 00 00 00 00 00  01 04 00 00 00 00 00 00  |................|
000000b0  00 00 00 00 64 00 00 00  03 04 00 00 00 00 00 00  |....d...........|
000000c0  df 65 01 00 00 00 00 00  e1 65 01 00 00 00 00 00  |.e.......e......|
000000d0  a9 08 02 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000100  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000110  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000120  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000130  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000140  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000160  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000170  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000190  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000200  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000210  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000220  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000230  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000240  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000250  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000260  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000270  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000280  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000290  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000002a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000002b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000002c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000002d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000002e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000002f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000300  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000310  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000320  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000330  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000340  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000350  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000360  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000370  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000380  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000390  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000003a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000003b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000003c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000003d0  00 00 00 00 00 00 00 00  b2 ef 58 04 00 00 00 00  |..........X.....|
000003e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000003f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000400  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000410  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000420  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000430  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000440  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000450  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000460  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000470  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000480  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000490  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000004a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000004b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000004c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000004d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000004e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000004f0  00 00 00 00 00 00 00 00  33 5d 22 05 00 00 00 00  |........3]".....|
00000500  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000510  6d 2a 18 04 00 00 00 00  01 00 00 00 00 00 00 00  |m*..............|
00000520  01 00 04 00 08 00 00 00  00 00 00 00 00 00 00 00  |................|
00000530  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000540  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000550  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000560  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000570  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000580  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000590  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000005a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000005b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000005c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000005d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000005e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000005f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000600
daniel-baswals-MacBook-Pro:~ danielbaswal$

EDITAR 2 -

Muchas gracias David. Como se sugiere he ejecutado los comandos en gdisk y el resultado es el siguiente -

sudo gdisk /dev/disk1
Password:
GPT fdisk (gdisk) version 1.0.4

Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Partition table scan:
  MBR: hybrid
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with hybrid MBR; using GPT.

Command (? for help): t
Partition number (1-3): 2
Current type is 'Unknown'
Hex code or GUID (L to show codes, Enter = AF00): AF0A
Changed type of partition to 'Apple APFS'

Command (? for help): w

Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/disk1.
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Warning: The kernel may continue to use old or deleted partitions.
You should reboot or remove the drive.
The operation has completed successfully.

diskutil list
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *250.1 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS Macintosh HD            224.5 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
   4:       Microsoft Basic Data BOOTCAMP                24.7 GB    disk0s4
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *480.1 GB   disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2: 7C3457EF-0000-11AA-AA11-00306543ECAC               400.1 GB   disk1s2
   3:       Microsoft Basic Data BOOTCP                  79.8 GB    disk1s3

así que la partición ya no aparece como ffffff-ffff-ffff pero todavía no puedo ver el contenido ya que creo que necesito Sierra o una versión superior. Ahora voy a reemplazar la unidad original con este SSD y espero que va a arrancar. dedos cruzados. Voy a informar de nuevo. captura de pantalla a continuación desde Disk Utililty

enter image description here EDITAR 3

Por desgracia, el SSD no arrancó. Intenté instalar High Sierra en el disco viejo que tiene Yosemite pero tampoco funcionó. Por lo tanto, he pedido un nuevo SSD que usaré primero para instalar High Sierra y así poder acceder a los archivos del viejo SSD. Después de eso tengo la intención de utilizarlo como una copia de seguridad de Time Machine para el futuro. Informaré de los progresos realizados.

1 votos

Antes de publicar una posible respuesta, probablemente deberías editar tu respuesta y añadir la salida del comando sudo dd if=/dev/disk2s2 count=3 2>/dev/null | hexdump -Cv .

0 votos

0 votos

Muchas gracias por su respuesta. Ya he añadido la salida.

4voto

David Anderson Puntos 2189

Si eres capaz de reparar tu disco, entonces necesitarás estar ejecutando al menos Sierra para poder montar la partición de MacOS en el SSD vía USB.

A continuación se presentan dos posibles soluciones.

Utilizar una herramienta de terceros

Como ya tienes el SSD conectado como disk2 en un puerto USB, una solución sencilla sería descargar y utilizar gdisk .

El actual gdisk instalador se llama gdisk-1.0.4.pkg . Asumo que esto se descargará en su Downloads carpeta. Antes de abrir este archivo para instalar gdisk , tú puede necesita eliminar la cuarentena ejecutando el comando que se indica a continuación.

xattr -d com.apple.quarantine ~/Downloads/gdisk-1.0.4.pkg

Una vez gdisk está instalado, deberá introducir el siguiente comando.

gdisk /dev/disk2

El gdisk es interactivo. Lo que hay que introducir en gdisk se indica a continuación. Esta entrada sólo es válida si se utiliza la versión 1.0.4 o una versión más reciente de gdisk .

t
2
AF0A
w
y

A continuación se muestra un ejemplo de lo que debería ver.

GPT fdisk (gdisk) version 1.0.4

Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Partition table scan:
  MBR: hybrid
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with hybrid MBR; using GPT.

Command (? for help): t
Partition number (1-3): 2
Current type is 'Unknown'
Hex code or GUID (L to show codes, Enter = AF00): AF0A
Changed type of partition to 'Apple APFS'

Command (? for help): w

Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/disk2.
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Warning: The kernel may continue to use old or deleted partitions.
You should reboot or remove the drive.
The operation has completed successfully.

Sin usar ninguna herramienta de terceros

Una respuesta que Klanomath podría haber publicado incluiría la introducción de los comandos indicados a continuación.

diskutil unmountdisk disk2
gpt remove -i 2 /dev/disk2
fdisk -e /dev/disk2
e 2
0
q
y
diskutil unmountdisk disk2
gpt add -i 2 -b 409640 -s 781512664 -t 7C3457EF-0000-11AA-AA11-00306543ECAC /dev/disk2 
fdisk -e /dev/disk2
e 2
FF
n
409640
781512664
q
y

Básicamente se realizan los siguientes pasos.

  1. Eliminar la partición de MacOS de la tabla de particiones GUID (GPT).
  2. Eliminar la partición de MacOS de la tabla de particiones del Master Boot Record (MBR).
  3. Añadir la partición de MacOS de nuevo en la tabla de particiones GUID (GPT) utilizando el tipo de partición correcto.
  4. Añadir la partición de MacOS de nuevo en la tabla de particiones del Master Boot Record (MBR). (Esto es un deshacer el paso 2).

Nota final

Su partición APFS es unos 50 MB más grande que el contenedor APFS. Aunque esto no supondrá un problema, lo menciono para otros lectores que puedan ser más observadores.

0 votos

Muchas gracias, David, por tu respuesta. Sólo quería llamar tu atención sobre el hecho de que la unidad SSD aparece ahora como disk1 a través del puerto USB. ¿Debería sustituir disk2 por disk1 en tus comandos? Además, he descargado gdisk 1.0.4. ¿Cómo puedo saber si se ha instalado correctamente?

0 votos

Por último, mencionaste que debería instalar Sierra en mi disco viejo. ¿Necesito hacer eso incluso si uso gdisk?

1 votos

Identificadores de disco ( disk0 , disk1 , disk1 etc.) pueden cambiar, especialmente en el caso de las unidades extraíbles. Así, si el identificador de disco para el SSD USB es ahora disk1 tendrá que hacer la sustitución adecuada al introducir los comandos. Si gdisk está instalado, el comando which gdisk debe devolver /usr/local/bin/gdisk . Desde el gdisk-1.0.4.pkg El instalador guarda todos los gdisk archivos en las carpetas correctas, no puedo decir que gdisk realmente se instala correctamente. Sin embargo, el gdisk se instala correctamente. Actualizo mi respuesta con respecto a la instalación gdisk .

AppleAyuda.com

AppleAyuda es una comunidad de usuarios de los productos de Apple en la que puedes resolver tus problemas y dudas.
Puedes consultar las preguntas de otros usuarios, hacer tus propias preguntas o resolver las de los demás.

Powered by:

X