and ppc HFS partition still not working either

altern enrike at altern.org
Tue Dec 21 20:19:23 UTC 2004


hi all

just to refresh memory about this issue:  i was trying to find out how 
to mount on Ubuntu a hfs partition on my ppc machine with dualboot 
OSX/Ubuntu so that i could access this partition from both operative systems

i have been unable to try what the suggestions that Brian Barr did me 
about it few weeks ago, too busy with some stupid things. :) But today 
finally i did it.

He suggested to add this line
/dev/hda5     /mnt/mac                   hfs                   0 
      0
into the  /etc/fstab and create the new mount directory mac in /mnt

I changed the /etc/fstab to add the line about the new partition. Then i 
created a new folder called mac under /mnt but I got an error saying 
wrong "fs type, bad option" and some other stuff, so i changed the line to

/dev/hda5     /mnt/mac                   hfsplus        defaults 
    0             0

This works and i am able to access the partition, however i am not sure 
about the "defaults" option. Would it be better to have 
"defaults,errors=remount-ro" or mayybe some other one?

it would be good also if this partition would come in the home directory 
or desktop. I need to access it pretty often. I am not sure about how to 
do this. Maybe put a link there?

below it iss Brians email about this issue.

thanks to all for the help

>> > If you don't have the HFS partitions listed in /etc/fstab, they will 
>>not be mounted.  On my i386 box, the FAT32 > partitions are not 
>>auto-mounted either unless I specify it.
>>
>>I see.
>>This is the content of my /etc/fstab ,  how should i include the other 
>>two partitions?
>>
>># /etc/fstab: static file system information.
>>#
>># <file system> <mount point>   <type>  <options>       <dump>  <pass>
>>proc           	 /proc            	 proc     		defaults        0       0
>>/dev/hda4      	/                 	 ext3   	 defaults,errors=remount-ro 
>>0       1
>>/dev/hda6      	 none           	 swap   	 sw              0       0
>>/dev/hdc        /media/cdrom0  	 udf, 		iso9660 ro,user,noauto  0       0
> 
> 
> A line like this would mount your HFS partition (your actual partition may be different, and make sure that the mount point, an empty directory exists):
> 
> /dev/hda5     /mnt/mac                   hfs                   0             0
> 
> As I mentioned before, if you really don't need much access to the HFS partitions, the hfsutils package is probably the best way to access it.
> 
> Good luck.
> 
> 


-- 
enrike





More information about the ubuntu-users mailing list