1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Using Ubuntu to recover from an OSX drive

Discussion in 'Linux / BSD / Mac OS X' started by Atnevon, Mar 14, 2010.

  1. Atnevon

    Atnevon

    Joined:
    Sep 5, 2007
    Messages:
    443 (0.17/day)
    Thanks Received:
    29
    Hello TPU,

    So I have had little experience diving into Ubuntu. With not so great results, but did enjoy the ability to have control.

    One of my friends has a hard drive that is not booting correctly in their iMac. I want to try and recover the data with my compy, but as we know, Windows will not be able to read the drive.

    However, I was wondering if I could burn Ubuntu to a CD, and use the non-install method to read the drive, and copy the files like her photos and 3D files to my windows drive. This would save me an OS install on my emergency drive, and make her happy to have her old school work around.

    Is this an easy task, or am I over my head?

    Thanks to any help or direction you can offer.
    -At
     
  2. Wile E

    Wile E Power User

    Joined:
    Oct 1, 2006
    Messages:
    24,324 (8.09/day)
    Thanks Received:
    3,778
    Do you know why it's not booting? Did you boot from the OS X disc, and try to go into Disc Utility and do a volume repair?

    If that doesn't work, you can install MacDrive in your Windows and copy the data that way. What model Mac does she have, btw?
     
  3. jimmt New Member

    Joined:
    Mar 13, 2010
    Messages:
    8 (0.00/day)
    Thanks Received:
    1
    Sure you can do mount -t hfsplus /dev/<drive> /path/to mount and mount the drive and copy data off of it.

    say you are booting from live CD and you want to backup the data to USB drive. You would do the following:

    mount -t hfsplus /dev/sda1 /mnt *this will mount the first drive to the /mnt folder

    Then cp -r data to /media/usb drive mount *assuming the USB drive is auto mounted from Ubuntu

    Hope this helps.
     
    Atnevon says thanks.
  4. Atnevon

    Atnevon

    Joined:
    Sep 5, 2007
    Messages:
    443 (0.17/day)
    Thanks Received:
    29
    Never thought to try that. Is it like browsing another Windows drive, or is there some trick to the navigation that I may need?

    I assume this is the terminal commands. Is using this method going to make a copy of the drive itself as hard drive image, a copy of the drive, or other? The instructions sound pretty straight forward, I'm just curious what to prep if I go this step.
     
  5. jimmt New Member

    Joined:
    Mar 13, 2010
    Messages:
    8 (0.00/day)
    Thanks Received:
    1
    Its just copying files from one drive to another and not an image. I can research how to take an image of HFS+ file system as I never had done it. It is something I am curious about since I have a Mac as well.
     
  6. Wile E

    Wile E Power User

    Joined:
    Oct 1, 2006
    Messages:
    24,324 (8.09/day)
    Thanks Received:
    3,778
    MacDrive mounts it as a regular drive.

    But first, boot from the OS X disc and do a repair with disc utility. It may just be a simple problem. There will be no need to save her data at all if we fix the issue.

    Iirc, you can image your drive from the OS X disc by using disc utility. At least you used to be able to, haven't had to do it in years.
     
    Atnevon says thanks.
  7. 933k

    933k New Member

    Joined:
    Mar 21, 2010
    Messages:
    20 (0.01/day)
    Thanks Received:
    7
    Location:
    New Zealand
    linux can read HFS+

    i have a hackint0sh install (OSX on PC) on one of my computers and i can look into the OSX system files from linux

    only problem you might come across is if the user folder is encrypted in OSX
     
  8. jimmt New Member

    Joined:
    Mar 13, 2010
    Messages:
    8 (0.00/day)
    Thanks Received:
    1
    You are correct. I had a brain dead moment. Though, I am curious if there are other forms of imaging you can do outside the Macintosh Drive utility.
     

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page