[wellylug] Mounting a USB HDD that was partitioned with MacOS X

Gordon Paynter lists at paynter.info
Tue Apr 26 17:20:43 NZST 2005


Hi all:

Does anyone know how to mount an external USB hard drive that has been 
partitioned with MacOS X?  I have a non-bootable external USB HDD that I use 
on my iBook, which has a single large partition (though Mac's sometimes make 
other, off, hidden partitions, in my experience).


I have compiled verything I need into the kernel, I think, including SCSI and 
USB mass storage.  When I plug the drive in and activate it, it shows up in 
my logs.  Here's what's in the kernel log (wrapped my me for display):

Apr 26 17:10:41 pukeko kernel: 
    Attached scsi disk sda at scsi2, channel 0, id 0, lun 0
Apr 26 17:10:41 pukeko kernel: 
    usb-storage: device scan complete
Apr 26 17:10:41 pukeko scsi.agent[7324]:
    sd_mod: loaded sucessfully (for disk)
Apr 26 17:10:41 pukeko udev[7337]: 
    creating device node '/dev/sda'

It looks good, but I can't figure out how to mount it.  Here;s what mount 
reports (no matter what partition number I try instead of sda1):

# mount -t hfs /dev/sda1 /laser
mount: special device /dev/sda1 does not exist

Note that I'm mounting as HFS, even though I know the partition is HFS+.  Both 
are compile in the kernel.  Fdisk isn't any help:

# fdisk /dev/sda
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF 
disklabel [snip - lots of warnings]

I used to run debian on my ibook, and I used a program called mac-fdisk to 
manipulate the partition table.  Is that what I need here?  Unfortunately, it 
doesn't seem to be available via Debian on x86.

Any help appreciated.
Gordon




More information about the wellylug mailing list