I'm on Ubuntu MATE trying to get write access to an OSX hard drive to backup a buddy's data on his MBP that bit the dust when the battery exploded in the computer. I've seen the thread over here:

How to mount a HFS partition in Ubuntu as Read/Write?

That said to use this to remount:

sudo mount -t hfsplus -o remount,force,rw /dev/sdx# /mount/point

My question, is the sdx# where you tell Linux which HDD to remount? If so how do you find that number? I'm a real noobie when it comes to Linux and I'm trying to pick it up as I go, I just don't want to mess his stuff up so figured I'd better ask first.

  • Note: The HDD is still good. I can see all his files and open them in sudo, but can't copy/paste which is why I need write access to back it up.

In a the Ubuntu terminal you can type 'sudo fdisk -l' to list drives and partitions.

  • And that drive is what goes on the sdx# portion? Does it take the place of the whole sdx# string or just the '#' character? – biggi_ Aug 15 '16 at 16:24
  • Replace sdx with the partition label. So if it's sda1 then use /dev/sda1. If it's sdb1 then use /dev/sdb1 – Superuser_do Aug 15 '16 at 16:28
  • Sounds good, thank you! I'm assuming that this will give me enough capability to recover his files off the HFS+ journaled partition? – biggi_ Aug 15 '16 at 16:29
  • Have you installed hfsprogs? – Superuser_do Aug 15 '16 at 16:34
  • Not currently, I just found the link I posted today and plan on doing this this evening when I get home. But when I install that and do the remount, I should be good correct? – biggi_ Aug 15 '16 at 16:34

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.