lgb-wien

Q: Cannot boot OS X, only Windows, no recovery.

I have a brand new MacBook Air 11 with Yosemite, and with BootCamp 5 we have installed Windows 7 (on a partition with some 320 GB). Our IT has managed to install Windows 7 Enterprise 64 and has installed a lot of company software. It is the same setting as with my previous MacBook Air, which did work properly for years with bootcamp.

 

The actual problem: When starting with Option key, I only can see Windows, no OS X and not even the recovery OS.

 

In Windows computer management I can see partitions with 200 MB (GPT), 150 GB (primary partition, no name), 100 MB NTFS (active, primary partition) and finally 320 GB NTFS (start partition) for Windows.

 

I have zapped PRAM, have tried to start with S key, X and many more.

When I start with Option R and boot the online recovery system, with disk utility I can see the MacBook SSD (500 GB), therein is a volume (an active logical partition) with 160 GB, a mount point, format "Logical partition", 19 GB in use (which might be Mac OS X and some files) as well as a disk0s4 with 340 GB (not active)

I have repaired access rights and checked volume, no errors.

 

For me it looks if all partitions are here and even OS X is still installed, but boot manager only provides Windows to start with.

I really would like to avoid installing from scratch again since this will last for days again.

 

What can I do? Should I try to reinstall OS X on that partition, hoping that the (company) Windows still will work?

Many thanks!

Posted on Jan 15, 2015 9:23 PM

Close

Q: Cannot boot OS X, only Windows, no recovery.

  • All replies
  • Helpful answers

