Find the answer to your Linux question:
Results 1 to 5 of 5
Hi everyone I recently bought a new PC to replace an old failing iMac i was running Linux on the iMac so decided to buy a refurbished PC to install ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! hillmort's Avatar
    Join Date
    Jan 2010
    Posts
    11

    Using Lacie external HD, formerly used with mac osx


    Hi everyone

    I recently bought a new PC to replace an old failing iMac i was running Linux on the iMac so decided to buy a refurbished PC to install Linux.
    I'm currently running mint 8 for the record.. I don't know if it's too relevant to my question...
    anyway

    I was using this Lacie 750gb HD to backup files in Mac OS X, there is a 30gb FAT partition and the rest is HFS+.
    I recently read that using " hfsplus " from the depositories you can mount HFS+ rw, but ONLY if it is journaled. (how can check this?)

    I imagine another option would be to back the disk up and repartition it as FAT and Ext4 or is that possible? what is the best way to do that?

    If anyone has time to share any experiences or knowledge on this subject I would appreciate it a lot, I'm having a hard time finding much info about it.
    I will have to backup the data on this drive first, so I don' t wanna make any hasty choices.

    Last edited by hillmort; 01-21-2010 at 08:34 AM. Reason: unclear parts

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    First of all, we have to check Partition Structure and device names assigned to each partition.
    Open Terminal and execute this
    Code:
    sudo fdisk -l
    Post output here.

    I recently read that using " hfsplus " from the depositories you can mount HFS+ rw, but ONLY if it is journaled. (
    AFAIK, to enable read/write access, Journaling must be disabled but you can check and change its status through Mac's Disk Utility package only.

    Just post the output of sudo fdisk -l command. We will try to mount HFS+ Partition(s). If you will have read/write access, you can keep using it that way only. In case of read only access, just back up data to another partition or disk and format HFS+ partition(s).
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined! hillmort's Avatar
    Join Date
    Jan 2010
    Posts
    11

    thanks, here is some more info

    here is the output of fdisk -l

    Code:
    Disk /dev/sda: 80.0 GB, 80032038912 bytes
    255 heads, 63 sectors/track, 9730 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xa0cf51ef
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1        3683    29583666    7  HPFS/NTFS
    /dev/sda2            9478        9730     2032222+   5  Extended
    /dev/sda3            3684        9477    46540305   83  Linux
    /dev/sda5            9478        9730     2032191   82  Linux swap / Solaris
    
    Partition table entries are not in disk order
    
    Disk /dev/sdc: 750.2 GB, 750156374016 bytes
    255 heads, 63 sectors/track, 91201 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xf28d4daa
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdc1               1       87311   701323240   af  HFS / HFS+
    Partition 1 does not end on cylinder boundary.
    /dev/sdc2           87311       91202    31250000    b  W95 FAT32
    Partition 2 does not end on cylinder boundary.
    AFAIK, to enable read/write access, Journaling must be disabled but you can check and change its status through Mac's Disk Utility package only.
    I still have access to other mac os x computers I will check this out as well whenI have more time.

    thanks a million

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Open Terminal and execute this
    Code:
    cd /media
    sudo mkdir mac
    sudo mount -t  hfsplus  /dev/sdc1  /media/sdc1  -o defaults,umask=0
    ls /media/mac
    Check if you have read/write access in /media/mac. If it works, add this line in /etc/fstab file to automount HFS+ partition at boot up.
    Code:
    /dev/sdc1    /media/mac    hfsplus    defaults,umask=0  0  0
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    Just Joined! hillmort's Avatar
    Join Date
    Jan 2010
    Posts
    11
    hello
    I followed your instructions, the only thing I changed was:
    Code:
    sudo mount -t  hfsplus  /dev/sdc1  /media/sdc1  -o defaults,umask=0
    I instead wrote:
    Code:
    sudo mount -t  hfsplus  /dev/sdc1  /media/mac  -o defaults,umask=0
    It mounts the drive correctly to the "mac " folder, but I am still unable to write to it.
    I checked the hd with Disk Utitlity on a mac, and it is NOT set to journal so I'm not sure what is up.

    any adjustments I could make?
    I'll look around myself on the internet, in the meantime now that I know more what I'm looking for, hopefully I can figure it out.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •