From: Joost Kremers on
hi all,

i'm trying to mount a usb disk formatted under OSX as hfs+, but i'm having no
luck. when i attach the drive, dmesg tells me one partition is found, but i'm
not able to mount it. `mount -t hfsplus /dev/sdf1 /mnt/hd' returns 'hfs: unable
to find HFS+ superblock'. (the hfsplus module *is* loaded, btw.)

fdisk/cfdisk don't seem to want to read the partition table, but parted does. it
tells me the following:

===============================================================================

(parted) print
Model: WD 3200BMV External (scsi)
Disk /dev/sdf: 320GB
Sector size (logical/physical): 512B/512BPartition Table: gpt

Number Start End Size File system Name Flags
1 20.5kB 210MB 210MB fat32 EFI System Partition boot
2 210MB 320GB 320GB hfsx WDigital

===============================================================================

obviously, the first partition is *not* the one that needs to be mounted.
rather, the second partition is the right one. but the kernel doesn't even see
it...

this suggested to me that perhaps the kernel wasn't configured for mac partition
tables, but:

joost(a)darkstar:~ $ grep MAC_PARTITION /boot/config
CONFIG_MAC_PARTITION=y

annoyingly, my netbook, which runs a ubuntu derivative, can mount the drive just
fine. the netbook's kernel is 2.6.29, i'm using the default slack 13 kernel
2.6.29.6.

when i compare the output of dmesg on the netbook and on slackware, they're
identical, except for the fact that the netbook detects two partitions and
slackware just one...

anyone have an idea what might be wrong?

TIA


--
Joost Kremers joostkremers(a)yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
From: Joost Kremers on
Joost Kremers wrote:
> joost(a)darkstar:~ $ grep MAC_PARTITION /boot/config
> CONFIG_MAC_PARTITION=y

following up to my own post: it seems that another essential option is *not*
set:

joost(a)darkstar:~ $ grep EFI /boot/config
# CONFIG_EFI is not set
# CONFIG_EFI_PARTITION is not set

so i guess i'll need to go and recompile the kernel... :-(


--
Joost Kremers joostkremers(a)yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
From: Joost Kremers on
Joost Kremers wrote:
> joost(a)darkstar:~ $ grep EFI /boot/config
> # CONFIG_EFI is not set
> # CONFIG_EFI_PARTITION is not set
>
> so i guess i'll need to go and recompile the kernel... :-(

ok, so that does indeed work. recompiled the kernel with CONFIG_EFI_PARTITION
set and now the disk is mounted fine.


--
Joost Kremers joostkremers(a)yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)