m0ng

Q: Partition pain

I was trying to free up some space from my windows 10 partition to go back to my Mac OS X 10.10.2 partition. You used to be able to do this in either boot amp or the disk utility just by dragging the sliders, I'm sure...i couldn't get it to work in Mac I looked online and read somewhere that Windows 10 could do it natively.

 

In Windows 10 disk management o resized the bootcamp partition to free up some space. This then created an empty partition, so I headed back to OS X, but it didn't seem to see it in disk utility, aback to Windows 10, I thought if I formatted it as fat32 os X would see it and be able to reclaim the space.

 

That's when the sh*t hit the fan:

 

-cant boot into os X

-cant boot into Windows 10

 

when booting the screen is black for a long time then the machine tries to book Windows but says there's no bootable media (or something similar).

 

I tries command + R to load online help/utilities but disk utility their recognises all the partitions but cannot seem to do anything with them, like delete or repair etc. It says it can't make changes to the boot map (apologies not exact mssage(s) have subsequntly been drinking to numb the misery of it. Am away from home, so don't have any bootable media Or any backups with me.

 

basically I've broken the guild map I think but because everything's greyed out in the utilises, I can't erase any partitions (if that's what I need to do).

 

would someone please give me some advice? - will it be possible to save the data on the os X partition? (Not so bothers about Windows 10)???

 

thanks in advance

 

david

 

Macbook pro retina 15inch 2012

Posted on Dec 28, 2015 9:10 PM

Close

