SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I would like to mount a firewire attached harddisk fdisk and formated using Mac Os X.
The filesystem is hfs+ (journaled). It has Apple style slice partitions.
I think my kernel is compiled to support that. And HFS+ of course (can mount hfs+ cds).
I have
Code:
hfs
xhfs
installed.
using hfs /dev/sda gave me the following output:
Code:
root@fire:~# hfs /dev/sda
hfsutils version 3.2.6 - Copyright (C) 1996-1998 Robert Leslie
This is free software but comes with ABSOLUTELY NO WARRANTY.
Type `license' for details.
/dev/sda contains 1 HFS partition
partition unspecified; selecting number 1
can't mount volume: not a Macintosh HFS volume (Invalid argument)
while executing
"hfs mount $path $partno"
(procedure "hmount" line 20)
invoked from within
"hmount /dev/sda"
("eval" body line 1)
invoked from within
"eval hmount $argv"
invoked from within
"if {$argc > 0} {
eval hmount $argv
}"
(file "/usr/bin/hfs" line 457)
Using /dev/sda
Information: The operating system thinks the geometry on /dev/sda is 29325/64/32. Therefore, cylinder 1024 ends at
1023.999M.
(parted) p
Disk geometry for /dev/sda: 0.000-29325.515 megabytes
Disk label type: mac
Minor Start End Filesystem Name Flags
1 0.000 0.031 Apple
3 128.031 29325.507 Apple_HFS_Untitled_2
(parted)
Your cd are not in hfs+ if you mount it successfully with hfs, you need definitivly hfsplus feature enabled in kernel
config. Example : when I try to mount the Panther install CD with hfs (not hfsplus) I see only a few files but if I
mount it with hfsplus, I see all the files.
Thanks. I have downloaded the hfsplus from http://www.ardistech.com/hfsplus/
In the process of compiling the patched kernel. Taking this opportunity to migrate to 2.6.9. Have been stuck with 2.6.7 since 2.6.8.1 didn't work for me.
Do I need to upgrade my hfs tools to include hfsplus? If yes, how do I go about it?
Frankly I use only the hfsplus (compiled as module) that come with standard kernel sources, I never
patched the kernel for that and I use mount command to mount hfs / hfs+ drives, I never used other
softwares than mount.
Why did you need the patch, your hfsplus driver didn't work ?
Originally posted by Cedrik Frankly I use only the hfsplus (compiled as module) that come with standard kernel sources, I never
patched the kernel for that and I use mount command to mount hfs / hfs+ drives, I never used other
softwares than mount.
Why did you need the patch, your hfsplus driver didn't work ?
The problem is, I did compile in hfsplus driver but it didn't appear in /proc/filesystem (before patch). Therefore I assumed that the kernel does not have it and had to be patched.
Am recompiling a clean 2.6.9 without patch now. Will post the results here later. man pages sieze to work after migrating to 2.6.9.
EDITED: Do I compile both hfs and hfsplus? Or just hfsplus?
Last edited by carboncopy; 12-01-2004 at 09:22 AM.
I compiled hfsplus in to the kernel (built-in) not as module (2.6.7 and 2.6.9-1st attempt). Still trying again. And waiting for the kernel to compile now.
If it fails again, try to compile it as module, it always worked for me this way. I have 2 modules,
hfs and hfsplus and they are loaded when I mount an apple cdrom (I added filesystem hfs and
hfsplus in fstab for cdrom) or when I mount a drive with -t hfs or -t hfsplus
EDITED: If I knew I can read/write HFS+ drives I would have save quite a sum of money on harddisk enclosures.
Got it working by compiling hfs and hfsplus in 2.6.9 kernel as modules.
Thanks Cedrik for your patient, and ideas.
Last edited by carboncopy; 12-01-2004 at 10:36 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.