Access Denied Error or File/Folder Permission Issues on an External Drive. When connecting an external drive to a Windows 7, Vista, XP, or 2000 Pro computer.
See To quote from the second/third answer down: First, make sure that you have hfsprogs installed. Example installation command: sudo apt-get install hfsprogs Next, mount or remount the HFS+ drive; commands need to be as follows: sudo mount -t hfsplus -o force,rw /dev/sdXY /media/mntpoint or sudo mount -t hfsplus -o remount,force,rw /mount/point.
Finally, if the drive was improperly unmounted or has otherwise become partially corrupted run fsck.hfsplus. As such: sudo fsck.hfsplus -f /dev/sdXY There is a goldmine of other information there regarding the mounting of HFS+ filesystems. I tried and get sudo mount -t hfsplus -o force,rw /dev/sdb2 /media/sdb2 mount: /dev/sdb2 already mounted or /media/sdb2 busy mount: according to mtab, /dev/sdb2 is mounted on /media/1ad12b58-c2f2-39d3-955f-54ea66a96b2b The drive (a hfs+ journaled volume) mounts as read only. Is it possible to write to it without having to undo the journaling on mac os?
I tried the last command and get. Checking HFS Plus volume. Fsckhfs: Volume is journaled. No checking performed. Fsckhfs: Use the -f option to force checking. – Aug 14 '13 at 13:47. From the link posted above: 'You need to turn off the journaling if you want to write to it from Ubuntu.
Ubuntu only has support for writing to non-journaled HFS+ volumes. On your Mac: Open Disk Utility under Applications - Utilities Select the volume to disable journaling on. Choose Disable Journaling from the File menu. (On later Mac OS versions you'll have to hold down the option button when you click the File menu. Or if you like Apple+J)' I don't have access to a mac, is it possible to gain read and write access on the drive without losing the data? Thanks b – Aug 14 '13 at 13:56. Since I cannot comment (not enough reputation here:).
I will post this answer to point out that the answer above appears to be for a hfs+ HD that is not journalled. The 'fsck.hfsplus' command needs to be issued with the '-f' option to work on a journalled volume. To avoid confusion I've copied the command below: $ sudo fsck.hfsplus /dev/sdXY. /dev/sdXY snip. The volume ########### appears to be OK.
This would only run on a volume that has not been journalled. Even with the '-f' option on a journalled volume this check in itself will not allow the remounted volume to be mounted read/write. I believe journalling must be turned off. There does not seem to be stable code available to turn off journalling from linux. See the link provided by Richard: If journalling is turned off and the disk initially mounts as read-only unmounting and remounting should allow read/write if the disk is undamaged. If it is damaged then fsck.hfsplus needs to be run. Borrowing from the previous answer, the following steps worked for me.
Hopefully this is useful to others:. Plug in the external HDD. Notice that Ubuntu mounts it automatically but it is read-only. Unmount the drive (I do this simply by clicking on the eject button in the file explorer). sudo apt-get install hfsprogs. $ sudo fsck.hfsplus /dev/sdXY. /dev/sdXY.
Checking HFS Plus volume. Detected a case-sensitive catalog. Checking Extents Overflow file.
Checking Catalog file. Checking multi-linked files. Checking Catalog hierarchy. Checking Extended Attributes file.
Checking volume bitmap. Checking volume information. The volume ########### appears to be OK. ( sudo fsck.hfsplus -f /dev/sdXY if filesystem is journaled.). Remount the drive (I do this simply by clicking on the drive in the file explorer).
The drive is now read-write.