fhalzahrani.c

Q: mac Mountain not working after installing linux

Hello everyone

 

i will try to explain as easy as i possible , and excuse my language .

 

 

the problem started when i installed Fedora 23 on my macbook pro 2012 HD , the total HD is 750 GB .

 

i used 120GB for fedora , after installing fedora with reFindit (dual boot) the mac os not working any more .

 

i checked the partition type and in gparted it's said (unkown system type) ???

 

probelm_1.png

 

i changed the system type by using gdisk to HFS and this is screenshot from gdisk it's said the system type is HFS already

 

problem_3_gpt.png

 

, so to make sure i used testDisk also to check the system type and it's gives me Linux type !!!!!

 

problem_2.png

 

i tired to recover some data from the partition by using photorec (attached with testDisk) and it's really gives some of my pic from the mac partition

 

so please help me to fix the problem and re-using the mac os without formating any data

 

 

note : this is the screenshot when i try reboot the laptop showing these options :-

 

oAWbhf.jpg

^^ first screen after boot

 

 

----- when choosing mac -----

lPhkhN.jpg

4USuUI.jpg

 

 

thank you

MacBook Pro, OS X Mountain Lion (10.8.5)

Posted on Feb 16, 2016 2:08 AM

Close

Q: mac Mountain not working after installing linux

  • All replies
  • Helpful answers

