You are not logged in.
Pages: 1
I'm using arch64 on my aluminum imac and im trying to mount my mac partition. I can get it to mount by putting:
/dev/sda2 /media/MacOsX hfsplus defaults 0 1
in my /etc/fstab. This is mounting it read only, though. I have disabled journaling on mac as I read that helps mounting issues.
mount shows:
[eric@eric_imac_arch Desktop]$ mount
/dev/sda3 on / type ext3 (rw)
none on /dev type ramfs (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw)
none on /dev/shm type tmpfs (rw)
/dev/sda2 on /media/MacOsX type hfsplus (rw)
Offline
/dev/sda2 on /media/MacOsX type hfsplus (rw)
According to this, your drive is mounted with read and write permissions. What do you get if you run command "ls -l /media/"? Are you sure that your owner and a group settings are correct?
Offline
ep2011 wrote:/dev/sda2 on /media/MacOsX type hfsplus (rw)
According to this, your drive is mounted with read and write permissions. What do you get if you run command "ls -l /media/"? Are you sure that your owner and a group settings are correct?
Well, thats what I thought. When I was trying to fix it, I must have forget to unmount the drive, so now mac won't boot.. I am trying to fix it, but I may need a reinstall.. On startup it shuts down in the middle of the loading screen, and disk utility won't fix it.
Edit: Now I fixed it,
[eric@eric_arch ~]$ ls -l /media/
total 16
drwxrwxr-x 2 root root 4096 2009-04-03 14:26 MacOsX
drwxr-xr-x 2 root root 4096 2009-01-11 09:31 cd
drwxr-xr-x 2 root root 4096 2009-01-11 09:31 dvd
drwxr-xr-x 2 root root 4096 2009-01-11 09:31 fl
I'm not positive but I think my owner settings are correct, how do I check?
Last edited by ep2011 (2009-04-06 23:20:17)
Offline
For starters, I would recommend you to take a look at this documentation: http://tldp.org/LDP/intro-linux/html/sect_03_04.html. It will help you to understand how those permissions work.
drwxrwxr-x 2 root root 4096 2009-04-03 14:26 MacOsX
Did you try to write to that disk with your normal user account? It does not work because only root can do that. The line "root root" means that the owner and group is root.
If you want to change that, then add parameters uid and gid to your fstab file. Uid will change the user and gid the group.
/dev/sda2 /media/MacOsX hfsplus defaults,uid=change-to-correct-username,gid=users 0 1
Offline
I actually used sudo cp to test it.. so I don't think changing the paramters would do anything?
Offline
I actually think I will create a shared partition instead, because i'm a little worried about mac partition being corrupt as it was last time. What filesystem is best to share between mac and linux?
Offline
Pages: 1