Adrianching

Q: Bootcamp missing after expanding partition

MacBook Pro with Retina display, OS X Mavericks (10.9.5)

Posted on Oct 1, 2014 4:56 PM

Close

Q: Bootcamp missing after expanding partition

  • All replies
  • Helpful answers

Previous Page 2 of 4 last Next
  • by Loner T,

    Loner T Loner T Oct 2, 2014 7:40 AM in response to Adrianching
    Level 7 (23,813 points)
    Safari
    Oct 2, 2014 7:40 AM in response to Adrianching

    You will need to use Testdisk and find the correct start/end of the lost NTFS partition.

     

    Does Finder still not show the Bootcamp volume?

  • by Adrianching,

    Adrianching Adrianching Oct 2, 2014 7:55 AM in response to Loner T
    Level 1 (0 points)
    Oct 2, 2014 7:55 AM in response to Loner T

    where can i find the Testdisk and how can i use it?

     

    no... nth appears in the Finder...

  • by Loner T,

    Loner T Loner T Oct 2, 2014 8:01 AM in response to Adrianching
    Level 7 (23,813 points)
    Safari
    Oct 2, 2014 8:01 AM in response to Adrianching
  • by Adrianching,

    Adrianching Adrianching Oct 2, 2014 8:47 AM in response to Loner T
    Level 1 (0 points)
    Oct 2, 2014 8:47 AM in response to Loner T

    what step should i go for? there are so many options in testdisk..

  • by Adrianching,

    Adrianching Adrianching Oct 2, 2014 8:59 AM in response to Adrianching
    Level 1 (0 points)
    Oct 2, 2014 8:59 AM in response to Adrianching

    Create, Append or No log?

     

    thanks...

  • by Loner T,

    Loner T Loner T Oct 2, 2014 9:16 AM in response to Adrianching
    Level 7 (23,813 points)
    Safari
    Oct 2, 2014 9:16 AM in response to Adrianching

    Use Create and choose the EFI partition.

  • by Adrianching,

    Adrianching Adrianching Oct 2, 2014 9:18 AM in response to Loner T
    Level 1 (0 points)
    Oct 2, 2014 9:18 AM in response to Loner T

    i have tried to go through, In Create, then it shows the EPI has been detected.

    here is the info before search

     

    TestDisk 7.0-WIP, Data Recovery Utility, August 2014

    Christophe GRENIER <grenier@cgsecurity.org>

    http://www.cgsecurity.org

     

    Disk /dev/disk0 - 251 GB / 233 GiB - 490234752 sectors (RO)

    Current partition structure:

         Partition                  Start        End    Size in sectors

     

    1 P EFI System                    40     409639     409600 [EFI system partitio

    2 P Mac HFS                   409640  342206495  341796856 [Customer]

    3 P Mac Boot               342206496  343476031    1269536 [Recovery HD]

    Warning: number of heads/cylinder mismatches 255 (NTFS) != 1 (HD)

    Warning: number of sectors per track mismatches 63 (NTFS) != 1 (HD)

    4 P MS Data                382539776  490233855  107694080 [BOOTCAMP]

     

     

     

     

     

     

     

                    P=Primary  D=Deleted

    >[Quick Search]  [ Backup ]

                               Try to locate partition

     

     

    after search:

    TestDisk 7.0-WIP, Data Recovery Utility, August 2014

    Christophe GRENIER <grenier@cgsecurity.org>

    http://www.cgsecurity.org

     

    Disk /dev/disk0 - 251 GB / 233 GiB - 490234752 sectors (RO)

     

    The harddisk (251 GB / 233 GiB) seems too small! (< 306 GB / 285 GiB)

    Check the harddisk size: HD jumpers settings, BIOS detection...

     

    The following partitions can't be recovered:

         Partition               Start        End    Size in sectors

    >  MS Data                490233855  597927934  107694080

       Mac HFS                490234708  491504243    1269536

     

     

     

     

     

     

     

     

     

    [ Continue ]

    NTFS, blocksize=4096, 55 GB / 51 GiB

     

    after continue:

    TestDisk 7.0-WIP, Data Recovery Utility, August 2014

    Christophe GRENIER <grenier@cgsecurity.org>

    http://www.cgsecurity.org

     

    Disk /dev/disk0 - 251 GB / 233 GiB - 490234752 sectors (RO)

         Partition               Start        End    Size in sectors

    >D EFI System                    40     409639     409600 [EFI]

    D Mac HFS                   409640  342206495  341796856

    D MS Data                196718600  343476224  146757625

    D Mac HFS                342206496  343476031    1269536

    D MS Data                343476224  490233848  146757625

    D MS Data                382539776  490233855  107694080

    D Mac HFS                488965176  490234711    1269536

     

     

     

     

     

     

     

     

    Structure: Ok.  Use Up/Down Arrow keys to select partition.

    Use Left/Right Arrow keys to CHANGE partition characteristics:

                    P=Primary  D=Deleted

    Keys A: add partition, L: load backup, T: change type, P: list files,

         Enter: to continue

    FAT32, blocksize=512, 209 MB / 200 MiB

  • by Loner T,

    Loner T Loner T Oct 2, 2014 9:27 AM in response to Adrianching
    Level 7 (23,813 points)
    Safari
    Oct 2, 2014 9:27 AM in response to Adrianching

    Select each MS Data entry and use "P: List files". Do not use left/right arrows at all. Only use up/down arrow keys to navigate partitions and look for files. For each partition that has familiar files, not down start/end/size and continue to the next MS Data partition till you have looked at all MS data entries.

     

    Please see Can't boot from bootcamp after sudden crash for the recovery examples. You also should download GPT Fdisk from SourceForge.

  • by Adrianching,

    Adrianching Adrianching Oct 2, 2014 9:44 AM in response to Loner T
    Level 1 (0 points)
    Oct 2, 2014 9:44 AM in response to Loner T

    there are 3 MS Data:

    TestDisk 7.0-WIP, Data Recovery Utility, August 2014

    Christophe GRENIER <grenier@cgsecurity.org>

    http://www.cgsecurity.org

     

    Disk /dev/disk0 - 251 GB / 233 GiB - 490234752 sectors (RO)

         Partition               Start        End    Size in sectors

    P EFI System                    40     409639     409600 [EFI]

    D Mac HFS                   409640  342206495  341796856

    >D MS Data                196718600  343476224  146757625

    D Mac HFS                342206496  343476031    1269536

    D MS Data                343476224  490233848  146757625

    D MS Data                382539776  490233855  107694080

    D Mac HFS                488965176  490234711    1269536

     

     

     

    Structure: Ok.  Use Up/Down Arrow keys to select partition.

    Use Left/Right Arrow keys to CHANGE partition characteristics:

                    P=Primary  D=Deleted

    Keys A: add partition, L: load backup, T: change type, P: list files,

         Enter: to continue

    NTFS found using backup sector, blocksize=4096, 75 GB / 69 GiB

     

     

    the first one after i "P" it

    TestDisk 7.0-WIP, Data Recovery Utility, August 2014

    Christophe GRENIER <grenier@cgsecurity.org>

    http://www.cgsecurity.org

     

         MS Data                196718600  343476224  146757625

     

     

     

    Can't open filesystem. Filesystem seems damaged.

     

    the second one i "P" it:

    TestDisk 7.0-WIP, Data Recovery Utility, August 2014

    Christophe GRENIER <grenier@cgsecurity.org>

    http://www.cgsecurity.org

         MS Data                343476224  490233848  146757625

    Directory /

     

    >dr-xr-xr-x     0     0         0  1-Oct-2014 22:15 .

    dr-xr-xr-x     0     0         0  1-Oct-2014 22:15 ..

    dr-xr-xr-x     0     0         0 18-Dec-2012 14:00 $Recycle.Bin

    dr-xr-xr-x     0     0         0 11-Mar-2014 15:57 .Trashes

    dr-xr-xr-x     0     0         0  1-Oct-2014 14:37 Autodesk

    dr-xr-xr-x     0     0         0 18-Dec-2012 21:52 Boot

    dr-xr-xr-x     0     0         0  1-Oct-2014 22:03 Config.Msi

    dr-xr-xr-x     0     0         0 18-Dec-2012 14:06 Intel

    dr-xr-xr-x     0     0         0 18-Dec-2012 15:27 NVIDIA

    dr-xr-xr-x     0     0         0 22-Oct-2013 15:13 New folder

    dr-xr-xr-x     0     0         0 14-Jul-2009 04:20 PerfLogs

    dr-xr-xr-x     0     0         0 22-Oct-2013 14:38 Program Files

    dr-xr-xr-x     0     0         0  1-Oct-2014 22:03 Program Files (x86)

    dr-xr-xr-x     0     0         0  1-Oct-2014 22:03 ProgramData

    dr-xr-xr-x     0     0         0 10-Jun-2014 16:01 QvodPlayer

    dr-xr-xr-x     0     0         0 18-Dec-2012 14:00 Recovery

    dr-xr-xr-x     0     0         0  1-Oct-2014 22:03 System Volume Information

    dr-xr-xr-x     0     0         0 23-Dec-2012 05:13 TEMP_PARALLELS_TOOLS

    dr-xr-xr-x     0     0         0 17-Jul-2014 07:52 UpdateChromeLinksLogs

    dr-xr-xr-x     0     0         0 18-Dec-2012 15:28 Users

    dr-xr-xr-x     0     0         0  1-Oct-2014 22:15 Windows

    -r--r--r--     0     0      8192 18-Dec-2012 21:52 BOOTSECT.BAK

    -r--r--r--     0     0         0 29-Apr-2013 07:45 END

    -r--r--r--     0     0    383786 21-Nov-2010 03:23 bootmgr

    -r--r--r--     0     0        90 18-Dec-2012 16:17 desktop.ini

    -r--r--r--     0     0    904704  1-Dec-2006 22:37 msdia80.dll

    -r--r--r--     0     0 2097152000  1-Oct-2014 21:11 pagefile.sys

     

     

                                                       Next

    Use Right to change directory, h to hide Alternate Data Stream

        q to quit, : to select the current file, a to select all files

        C to copy the selected files, c to copy the current file

     

     

    >[  Quit  ]

                                   Quit this section


    and the third one:

    TestDisk 7.0-WIP, Data Recovery Utility, August 2014

    Christophe GRENIER <grenier@cgsecurity.org>

    http://www.cgsecurity.org

     

    Disk /dev/disk0 - 251 GB / 233 GiB - 490234752 sectors (RO)

     

         Partition                  Start        End    Size in sectors

     

    1 P EFI System                    40     409639     409600 [EFI]

     

    [  Quit  ] >[Deeper Search]  [ Write  ]

                              Try to find more partitions

  • by Loner T,

    Loner T Loner T Oct 2, 2014 10:03 AM in response to Adrianching
    Level 7 (23,813 points)
    Safari
    Oct 2, 2014 10:03 AM in response to Adrianching

    Did you look at the other thread/discussion where Testdisk and Gdisk are used with the steps to recreate the GPT and check each entry? If not, please take a look.

     

    This looks like the best candidate

     

    MS Data                196718600  343476224  146757625

  • by Adrianching,

    Adrianching Adrianching Oct 2, 2014 10:09 AM in response to Loner T
    Level 1 (0 points)
    Oct 2, 2014 10:09 AM in response to Loner T

    not really, can i have the link from you?

     

    thanks!!!

  • by Loner T,

    Loner T Loner T Oct 2, 2014 10:24 AM in response to Adrianching
    Level 7 (23,813 points)
    Safari
    Oct 2, 2014 10:24 AM in response to Adrianching
  • by Adrianching,

    Adrianching Adrianching Oct 2, 2014 10:42 AM in response to Loner T
    Level 1 (0 points)
    Oct 2, 2014 10:42 AM in response to Loner T

    Last login: Thu Oct  2 18:37:40 on ttys000

    CCs-MacBook-Pro:~ CheungChing1$ sudo gdisk /dev/disk0

    GPT fdisk (gdisk) version 0.8.10

     

    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): GPT

    b back up GPT data to a file

    c change a partition's name

    d delete a partition

    i show detailed information on a partition

    l list known partition types

    n add a new partition

    o create a new empty GUID partition table (GPT)

    p print the partition table

    q quit without saving changes

    r recovery and transformation options (experts only)

    s sort partitions

    t change a partition's type code

    v verify disk

    w write table to disk and exit

    x extra functionality (experts only)

    ? print this menu

     

    Command (? for help): 4

    b back up GPT data to a file

    c change a partition's name

    d delete a partition

    i show detailed information on a partition

    l list known partition types

    n add a new partition

    o create a new empty GUID partition table (GPT)

    p print the partition table

    q quit without saving changes

    r recovery and transformation options (experts only)

    s sort partitions

    t change a partition's type code

    v verify disk

    w write table to disk and exit

    x extra functionality (experts only)

    ? print this menu

     

    Command (? for help): d

    Partition number (1-4): #4

    Partition number (1-4): 4

     

    Command (? for help): n

    Partition number (4-128, default 4): 4

    First sector (34-490234718, default = 343476032) or {+-}size{KMGTP}: 196718600

    First sector (34-490234718, default = 343476032) or {+-}size{KMGTP}:

     

     

    i dont know wt to do up to this step..

  • by Loner T,

    Loner T Loner T Oct 2, 2014 10:56 AM in response to Adrianching
    Level 7 (23,813 points)
    Safari
    Oct 2, 2014 10:56 AM in response to Adrianching

    After 'd' and '4' do a 'w' for write, and then 'y' to confirm it has been deleted. Use 'p' to print and check that there is no GPT 4.

     

    It still has partition 4 in memory, so you cannot pick an overlapping first sector.

  • by Adrianching,

    Adrianching Adrianching Oct 2, 2014 11:01 AM in response to Loner T
    Level 1 (0 points)
    Oct 2, 2014 11:01 AM in response to Loner T

    Thanks,

     

    then i should type in 196718600  for the first sector and 343476224  for the last?

    am i correct?

     

Previous Page 2 of 4 last Next