bdaniels72

Q: Mac partition corrupt reinstall from windows?

My Mac will no longer boot to the Mac OS I can still boot in bootcamp to windows. Can I reinstall OS to the Mac Partition from windows 7?

MacBook Pro, Mac OS X (10.6.3)

Posted on Feb 4, 2015 7:15 PM

Close

Q: Mac partition corrupt reinstall from windows?

  • All replies
  • Helpful answers

  • by Loner T,

    Loner T Loner T Feb 5, 2015 6:31 AM in response to bdaniels72
    Level 7 (24,307 points)
    Safari
    Feb 5, 2015 6:31 AM in response to bdaniels72

    Do you have Control Panel -> System -> Boot Camp? If yes, can you switch to OSX?

     

    You can also try SMC Reset and PRAM reset from Startup key combinations for Intel-based Macs - Apple Support.

  • by Jamiemacintyre120789,

    Jamiemacintyre120789 Jamiemacintyre120789 Feb 5, 2015 6:43 AM in response to Loner T
    Level 1 (0 points)
    Feb 5, 2015 6:43 AM in response to Loner T

    Hi Loner T

     

    I am reaching out to you after reading a previous post about the Yosemite upgrade partition bug and that you have actually led more than 2 people I can see to a solution. I have had an Iphone5s for a while but have ventured into the world of Mac OS, however I couldn’t be completely without Windows for work reasons and some software that I own.

     

    Anyway, I live in the UK and am at work at the moment and so don’t have access to the laptop (2014 15” Intel Core Duo Macbook Pro Retina) but I have exactly the same problem as mentioned before. I was on Maverick and had Mac OS and Windows 7 running on a separate partition through BootCamp without a single problem for ages and yet, and this is most pressing point of it all to me as you obviously know, you use BootCamp which is Apple software bundled with the Mac and then you update with Apple’s OWN OS update, having done nothing wrong yourself other than use Apple software, and yet it messes up the partition.

     

    I now can only boot to Mac OS and see this fabled Disk0s4 where my drive once was, as well as in the boot menu not seeing the windows disk or the recovery disk, only the Mac OS disk.

     

    Your help to fixing this would be very very much appreciated and I would be glad to be of some help to you in the future if i can.

     

    Let’s work together and try and fix this please if you don’t mind. I realize there might be a time difference issue, so if you could email ?

     

    Cheers

     

    Jamie

  • by Loner T,

    Loner T Loner T Feb 5, 2015 6:58 AM in response to Jamiemacintyre120789
    Level 7 (24,307 points)
    Safari
    Feb 5, 2015 6:58 AM in response to Jamiemacintyre120789

    Please start a new thread. I also suggest looking at Bootcamp disk0s4 gone after Yosemite update as an example. Two tools which are used for diagnosis and repair are Testdisk and GPT Fdisk. You can install these on the OSX side. If you need details let me know. Most of the issues usually stem from resizing/re-partitioning activity on the Windows side. Looking forward to your new discussion post.

  • by Jamiemacintyre120789,

    Jamiemacintyre120789 Jamiemacintyre120789 Feb 5, 2015 7:27 AM in response to Loner T
    Level 1 (0 points)
    Feb 5, 2015 7:27 AM in response to Loner T

    Disk0s4 After Yosemite installation

     

    Hi Loner T please visit here for my new discussion.

     

    Regards

  • by bdaniels72,

    bdaniels72 bdaniels72 Feb 8, 2015 1:57 PM in response to Loner T
    Level 1 (0 points)
    Feb 8, 2015 1:57 PM in response to Loner T

    No it will not switch to OSX.

  • by Loner T,

    Loner T Loner T Feb 8, 2015 3:14 PM in response to bdaniels72
    Level 7 (24,307 points)
    Safari
    Feb 8, 2015 3:14 PM in response to bdaniels72

    Can you download GPT Fdisk (http://sourceforge.net/projects/gptfdisk/) and install it on the Windows side? If you can, please post the output of

     

    sudo gdisk \\.\physicaldrive0

  • by bdaniels72,

    bdaniels72 bdaniels72 Feb 8, 2015 3:52 PM in response to Loner T
    Level 1 (0 points)
    Feb 8, 2015 3:52 PM in response to Loner T

    I downloaded it and ran it and entered: sudo gdisk ||.|physicaldrive0 at the command prompt and it just closes.

    I read through the readme files so I also tried sudo gdisk \\.\physicaldrive0, sudo gdisk32 \\.\physicaldrive0, gdisk \\.\physicaldrive0, and gdisk32 \\.\physicaldrive0

     

    Each one simply closed the command line window and provided no obvious output.

    Perhaps I missed something.

  • by Loner T,

    Loner T Loner T Feb 8, 2015 4:17 PM in response to bdaniels72
    Level 7 (24,307 points)
    Safari
    Feb 8, 2015 4:17 PM in response to bdaniels72

    No you did not make a mistake, I did.

     

    Run it from a CMD Window with Admin rights.

     

    Try gdisk \\.\physicaldrive0


    or


    C:\Users\MyName\Downloads\gdisk-windows-0.8.10>gdisk32 0:

    GPT fdisk (gdisk) version 0.8.10

     

     

    Partition table scan:

      MBR: hybrid

      BSD: not present

      APM: not present

      GPT: present

     

     

    Found valid GPT with hybrid MBR; using GPT.

     

     

    Command (? for help): p

    Disk 0:: 500118192 sectors, 238.5 GiB

    Logical sector size: 512 bytes

    Disk identifier (GUID): 22749ACF-207D-458E-B255-5DF02C39DC2D

    Partition table holds up to 128 entries

    First usable sector is 34, last usable sector is 500118158

    Partitions will be aligned on 8-sector boundaries

    Total free space is 1325 sectors (662.5 KiB)

     

     

    Number  Start (sector)    End (sector)  Size       Code  Name

       1              40          409639   200.0 MiB   EF00  EFI System Partition

       2          409640       250801735   119.4 GiB   AF05  OSY-MBP13

       3       250801736       252071271   619.9 MiB   AB00  Recovery HD

       4       252071936       500117503   118.3 GiB   0700  BOOTCAMP

     

     

    Command (? for help):

     

    http://www.rodsbooks.com/gdisk/walkthrough.html

  • by bdaniels72,

    bdaniels72 bdaniels72 Feb 8, 2015 4:25 PM in response to Loner T
    Level 1 (0 points)
    Feb 8, 2015 4:25 PM in response to Loner T

    Ok I tried that and a bunch of other combinations and it always flashed a message that said "Problem opening gdisk ... (it would close before I could read the whole message) then realized that I may need to back up a step.

    The walk through doc you linked to says: Command (? for help):

    After I double click on the gdisk32 exe file it opens a command line window that says:

    GPT fdisk <gdisk> version 0.8.10

    Type device filename, or <Enter> to exit:

     

     

    Is there a command I need to do first before the gdisk ||.|physicaldrive0?

  • by Loner T,

    Loner T Loner T Feb 8, 2015 4:26 PM in response to bdaniels72
    Level 7 (24,307 points)
    Safari
    Feb 8, 2015 4:26 PM in response to bdaniels72

    Type "0:". Please see previous post for an example.

  • by bdaniels72,

    bdaniels72 bdaniels72 Feb 8, 2015 5:10 PM in response to Loner T
    Level 1 (0 points)
    Feb 8, 2015 5:10 PM in response to Loner T

    Ok, this is what I got, and thanks for all your help.

     

    GPT fdisk (gdisk) version 0.8.10

    Partition table scan:

      MBR: hybrid

      BSD: not present

      APM: not present

      GPT: present

     

    Found valid GPT with hybrid MBR; using GPT.

     

    Command (? for help): p

    Disk 0::  976773168 sectors, 465.8 GiB

    Logical sector size: 512 bytes

    Disk identifier (GUID): FD7B9AC2-EC79-4E81-9E46-DCC325C1C1D2

    Partition table holds up to 128 entries

    First usable sector is 34, last usable sector is 976773134

    Partitions will be aligned on 8-sector boundaries

    Total free space is 264173 sectors (129.0 MiB)

     

    Number  Start (sector)    End (sector)  Size            Code       Name

       1              40               409639        200.0 MiB   EF00      EFI System Partition

       2          409640      721829927       344.0 GiB   AF00     MacintoshHD

       3      722094080    976773119       121.4 GiB   0700     BOOTCAMP

         

    Command (? for help):

  • by Loner T,

    Loner T Loner T Feb 8, 2015 5:25 PM in response to bdaniels72
    Level 7 (24,307 points)
    Safari
    Feb 8, 2015 5:25 PM in response to bdaniels72

    You do not have a Recovery HD, which is a bit strange, but not the real issue.

     

    You have a 344 GB Macintosh HD, so you should be able to boot.

     

    1. If you power cycle the Mac and hold Alt key when powering up, do you get an option for Macintosh HD?

    2. If you SMC reset - Intel-based Macs: Resetting the System Management Controller (SMC) - Apple Support, do you see Macintosh HD using the Alt key?

    3. You show about 465GB for the disk and Gdisk agrees. Is this the correct size of your physical disk?

    4. You can also check in Control Panel -> Administrative Tools -> Computer Management -> Disk Management.