cmcqueen

Q: Missing operating system Macintosh partition

Trying to install Windows 7 partition using .iso.

errors "startup repair cannot repair this computer automatically" / couldn't find the drivers.

In system repair i set the active partition to the 200MB "partition 2".

Restarted the computer holding alt and the Windows partition no longer shows up. Booted to macintosh and it says "missing operating system"

 

Freaking out as I can't boot into either partition now. Help!

MacBook Pro with Retina display, OS X El Capitan (10.11)

Posted on Jan 20, 2016 4:42 PM

Close

Q: Missing operating system Macintosh partition

  • All replies
  • Helpful answers

first Previous Page 3 of 4 last Next
  • by Loner T,

    Loner T Loner T Jan 22, 2016 4:42 PM in response to cmcqueen
    Level 7 (23,613 points)
    Safari
    Jan 22, 2016 4:42 PM in response to cmcqueen

    The disk structures and utilities have bugs, which are fixed in later versions of OS X. If your internal disk is 10.10, but the USB is 10.9, you do not want to cause more problems by using a older version of OS X. It is safer to make the external and internal disk versions match, before any changes are made to disk partitions.

  • by cmcqueen,

    cmcqueen cmcqueen Jan 22, 2016 9:39 PM in response to Loner T
    Level 1 (0 points)
    Jan 22, 2016 9:39 PM in response to Loner T

    Okay I've updated the external to yosemite. What would I need to do next to get the internal disk back? Thanks!

  • by Loner T,

    Loner T Loner T Jan 23, 2016 6:28 AM in response to cmcqueen
    Level 7 (23,613 points)
    Safari
    Jan 23, 2016 6:28 AM in response to cmcqueen

    Can you boot from the external disk and post the output of

     

    diskutil list

    diskutil cs list

    sudo gpt -vv -r show /dev/disk0

  • by cmcqueen,

    cmcqueen cmcqueen Jan 23, 2016 9:34 AM in response to Loner T
    Level 1 (0 points)
    Jan 23, 2016 9:34 AM in response to Loner T

    Screen Shot 2016-01-23 at 12.32.48 PM.png

  • by Loner T,

    Loner T Loner T Jan 23, 2016 9:46 AM in response to cmcqueen
    Level 7 (23,613 points)
    Safari
    Jan 23, 2016 9:46 AM in response to cmcqueen

    Your command seems to have typos. Please retry

     

    sudo gpt -vv -r show /dev/disk0

  • by cmcqueen,

    cmcqueen cmcqueen Jan 23, 2016 10:25 AM in response to Loner T
    Level 1 (0 points)
    Jan 23, 2016 10:25 AM in response to Loner T

    Oops, sorry!Screen Shot 2016-01-23 at 1.24.30 PM.png

  • by Loner T,Helpful

    Loner T Loner T Jan 23, 2016 11:42 AM in response to cmcqueen
    Level 7 (23,613 points)
    Safari
    Jan 23, 2016 11:42 AM in response to cmcqueen

    1. Change the partition type of GPT2 and GPT3 to be OS X. GPT2 = OS X, GPT3 = Recovery HD

     

    sudo disk /dev/disk0

    p

    t

    2

    AF00

    t

    3

    AB00

    p

    w

    y

     

    Here is an example session without the last two commands.

     

    sudo gdisk /dev/disk0

    GPT fdisk (gdisk) version 1.0.0

     

    Warning: Devices opened with shared lock will not have their

    partition table automatically reloaded!

    NOTE: Write test failed with error number 1. It will be impossible to save

    changes to this disk's partition table!

     

    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 /dev/disk0: 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): t

    Partition number (1-4): 1

    Current type is 'EFI System'

    Hex code or GUID (L to show codes, Enter = AF00): L

    0700 Microsoft basic data  0c01 Microsoft reserved    2700 Windows RE         

    3000 ONIE boot             3001 ONIE config           4100 PowerPC PReP boot  

    4200 Windows LDM data      4201 Windows LDM metadata  4202 Windows Storage Spac

    7501 IBM GPFS              7f00 ChromeOS kernel       7f01 ChromeOS root      

    7f02 ChromeOS reserved     8200 Linux swap            8300 Linux filesystem   

    8301 Linux reserved        8302 Linux /home           8303 Linux x86 root  

    8304 Linux x86-64 root (/  8305 Linux ARM64 root   8306 Linux /srv         

    8400 Intel Rapid Start     8e00 Linux LVM             a500 FreeBSD disklabel  

    a501 FreeBSD boot          a502 FreeBSD swap          a503 FreeBSD UFS        

    a504 FreeBSD ZFS           a505 FreeBSD Vinum/RAID    a580 Midnight BSD data  

    a581 Midnight BSD boot     a582 Midnight BSD swap     a583 Midnight BSD UFS   

    a584 Midnight BSD ZFS      a585 Midnight BSD Vinum    a601 OpenBSD data       

    a800 Apple UFS             a901 NetBSD swap           a902 NetBSD FFS         

    a903 NetBSD LFS            a904 NetBSD concatenated   a905 NetBSD encrypted   

    a906 NetBSD RAID           ab00 Apple boot            af00 Apple HFS/HFS+     

    af01 Apple RAID            af02 Apple RAID offline    af03 Apple label        

    af04 AppleTV recovery      af05 Apple Core Storage    be00 Solaris boot       

    bf00 Solaris root          bf01 Solaris /usr & Mac Z  bf02 Solaris swap       

    bf03 Solaris backup        bf04 Solaris /var          bf05 Solaris /home      

    bf06 Solaris alternate se  bf07 Solaris Reserved 1    bf08 Solaris Reserved 2 

    bf09 Solaris Reserved 3    bf0a Solaris Reserved 4    bf0b Solaris Reserved 5 

    Press the <Enter> key to see more codes:

    c001 HP-UX data            c002 HP-UX service         ea00 Freedesktop $BOOT  

    eb00 Haiku BFS             ed00 Sony system partitio  ed01 Lenovo system partit

    ef00 EFI System            ef01 MBR partition scheme  ef02 BIOS boot partition

    f800 Ceph OSD              f801 Ceph dm-crypt OSD     f802 Ceph journal       

    f803 Ceph dm-crypt journa  f804 Ceph disk in creatio  f805 Ceph dm-crypt disk i

    fb00 VMWare VMFS           fb01 VMWare reserved       fc00 VMWare kcore crash p

    fd00 Linux RAID           

    Hex code or GUID (L to show codes, Enter = af00):

    Changed type of partition to 'Apple HFS/HFS+'

     

    Command (? for help): p

    Disk /dev/disk0: 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   AF00  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

     

     

    2. Test booting from the Internal disk.

    3. You have Free Space after GPT3 which can be addressed after the internal disk starts working.

  • by cmcqueen,

    cmcqueen cmcqueen Jan 23, 2016 11:25 AM in response to Loner T
    Level 1 (0 points)
    Jan 23, 2016 11:25 AM in response to Loner T

    Nevermind I'm dumb. will post outcome.

  • by Loner T,

    Loner T Loner T Jan 23, 2016 11:28 AM in response to cmcqueen
    Level 7 (23,613 points)
    Safari
    Jan 23, 2016 11:28 AM in response to cmcqueen

    Safari spell-correction.

     

    Try sudo gdisk /dev/rdisk0 .

  • by cmcqueen,

    cmcqueen cmcqueen Jan 23, 2016 11:37 AM in response to Loner T
    Level 1 (0 points)
    Jan 23, 2016 11:37 AM in response to Loner T

    Macintosh HD is now showing up on boot list! Booted from it, typed in password, got prohibitory screen (below).

    Unknown.png

  • by Loner T,

    Loner T Loner T Jan 23, 2016 11:46 AM in response to cmcqueen
    Level 7 (23,613 points)
    Safari
    Jan 23, 2016 11:46 AM in response to cmcqueen

    Instead of AF00 for GPT2, use AF05 and see if it works. It could be a CS volume.

  • by cmcqueen,

    cmcqueen cmcqueen Jan 23, 2016 11:57 AM in response to Loner T
    Level 1 (0 points)
    Jan 23, 2016 11:57 AM in response to Loner T

    Awesome!! Writing this from internal drive! How to address free space in GPT3?

    Also, would it be beneficial to update the internal drive to El Capitan for the bootcamp issues?

  • by Loner T,

    Loner T Loner T Jan 23, 2016 12:01 PM in response to cmcqueen
    Level 7 (23,613 points)
    Safari
    Jan 23, 2016 12:01 PM in response to cmcqueen

    Please post the output of

     

    diskutil list

    diskutil cs list (we just recovered your CS volume, which is now a new part of the problem).

  • by cmcqueen,

    cmcqueen cmcqueen Jan 23, 2016 12:09 PM in response to Loner T
    Level 1 (0 points)
    Jan 23, 2016 12:09 PM in response to Loner T

    Just to clarify, I'm running terminal on the internal drive.
    I do however still have the external drive connected. Can I disconnect it now that internal is recovered?

    Screen Shot 2016-01-23 at 3.07.57 PM.png

  • by Loner T,

    Loner T Loner T Jan 23, 2016 12:29 PM in response to cmcqueen
    Level 7 (23,613 points)
    Safari
    Jan 23, 2016 12:29 PM in response to cmcqueen

    1. Yes, you can disconnect your external disk. Please eject it properly. It can be used in the future. It will also depend on what you choose to do in step 2.

    2. To get your disk space back, we can either backup/erase internal disk/restore or try a Terminal set of commands. What is your preference?

first Previous Page 3 of 4 last Next