I'm using a 7th gen iPod (160GB) if that matters.
I'm trying to mount the iPod for use with gtkpod (or similar). According to what I've been reading, mounting a HFS+ partition should be easy under Linux. I'm not having such luck. I have the hfsplus, hfsprogs, and hfsutils installed.
This is the filesystem info reported by OSX 10.4.11
Code:
$ diskutil info /Volumes/ipodblkr9k
Device Node: /dev/disk2s2
Device Identifier: disk2s2
Mount Point: /Volumes/ipodblkr9k
Volume Name: ipodblkr9k
File System: HFS+
Owners: Disabled
Partition Type: Apple_HFS
Bootable: Is bootable
Media Type: Generic
Protocol: USB
SMART Status: Not Supported
UUID: F20513AE-5F94-3B87-8B6A-C48D0C487EB2
Total Size: 148.9 GB
Free Space: 144.8 GB
Read Only: No
Ejectable: Yes
$ diskutil verifyVolume /Volumes/ipodblkr9k
Started verify/repair on volume disk2s2 ipodblkr9k
Checking HFS Plus volume.
Checking Extents Overflow file.
Checking Catalog file.
Checking Catalog hierarchy.
Checking volume bitmap.
Checking volume information.
The volume ipodblkr9k appears to be OK.
Mounting Disk
Verify/repair finished on volume disk2s2 ipodblkr9k
Info reported by Linux 3.0.0-1
Code:
# grep hfs /proc/filesystems
hfsplus
hfs
# blkid
/dev/sdj2: UUID="f20513ae-5f94-3b87-8b6a-c48d0c487eb2" LABEL="ipodblkr9k" TYPE="hfsplus"
# fdisk -l /dev/sdj
Note: sector size is 4096 (not 512)
Disk /dev/sdj: 159.8 GB, 159840301056 bytes
255 heads, 63 sectors/track, 2429 cylinders, total 39023511 sectors
Units = sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/sdj doesn't contain a valid partition table
# mmls /dev/sdj
MAC Partition Map
Offset Sector: 0
Units are in 4096-byte sectors
Slot Start End Length Description
00: ----- 0000000000 0000000000 0000000001 Unallocated
01: 00 0000000001 0000000062 0000000062 Apple_partition_map
02: Meta 0000000001 0000000002 0000000002 Table
03: ----- 0000000063 0000000063 0000000001 Unallocated
04: 01 0000000064 0039023495 0039023432 Apple_HFS
05: ----- 0039023496 0039023510 0000000015 Unallocated
Attempts to mount the iPod:
Code:
# mount -t hfsplus /dev/sdj2 /media/ipodblkr9k
mount: wrong fs type, bad option, bad superblock on /dev/sdj2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
# mount -t hfsplus -o ro,loop,offset=262144 /dev/sdj /media/ipodblkr9k
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
# hpmount -r -p4 /dev/sdj
hpmount: /dev/sdj: No valid Apple_HFS partition found (Unknown error 18446744073709551615)
I'm not sure what else to try at the moment.