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).

  • 相关阅读:
    四则运算程序总结
    软件体系结构第三章-解释器风格
    软件工程概论随笔2
    软件体系结构第二章随笔
    软件体系结构第一章随笔
    关于如何衡量个人在各自团队的效率和绩效
    查询sql数据库中表占用的空间大小
    如何调试触发器
    sql server查看某个表上的触发器
    触发器deleted 表和 inserted 表详解
  • 原文地址:https://www.cnblogs.com/timssd/p/4594391.html
Copyright © 2011-2022 走看看