sina370

Q: problem with partition map preven from booting, after bootcamp and change partition table map

Hi,

 

I was trying to install windows using bootcamp on my macbook pro 2011, however I messed up with my partition table map, and now I'm not able to boot my mac os, the disk utility cant repair my disk and i dont have back up. i really need my data. I'm able to boot into GParted and use gdisk, how can i fix back the partition table map so that i can boot back to my Mac OSx.

 

thanks

MacBook Pro, OS X El Capitan (10.11.6)

Posted on Aug 15, 2016 7:13 AM

Close

Q: problem with partition map preven from booting, after bootcamp and change partition table map

  • All replies
  • Helpful answers

Previous Page 2
  • by sina370,

    sina370 sina370 Aug 16, 2016 7:50 AM in response to Loner T
    Level 1 (13 points)
    Windows Software
    Aug 16, 2016 7:50 AM in response to Loner T

    here is the output

     

    Last login: Wed Aug 17 00:42:56 on console

    sinas-MacBook-Pro:~ sina370$

    sinas-MacBook-Pro:~ sina370$ diskutil list

    /dev/disk0 (internal, physical):

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *500.1 GB   disk0

       1:                        EFI EFI                     209.7 MB   disk0s1

       2:          Apple_CoreStorage MacintoshHD             372.0 GB   disk0s2

       3:                 Apple_Boot Boot OS X               650.0 MB   disk0s3

       4:                  Apple_HFS Untitled                127.1 GB   disk0s4

    /dev/disk1 (external, physical):

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *500.1 GB   disk1

       1:                        EFI EFI                     209.7 MB   disk1s1

       2:                  Apple_HFS Segate Slim Drive       499.2 GB   disk1s2

       3:                 Apple_Boot Recovery HD             650.0 MB   disk1s3

    /dev/disk2 (internal, virtual):

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                  Apple_HFS MacintoshHD            +371.7 GB   disk2

                                     Logical Volume on disk0s2

                                     A72E4C13-3B21-4915-AAB8-E85E6A0E6A55

                                     Unencrypted

    sinas-MacBook-Pro:~ sina370$ diskutil cs list

    CoreStorage logical volume groups (1 found)

    |

    +-- Logical Volume Group 5E26CF94-90A6-4DBB-BB10-0F5ECBBF98F0

        =========================================================

        Name:         MacintoshHD

        Status:       Online

        Size:         372023808000 B (372.0 GB)

        Free Space:   18972672 B (19.0 MB)

        |

        +-< Physical Volume 1C88D194-845F-48D9-9927-595C984C618B

        |   ----------------------------------------------------

        |   Index:    0

        |   Disk:     disk0s2

        |   Status:   Online

        |   Size:     372023808000 B (372.0 GB)

        |

        +-> Logical Volume Family 8F69FE2D-A734-4439-89D1-B7ECE9E5FBFE

            ----------------------------------------------------------

            Encryption Type:         AES-XTS

            Encryption Status:       Unlocked

            Conversion Status:       Converting (backward)

            Reversion State:         Reverting

            High Level Queries:      Not Fully Secure

            |                        Has Visible Users

            |                        Has Volume Key

            |

            +-> Logical Volume A72E4C13-3B21-4915-AAB8-E85E6A0E6A55

                ---------------------------------------------------

                Disk:                  disk2

                Status:                Online

                Size (Total):          371652513792 B (371.7 GB)

                Conversion Progress:   9%

                Revertible:            Yes (unlock and decryption required)

                LV Name:               MacintoshHD

                Volume Name:           MacintoshHD

                Content Hint:          Apple_HFS

    sinas-MacBook-Pro:~ sina370$ sudo gpt -vv -r show /dev/disk0

    Password:

    gpt show: /dev/disk0: mediasize=500107862016; sectorsize=512; blocks=976773168

    gpt show: /dev/disk0: PMBR at sector 0

    gpt show: /dev/disk0: Pri GPT at sector 1

    gpt show: /dev/disk0: Sec GPT at sector 976773167

          start       size  index  contents

              0          1         PMBR

              1          1         Pri GPT header

              2         32         Pri GPT table

             34          6        

             40     409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

         409640  726609000      2  GPT part - 53746F72-6167-11AA-AA11-00306543ECAC

      727018640    1269536      3  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

      728288176  248222808      4  GPT part - 48465300-0000-11AA-AA11-00306543ECAC

      976510984     262151        

      976773135         32         Sec GPT table

      976773167          1         Sec GPT header

    sinas-MacBook-Pro:~ sina370$

  • by sina370,

    sina370 sina370 Aug 16, 2016 8:01 AM in response to Loner T
    Level 1 (13 points)
    Windows Software
    Aug 16, 2016 8:01 AM in response to Loner T

    Last login: Wed Aug 17 00:42:56 on console

    sinas-MacBook-Pro:~ sina370$

    sinas-MacBook-Pro:~ sina370$ diskutil list

    /dev/disk0 (internal, physical):

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *500.1 GB   disk0

       1:                        EFI EFI                     209.7 MB   disk0s1

       2:          Apple_CoreStorage MacintoshHD             372.0 GB   disk0s2

       3:                 Apple_Boot Boot OS X               650.0 MB   disk0s3

       4:                  Apple_HFS Untitled                127.1 GB   disk0s4

    /dev/disk1 (external, physical):

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *500.1 GB   disk1

       1:                        EFI EFI                     209.7 MB   disk1s1

       2:                  Apple_HFS Segate Slim Drive       499.2 GB   disk1s2

       3:                 Apple_Boot Recovery HD             650.0 MB   disk1s3

    /dev/disk2 (internal, virtual):

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                  Apple_HFS MacintoshHD            +371.7 GB   disk2

                                     Logical Volume on disk0s2

                                     A72E4C13-3B21-4915-AAB8-E85E6A0E6A55

                                     Unencrypted

    sinas-MacBook-Pro:~ sina370$ diskutil cs list

    CoreStorage logical volume groups (1 found)

    |

    +-- Logical Volume Group 5E26CF94-90A6-4DBB-BB10-0F5ECBBF98F0

        =========================================================

        Name:         MacintoshHD

        Status:       Online

        Size:         372023808000 B (372.0 GB)

        Free Space:   18972672 B (19.0 MB)

        |

        +-< Physical Volume 1C88D194-845F-48D9-9927-595C984C618B

        |   ----------------------------------------------------

        |   Index:    0

        |   Disk:     disk0s2

        |   Status:   Online

        |   Size:     372023808000 B (372.0 GB)

        |

        +-> Logical Volume Family 8F69FE2D-A734-4439-89D1-B7ECE9E5FBFE

            ----------------------------------------------------------

            Encryption Type:         AES-XTS

            Encryption Status:       Unlocked

            Conversion Status:       Converting (backward)

            Reversion State:         Reverting

            High Level Queries:      Not Fully Secure

            |                        Has Visible Users

            |                        Has Volume Key

            |

            +-> Logical Volume A72E4C13-3B21-4915-AAB8-E85E6A0E6A55

                ---------------------------------------------------

                Disk:                  disk2

                Status:                Online

                Size (Total):          371652513792 B (371.7 GB)

                Conversion Progress:   9%

                Revertible:            Yes (unlock and decryption required)

                LV Name:               MacintoshHD

                Volume Name:           MacintoshHD

                Content Hint:          Apple_HFS

    sinas-MacBook-Pro:~ sina370$ sudo gpt -vv -r show /dev/disk0

    Password:

    gpt show: /dev/disk0: mediasize=500107862016; sectorsize=512; blocks=976773168

    gpt show: /dev/disk0: PMBR at sector 0

    gpt show: /dev/disk0: Pri GPT at sector 1

    gpt show: /dev/disk0: Sec GPT at sector 976773167

          start       size  index  contents

              0          1         PMBR

              1          1         Pri GPT header

              2         32         Pri GPT table

             34          6        

             40     409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

         409640  726609000      2  GPT part - 53746F72-6167-11AA-AA11-00306543ECAC

      727018640    1269536      3  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

      728288176  248222808      4  GPT part - 48465300-0000-11AA-AA11-00306543ECAC

      976510984     262151        

      976773135         32         Sec GPT table

      976773167          1         Sec GPT header

    sinas-MacBook-Pro:~ sina370$

  • by sina370,

    sina370 sina370 Aug 17, 2016 2:27 AM in response to Loner T
    Level 1 (13 points)
    Windows Software
    Aug 17, 2016 2:27 AM in response to Loner T

    I don't know what happen, but now I am able to boot up into my internal hard drive, and my mac os loads up, but when I did the repairDisk, still giving me same error. When I execute disk list, the is no disk0s4

     

    Sinas-MacBook-Pro:~ sina$ sudo diskutil repairDisk /dev/disk0

    Repairing the partition map might erase disk0s1, proceed? (y/N) y

    Started partition map repair on disk0

    Checking prerequisites

    Checking the partition list

    Adjusting partition map to fit whole disk as required

    Checking for an EFI system partition

    Checking the EFI system partition's size

    Checking the EFI system partition's file system

    Checking the EFI system partition's folder content

    Checking all HFS data partition loader spaces

    Checking booter partitions

    Checking booter partition disk0s5

    Updating boot support partitions for the volume as required

    Reviewing boot support loaders

    Checking Core Storage Physical Volume partitions

    Updating Windows boot.ini files as required

    Problems were encountered during repair of the partition map

    Error: -69846: Unrecognized file system

     

    Sinas-MacBook-Pro:~ sina$ sudo diskutil list

    Password:

    /dev/disk0 (internal, physical):

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *500.1 GB   disk0

       1:                        EFI EFI                     209.7 MB   disk0s1

       2:                  Apple_HFS MacintoshHD             499.2 GB   disk0s2

       3:                 Apple_Boot                         650.0 MB   disk0s5

    /dev/disk1 (external, physical):

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *500.1 GB   disk1

       1:                        EFI EFI                     209.7 MB   disk1s1

       2:                  Apple_HFS Segate Slim Drive       499.2 GB   disk1s2

       3:                 Apple_Boot Recovery HD             650.0 MB   disk1s3

     

    Sinas-MacBook-Pro:~ sina$ sudo diskutil cs list

    No CoreStorage logical volume groups found

     

    Sinas-MacBook-Pro:~ sina$ sudo gpt -vv -r show /dev/disk0

    gpt show: /dev/disk0: mediasize=500107862016; sectorsize=512; blocks=976773168

    gpt show: /dev/disk0: PMBR at sector 0

    gpt show: /dev/disk0: Pri GPT at sector 1

    gpt show: /dev/disk0: Sec GPT at sector 976773167

          start       size  index  contents

              0          1         PMBR

              1          1         Pri GPT header

              2         32         Pri GPT table

             34          6        

             40     409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

         409640  975093952      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC

      975503592    1269536      3  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

      976773128          7        

      976773135         32         Sec GPT table

      976773167          1         Sec GPT header

  • by Loner T,

    Loner T Loner T Aug 17, 2016 2:12 PM in response to sina370
    Level 7 (24,002 points)
    Safari
    Aug 17, 2016 2:12 PM in response to sina370

    Your FV2 decryption was incomplete, when you tried earlier.

     

    Conversion Progress:   9%

     

    Before:

    2:          Apple_CoreStorage MacintoshHD             372.0 GB   disk0s2

    After:

    2:                  Apple_HFS MacintoshHD             499.2 GB   disk0s2
  • by sina370,

    sina370 sina370 Aug 18, 2016 7:47 PM in response to Loner T
    Level 1 (13 points)
    Windows Software
    Aug 18, 2016 7:47 PM in response to Loner T

    actually, I delete the other partition in Disk Utility, there were two 372 Gb partitions and one 128 Gb, the total size of the partition was even larger than my hard drive, it seems that  something was wrong with the partition sizes. anway thanks dude, you saved my life.

Previous Page 2