Page 1 Next
  • by Loner T,

    Loner T Loner T Jan 16, 2015 4:37 AM in response to lgb-wien
    Level 7 (24,344 points)
    Safari
    Jan 16, 2015 4:37 AM in response to lgb-wien

    Do you have a Boot Camp item in Control Panel -> System?

     

    From the Command+Opt+R, can you post the output of the following commands?

     

    diskutil list

    diskutil cs list

    gpt -vv -r show /dev/disk0

  • by lgb-wien,

    lgb-wien lgb-wien Jan 16, 2015 7:58 AM in response to Loner T
    Level 1 (0 points)
    Jan 16, 2015 7:58 AM in response to Loner T

    Thanks for reply!

    Yes, in Windows I do have the usual Boot Camp control panel,

    I positively can change the settings for keyboard (fn) and keypad (right click). It also does offer to select Max OS X to boot with, but obviously without effect.

     

    Results from Command-Opt-R will follow soon, have to find a way to copy and file when only in internet recovery mode.

  • by lgb-wien,

    lgb-wien lgb-wien Jan 16, 2015 9:56 AM in response to lgb-wien
    Level 1 (0 points)
    Jan 16, 2015 9:56 AM in response to lgb-wien

    -bash-3.2# diskutil list

    /dev/disk0

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *500.3 GB   disk0

       1:                        EFI EFI                     209.7 MB   disk0s1

       2:          Apple_CoreStorage                         159.4 GB   disk0s2

       3:                 Apple_Boot                         650.0 MB   disk0s3

       4:       Microsoft Basic Data                         340.0 GB   disk0s4

    /dev/disk1

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:     Apple_partition_scheme                        *1.3 GB     disk1

       1:        Apple_partition_map                         30.7 KB    disk1s1

       2:                  Apple_HFS OS X Base System        1.3 GB     disk1s2

    /dev/disk2

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                  Apple_HFS MacBook Air 11 neu     *159.0 GB   disk2

                                     Logical Volume on disk0s2

                                     E0965C80-C208-4404-A559-B3B39A486535

                                     Unencrypted

    /dev/disk3

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                            untitled               *5.2 MB     disk3

    /dev/disk4

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                            untitled               *524.3 KB   disk4

    /dev/disk5

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                            untitled               *524.3 KB   disk5

    /dev/disk6

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                            untitled               *524.3 KB   disk6

    /dev/disk7

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                            untitled               *524.3 KB   disk7

    /dev/disk8

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                            untitled               *524.3 KB   disk8

    /dev/disk9

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                            untitled               *6.3 MB     disk9

    /dev/disk10

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                            untitled               *2.1 MB     disk10

    /dev/disk11

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                            untitled               *1.0 MB     disk11

    /dev/disk12

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                            untitled               *524.3 KB   disk12

    /dev/disk13

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                            untitled               *524.3 KB   disk13

    /dev/disk14

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                            untitled               *1.0 MB     disk14

    /dev/disk15

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                            untitled               *6.3 MB     disk15

    -bash-3.2#

     

    sorry for single answers, looks like finder instead of multifinder, have to quit safari to get back to terminal

  • by lgb-wien,

    lgb-wien lgb-wien Jan 16, 2015 9:57 AM in response to lgb-wien
    Level 1 (0 points)
    Jan 16, 2015 9:57 AM in response to lgb-wien

    -bash-3.2# diskutil cs list

    CoreStorage logical volume groups (1 found)

    |

    +-- Logical Volume Group 49BCBEAC-2D31-43BD-A174-404B5CB9438D

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

        Name:         Macintosh HD

        Status:       Online

        Size:         159418019840 B (159.4 GB)

        Free Space:   18903040 B (18.9 MB)

        |

        +-< Physical Volume 04A10304-B9C6-4823-AB81-1F685CCACC38

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

        |   Index:    0

        |   Disk:     disk0s2

        |   Status:   Online

        |   Size:     159418019840 B (159.4 GB)

        |

        +-> Logical Volume Family D5363CFF-ADA7-478C-955B-39615FFDE5A8

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

            Encryption Status:       Unlocked

            Encryption Type:         None

            Conversion Status:       NoConversion

            Conversion Direction:    -none-

            Has Encrypted Extents:   No

            Fully Secure:            No

            Passphrase Required:     No

            |

            +-> Logical Volume E0965C80-C208-4404-A559-B3B39A486535

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

                Disk:                  disk2

                Status:                Online

                Size (Total):          159046795264 B (159.0 GB)

                Conversion Progress:   -none-

                Revertible:            Yes (no decryption required)

                LV Name:               MacBook Air 11 neu

                Volume Name:           MacBook Air 11 neu

                Content Hint:          Apple_HFS

    -bash-3.2#

  • by lgb-wien,

    lgb-wien lgb-wien Jan 16, 2015 10:02 AM in response to lgb-wien
    Level 1 (0 points)
    Jan 16, 2015 10:02 AM in response to lgb-wien

    -bash-3.2# gpt -vv -r show /dev/disk0

    gpt show: /dev/disk0: mediasize=500277790720; sectorsize=512; blocks=977105060

    gpt show: /dev/disk0: Suspicious MBR at sector 0

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

    gpt show: error: bogus map

    gpt show: unable to open device '/dev/disk0': Undefined error: 0

    -bash-3.2#

     

    error worries me now ...

    thx

  • by Loner T,

    Loner T Loner T Jan 17, 2015 7:10 AM in response to lgb-wien
    Level 7 (24,344 points)
    Safari
    Jan 17, 2015 7:10 AM in response to lgb-wien

    OSX is not booting because your GPT is corrupted. Can you re-install OS X on the 159 Macintosh HD (LV/CS) volume through Recovery Console?

     

    Please post the output of sudo disk /dev/disk0.

  • by lgb-wien,

    lgb-wien lgb-wien Jan 17, 2015 7:38 AM in response to Loner T
    Level 1 (0 points)
    Jan 17, 2015 7:38 AM in response to Loner T

    -bash-3.2# sudo disk /dev/disk0

    -bash: sudo: command not found

     

    should it be sudo fdisk /dev/disk0 ??

    thanks

  • by lgb-wien,

    lgb-wien lgb-wien Jan 17, 2015 7:42 AM in response to lgb-wien
    Level 1 (0 points)
    Jan 17, 2015 7:42 AM in response to lgb-wien

    ha, without sudo and with fdisk

     

    -bash-3.2# fdisk /dev/disk0

    Disk: /dev/disk0 geometry: 60821/255/63 [977105060 sectors]

    Signature: 0xAA55

             Starting       Ending

    #: id  cyl  hd sec -  cyl  hd sec [     start -       size]

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

    1: EE 1023 254  63 - 1023 254  63 [         1 -     409639] <Unknown ID>

    2: AC 1023 254  63 - 1023 254  63 [    409640 -  311363320] <Unknown ID>

    *3: 07 1023 254  63 - 1023 254  63 [ 311773184 -     204800] HPFS/QNX/AUX

    4: 07 1023 254  63 - 1023 254  63 [ 311977984 -  665124864] HPFS/QNX/AUX

  • by lgb-wien,

    lgb-wien lgb-wien Jan 18, 2015 9:58 AM in response to lgb-wien
    Level 1 (0 points)
    Jan 18, 2015 9:58 AM in response to lgb-wien

    Several times I have tried to re-install OS X 10.10 via online recovery console, but it always failed, more or less at the same point (more than 50 % elapsed, some 50 minutes left).

    Then I have tried to repair the volume via disk utility and now I get an error message ".. has stopped repair. volume cannot be deactivated for repair". Before the attempts of re-installing the repair of volume passed.

    Afterwards I tried to erase (format) the volume for Max OS extended (journaled), and - eureka - after forth attempt it is now re-formatted.

    In few hours I can report about next attempt of re-installation of OS X.

  • by lgb-wien,

    lgb-wien lgb-wien Jan 18, 2015 12:27 PM in response to lgb-wien
    Level 1 (0 points)
    Jan 18, 2015 12:27 PM in response to lgb-wien

    now OS X is reinstalled, newly configured.

    BUT

    when starting with option key only OS X is shown, Windows is NOT offered, but partition with 340 GB is still here.

    This is now a big, big problem, because I need Windows to work in my company.

     

    Any idea?

    thx

  • by lgb-wien,

    lgb-wien lgb-wien Jan 18, 2015 12:55 PM in response to lgb-wien
    Level 1 (0 points)
    Jan 18, 2015 12:55 PM in response to lgb-wien

    btw: Bootcamp proposes to remove Windows when started, so it at least thinks that there is Windows at the partition with 340 GB

  • by Loner T,

    Loner T Loner T Jan 19, 2015 12:58 PM in response to lgb-wien
    Level 7 (24,344 points)
    Safari
    Jan 19, 2015 12:58 PM in response to lgb-wien

    Can you post the output of sudo fdisk /dev/disk0? The OSX installation may have initialized the MBR to a Protective MBR.

  • by lgb-wien,

    lgb-wien lgb-wien Jan 19, 2015 9:10 PM in response to Loner T
    Level 1 (0 points)
    Jan 19, 2015 9:10 PM in response to Loner T

    Disk: /dev/disk0 geometry: 60821/255/63 [977105060 sectors]

    Signature: 0xAA55

             Starting       Ending

    #: id  cyl  hd sec -  cyl  hd sec [     start -       size]

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

    1: EE 1023 254  63 - 1023 254  63 [         1 -     409639] <Unknown ID>

    2: AC 1023 254  63 - 1023 254  63 [    409640 -  311363320] <Unknown ID>

    3: AB 1023 254  63 - 1023 254  63 [ 311772960 -    1269536] Darwin Boot

    4: 0C 1023 254  63 - 1023 254  63 [ 313042944 -  664061952] Win95 FAT32L

  • by Loner T,

    Loner T Loner T Jan 20, 2015 5:09 AM in response to lgb-wien
    Level 7 (24,344 points)
    Safari
    Jan 20, 2015 5:09 AM in response to lgb-wien

    Entry 4 in the MBR needs slight modifications. The following steps will modify your MBR boot ability flag and make it NTFS partition type in the MBR (it is already NTFS on disk and on the GPT side).

     

    sudo fdisk -e /dev/disk0

    p

    setpid 4

    07

    flag 4

    p

    w

    y

     

    Reboot and test.

Page 1 Next