Page 1 Next
  • by BobTheFisherman,

    BobTheFisherman BobTheFisherman Feb 16, 2016 7:58 AM in response to fhalzahrani.c
    Level 6 (15,418 points)
    Feb 16, 2016 7:58 AM in response to fhalzahrani.c

    This is what I would do. Erase and format your drive. Reinstall OSX. Then using a virtual machine install Linux.

  • by fhalzahrani.c,

    fhalzahrani.c fhalzahrani.c Feb 16, 2016 10:34 AM in response to BobTheFisherman
    Level 1 (0 points)
    Feb 16, 2016 10:34 AM in response to BobTheFisherman

    Hello sir

     

    thank you for the comment , the data in the mac so important for me and i can erase it but whole my life in the hard disk

     

    i will try my best to solve this problem

     

    thank you

  • by Csound1,

    Csound1 Csound1 Feb 16, 2016 10:36 AM in response to fhalzahrani.c
    Level 9 (50,726 points)
    Desktops
    Feb 16, 2016 10:36 AM in response to fhalzahrani.c

    fhalzahrani.c wrote:

     

    Hello sir

     

    thank you for the comment , the data in the mac so important for me and i can erase it but whole my life in the hard disk

     

    i will try my best to solve this problem

     

    thank you

    Then restore the backup you made for this important data.

  • by steve359,

    steve359 steve359 Feb 16, 2016 10:45 AM in response to fhalzahrani.c
    Level 6 (14,032 points)
    Feb 16, 2016 10:45 AM in response to fhalzahrani.c

    You should have a good backup whenever you just install security updates from the App Store.  Altering partitions, installing OSXes, other major operations require better protections of your critical data.  Playing with the HFS partitioning map with Linux partitions is risky.

  • by Grant Logan,

    Grant Logan Grant Logan Feb 16, 2016 11:01 AM in response to fhalzahrani.c
    Level 1 (8 points)
    Feb 16, 2016 11:01 AM in response to fhalzahrani.c

    If I were you, I'd connect your MacBook to another mac in target disk mode and see if the original "Mac OS Extended (Journaled)" partition shows up. If you don't have another mac, try this guide on mounting mac-formatted drives in linux: https://fosswire.com/post/2007/09/dealing-with-mac-formatted-drives-on-linux/ .

     

    If it does, copy your data off, and reinstall or do whatever you need to do to get the MacBook working again.

     

    Otherwise, I don't really have any other advice to offer, and I'm not very confident that you'll get your data back without a fight...

     

     

    EDIT: Have you tried holding down the option key when starting-up to opt booting into OS X instead?

  • by fhalzahrani.c,

    fhalzahrani.c fhalzahrani.c Feb 16, 2016 12:09 PM in response to Csound1
    Level 1 (0 points)
    Feb 16, 2016 12:09 PM in response to Csound1

    but first how can i access to the HD to backup the data ? i am using fedora now from external HD and i can't mount the partition of the mac

     

    last option is to take out the internal HD and make it external and try to access but this is the plan B

  • by fhalzahrani.c,

    fhalzahrani.c fhalzahrani.c Feb 16, 2016 12:10 PM in response to steve359
    Level 1 (0 points)
    Feb 16, 2016 12:10 PM in response to steve359

    but this is my only way to fix the problem , i am already can't access to the partition of mac or use the mac os , so i have to try at least

  • by fhalzahrani.c,

    fhalzahrani.c fhalzahrani.c Feb 16, 2016 12:25 PM in response to Grant Logan
    Level 1 (0 points)
    Feb 16, 2016 12:25 PM in response to Grant Logan

    Hello sir

     

    many thanks for the comment , i tried the mount as the link mentioned but am having trouble with that

     

    look to the pic plz

     

    mount.png

     

    and i tried all the key's when rebooting to access the mac but all fails

     

    plz help

  • by Loner T,

    Loner T Loner T Feb 16, 2016 1:00 PM in response to fhalzahrani.c
    Level 7 (24,115 points)
    Safari
    Feb 16, 2016 1:00 PM in response to fhalzahrani.c

    1. Can you boot into Internet Recovery - OS X: About OS X Recovery - Apple Support ? Please see the specific section about Internet Recovery and booting using Command+Opt+R.

    2. If you can, then install OSX (the version that shipped with your Mac) - How to install OS X on an external drive connected to your Mac - Apple Support - and then upgrade it to match the current version that you expect on your internal disk.

    3. rEFInd is causing you more problems than solving it.

    4. Using Testdisk, changing partition type GUIDs does not work correctly, especially for HFS+/JHFS+.

    5. If you were on Yosemite or higher, your OSX volume can be a CoreStorage volume, not just JHFS+.

    6. If you Mac does not support Internet Recovery, use the Grey Disks to boot your Mac from.

  • by fhalzahrani.c,

    fhalzahrani.c fhalzahrani.c Feb 17, 2016 12:35 AM in response to Loner T
    Level 1 (0 points)
    Feb 17, 2016 12:35 AM in response to Loner T

    Hello sir loner

     

    i was waiting for your comment cuz i saw you had fixed a lot of problems like this and i am depend in you so please help me in that .

     

    yes i can connect to OS recover using R button when it's booting but why the benefit i get if i installed the OS X in external HD ?

     

    i belive the MAC OS x partition is safe but when fedora installed it's delete something that's made whole problem

     

    so is they are any way to fix the internal partiton to use it agin without formating or at lest go in to the partition to backup my data ?

     

    here trying to repair the partition using the mac recover system

     

    Lgixfh.jpg

    NTJhMk.jpg

     

    thank

  • by Loner T,

    Loner T Loner T Feb 17, 2016 4:52 AM in response to fhalzahrani.c
    Level 7 (24,115 points)
    Safari
    Feb 17, 2016 4:52 AM in response to fhalzahrani.c

    Local Recovery will not allow you to install GPT Fdisk - https://sourceforge.net/projects/gptfdisk/ - even though you have Gdisk on the Linux side, it is v 1.0.0, while there is a v 1.0.1 on SourceForge.

     

    Using an external disk, and using the newer version of Gdisk will allow us to inspect/correct/mount partitions, as we fix partition GUID types or any other issues. Does that help explain what we want to do?

  • by SLF apex,

    SLF apex SLF apex Feb 17, 2016 5:05 AM in response to fhalzahrani.c
    Level 1 (13 points)
    Feb 17, 2016 5:05 AM in response to fhalzahrani.c

    Hi fhalzahrani.c

    if Disk Utility can't repair the volume try DiskWarrior. Never encountered a damaged volume which couldn't be repaired with DiskWarrior it's worth buying.

  • by fhalzahrani.c,

    fhalzahrani.c fhalzahrani.c Feb 17, 2016 2:28 PM in response to Loner T
    Level 1 (0 points)
    Feb 17, 2016 2:28 PM in response to Loner T

    hello

     

     

    yes i get it now and i will do it tomorrow cuz it's late in the night now

     

    but i wanna show you what i did and i think half the problem is fixed and still the haif , now i can see the partition but i can't access in to it , i print the dmesg logs and here is the screen pic

     

    gprart.png

     

    gpar.png

     

     

     

    gprat.png

     

    i installed the hfsplusutils packages and same problem , i don't the it's from the mac encryption partition

     

    thank you

  • by fhalzahrani.c,

    fhalzahrani.c fhalzahrani.c Feb 17, 2016 2:30 PM in response to SLF apex
    Level 1 (0 points)
    Feb 17, 2016 2:30 PM in response to SLF apex

    hello sir

     

    thanx for the comment , the problem is the progarm asked for mac and i can't access to the mac is they are any version for Linux ? at lest and i am ready to buy it

     

    thank you

Page 1 Next