Q: Partition pain

  • All replies
  • Helpful answers

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

    Loner T Loner T Dec 31, 2015 3:00 PM in response to m0ng
    Level 7 (24,611 points)
    Safari
    Dec 31, 2015 3:00 PM in response to m0ng

    The first '2' already chose GPT. You do need to type 2 again. Type 'p' and post the output.

  • by m0ng,

    m0ng m0ng Dec 31, 2015 3:07 PM in response to Loner T
    Level 1 (62 points)
    iPhone
    Dec 31, 2015 3:07 PM in response to Loner T

    Sorry. Hope I'm not making you rip your hair out.

     

    btw ever now and again I'm getting an error come up in OS X saying "the disk inserted is unreadable by os x" or something similar...

     

    anyway:

     

    003.jpg

  • by Loner T,

    Loner T Loner T Dec 31, 2015 3:30 PM in response to m0ng
    Level 7 (24,611 points)
    Safari
    Dec 31, 2015 3:30 PM in response to m0ng

    The SD Card may have a loose connection. You need to boot into Recovery HD of the SD card by powering down and starting with Command+R or Alt/Option key. Once you are in Recovery console,

     

    Step A - Disable El Capitan temporarily (About System Integrity Protection on your Mac - Apple Support)

     

    1. Boot into Local Recovery (Command+R).

    2. Start Utilities -> Terminal.

    3. Type csrutil disable in Terminal and press Enter/Return.

    4. Type csrutil status.

    5. Boot normally, and type csrutil status to confirm that all individual entries are still disabled.

     

    Once you boot normally, we can proceed further with Gdisk again.

  • by m0ng,

    m0ng m0ng Dec 31, 2015 3:52 PM in response to Loner T
    Level 1 (62 points)
    iPhone
    Dec 31, 2015 3:52 PM in response to Loner T

    Right, just rebooting now. (Typing on this site with an iPad or iph now is surprisingly bad.

  • by Loner T,

    Loner T Loner T Dec 31, 2015 3:56 PM in response to m0ng
    Level 7 (24,611 points)
    Safari
    Dec 31, 2015 3:56 PM in response to m0ng

    Take your time.

  • by m0ng,

    m0ng m0ng Dec 31, 2015 4:15 PM in response to Loner T
    Level 1 (62 points)
    iPhone
    Dec 31, 2015 4:15 PM in response to Loner T

    Happy New Year dude

     

    I am back. The dog's going mad at the fireworks nearby. But I'm back.

  • by Loner T,

    Loner T Loner T Dec 31, 2015 4:41 PM in response to m0ng
    Level 7 (24,611 points)
    Safari
    Dec 31, 2015 4:41 PM in response to m0ng

    Try using Siri on iPhone/iPad for typing. Happy new year! Is SIP disabled?

  • by m0ng,

    m0ng m0ng Dec 31, 2015 4:43 PM in response to Loner T
    Level 1 (62 points)
    iPhone
    Dec 31, 2015 4:43 PM in response to Loner T

    yeah disabled.

  • by Loner T,

    Loner T Loner T Dec 31, 2015 4:52 PM in response to m0ng
    Level 7 (24,611 points)
    Safari
    Dec 31, 2015 4:52 PM in response to m0ng

    Go back into Gdisk and delete 17, delete 19 entries. Write and check if the GPT command returns a valid GPT.

  • by m0ng,

    m0ng m0ng Dec 31, 2015 5:02 PM in response to Loner T
    Level 1 (62 points)
    iPhone
    Dec 31, 2015 5:02 PM in response to Loner T

    Im sorry to keep asking such basic questions (I'm only very slightly acquainted with terminal), what is the command to delete 17 and 19 now i'm back at that part of GPT.

  • by m0ng,

    m0ng m0ng Dec 31, 2015 5:06 PM in response to Loner T
    Level 1 (62 points)
    iPhone
    Dec 31, 2015 5:06 PM in response to Loner T

    Scratch that, I only had to use ? to get help. Done it. Delete both now. (i think).

  • by Loner T,

    Loner T Loner T Dec 31, 2015 5:07 PM in response to m0ng
    Level 7 (24,611 points)
    Safari
    Dec 31, 2015 5:07 PM in response to m0ng

    d

    17

    d

    19

    p

    w

    y

  • by m0ng,

    m0ng m0ng Dec 31, 2015 5:12 PM in response to Loner T
    Level 1 (62 points)
    iPhone
    Dec 31, 2015 5:12 PM in response to Loner T

    W results in this:

     

    Warning! Main partition table overlaps the first partition by 34 blocks!

    You will need to delete this partition or resize it in another utility.

    Aborting write of new partition table.

    Any ideas?

  • by Loner T,

    Loner T Loner T Dec 31, 2015 5:25 PM in response to m0ng
    Level 7 (24,611 points)
    Safari
    Dec 31, 2015 5:25 PM in response to m0ng

    Here is an example of the a working GPT.

     

    sudo gpt -vv -r show /dev/disk0

    Password:

    gpt show: /dev/disk0: mediasize=256060514304; sectorsize=512; blocks=500118192

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

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

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

          start       size  index  contents

              0          1         MBR

              1          1         Pri GPT header

              2         32         Pri GPT table

             34          6      

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

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

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

      252071272        664      

      252071936  248045568      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

      500117504        655      

      500118159         32         Sec GPT table

      500118191          1         Sec GPT header

     

    Convert the MBR to GPT.

     

    Command (? for help): r

     

    Recovery/transformation command (? for help): ?

    b use backup GPT header (rebuilding main)

    c load backup partition table from disk (rebuilding main)

    d use main GPT header (rebuilding backup)

    e load main partition table from disk (rebuilding backup)

    f load MBR and build fresh GPT from it

    g convert GPT into MBR and exit

    h make hybrid MBR

    i show detailed information on a partition

    l load partition data from a backup file

    m return to main menu

    o print protective MBR data

    p print the partition table

    q quit without saving changes

    t transform BSD disklabel partition

    v verify disk

    w write table to disk and exit

    x extra functionality (experts only)

    ? print this menu

  • by m0ng,

    m0ng m0ng Dec 31, 2015 5:24 PM in response to Loner T
    Level 1 (62 points)
    iPhone
    Dec 31, 2015 5:24 PM in response to Loner T

    this is what mine says, is it unfixable?

     

    davids-MacBook-Pro:~ m0ng$ sudo gpt -vv -r show /dev/disk0

    Password:

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

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

    gpt show: /dev/disk0: Bad CRC in GPT table at sector 2

          start       size  index  contents

              0          1         MBR

              1  703668223      1  MBR part 66

      703668224  210522112      2  MBR part 66

      914190336   62912676      3  MBR part 66

      977103012       2048        

    davids-MacBook-Pro:~ m0ng$

first Previous Page 3 of 6 last Next