zoukankan      html  css  js  c++  java
  • MOUNT MACBOOK DISK (OSX / HFS+) ON UBUNTU 12.04 LTS WITH READ/WRITE

    MOUNT MACBOOK DISK (OSX / HFS+) ON UBUNTU 12.04 LTS WITH READ/WRITE

    So you want to mount your HFS+ (hfsplus) hard drive from your mac in your Ubuntu machine? Well this is the article which will explain how to do it in a few easy steps!

    1. Plug in using SATA + Power
    2. Boot into Ubuntu
    3. Mount the drive as read-only
    4. Force a Re-mount into Read/Write

    Let's get started...

    Install the drive from your Macbook into your machine and boot into the Ubuntu desktop.

    I am using Ubuntu 12.04 LTS to write this, but you could use any Ubuntu version as long as it's fairly new.

    You will need to fire-up the disk utility to identify (and note down) the device name and path for the Mac disk (eg: /dev/sdc2). Once you have this, continue...

    Depending on your setup, Ubuntu may have already mounted it into read-only mode... If Ubuntu has already mounted the drive then skip to "Force a re-mount in Read/Write mode" below.

    Mounting HFS+ OSX Volumes using hfsprogs/hfsplus

    1
    sudo apt-get install hfsprogs
    1
    sudo mkdir /media/mac
    1
    sudo mount -t hfsplus -o remount,force,rw /dev/sdc2 /media/mac
    Remember to use the device path that you found using the disk utility.

    The disk is now hopefully mounted for Read & Write. Give yourself a pat on the back.

    What to do now that the disk is mounted?

    It may be tempting at this point to change the ownership or permissions of the files on the mounted volume to access them, be wary! You could end up changing the ownership on many files which don't all have the same owner! This is dangerous. I always practice and advise that the files should be copied onto a different volume & location before they are accessed (use root or sudo).

  • 相关阅读:
    Python动态生成Bean类,并且带toString,equals,hashcode方法
    逆向工程核心原理——第十八章
    逆向工程核心原理——第十七章
    逆向工程核心原理——第十六章
    逆向工程核心原理——第十五章
    Creckme_bjanes.1
    CTF_python-trade
    大二下学期阅读笔记(人月神话)
    大二下学期个人作业(三个和尚)
    大二下学期团队项目(收藏转移)
  • 原文地址:https://www.cnblogs.com/timssd/p/4594391.html
Copyright © 2011-2022 走看看