LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-04-2011, 11:43 PM   #1
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,105
Blog Entries: 2

Rep: Reputation: 258Reputation: 258Reputation: 258
Can't mount HFS+ iPod.


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.
 
Old 11-05-2011, 04:00 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Try leaving off the partition number:

Code:
mount -t hfsplus /dev/sdj /media/ipodblkr9k
 
Old 11-05-2011, 05:24 PM   #3
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,105

Original Poster
Blog Entries: 2

Rep: Reputation: 258Reputation: 258Reputation: 258
Tried that, same result:
Code:
# mount -t hfsplus /dev/sdj /media/ipodblkr9k
mount: wrong fs type, bad option, bad superblock on /dev/sdj,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
iPod/HFS+ in Linux Jinouchi Linux - Software 6 01-16-2010 01:16 PM
HFS in FreeBSD 6.0? works with iPod? shuuhen *BSD 1 02-10-2006 08:53 AM
Linux and iPod HFS+ Kenji Miyamoto Linux - General 13 04-13-2005 12:04 PM
Need help mounting an iPod that is formatted hfs+ ShaneK Linux - Hardware 3 03-31-2005 03:29 PM
hfs ipod troubles will.law Linux - Hardware 0 05-20-2004 10:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration