Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Access iPod Classic HD [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1709

PostPosted: Tue Oct 24, 2017 1:08 am    Post subject: Access iPod Classic HD [Solved] Reply with quote

I'm trying to get some music off my wife's old iPod classic (I think it's v5, but can double check if more specific is needed) on my AMD64 Gentoo machine (via command line). I want to mount the drive as read-only (though RW would be fine) and can't seem to figure out why it isn't working. I understand that the iPod classic's all use HFS+ and I enabled HFS and HFS+ in the kernel as well as the Macintosh Partitioning Scheme. Dmesg comes up with:

dmesg:
[    1.597278] usb 1-1.2: new high-speed USB device number 3 using ehci-pci
[    1.613947] usb 2-1.7: new full-speed USB device number 3 using ehci-pci
[    1.666234] random: fast init done
[    1.696381] usb 1-1.2: New USB device found, idVendor=05ac, idProduct=1209
[    1.696390] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.696399] usb 1-1.2: Product: iPod
[    1.696405] usb 1-1.2: Manufacturer: Apple
[    1.696410] usb 1-1.2: SerialNumber: 000A270015A081A5
[    1.696890] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    1.697065] scsi host8: usb-storage 1-1.2:1.0
[    1.711608] usb 2-1.7: New USB device found, idVendor=0b05, idProduct=179c
[    1.711617] usb 2-1.7: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.830602] tsc: Refined TSC clocksource calibration: 3310.800 MHz
[    1.830615] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2fb9265f317, max_idle_ns: 440795256718 ns
[    2.711628] scsi 8:0:0:0: Direct-Access     Apple    iPod             1.62 PQ: 0 ANSI: 0
[    2.711824] sd 8:0:0:0: Attached scsi generic sg3 type 0
[    2.844146] clocksource: Switched to clocksource tsc
[    3.554446] random: crng init done
[    7.154756] udevd[1523]: starting version 3.1.5
[    7.557854] fuse init (API version 7.26)
[    7.671340] wmi: Mapper loaded
[    7.693619] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[    7.871407] ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x000000000000057F (\_SB.PCI0.SBRG.GPBX) (20160831/utaddress-247)
[    7.871414] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    7.871415] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x000000000000057F (\_SB.PCI0.SBRG.GPBX) (20160831/utaddress-247)
[    7.871419] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    7.871420] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x000000000000057F (\_SB.PCI0.SBRG.GPBX) (20160831/utaddress-247)
[    7.871424] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    7.871425] lpc_ich: Resource conflict(s) found affecting gpio_ich
[    8.123784] [drm] Initialized
[    8.269097] iTCO_vendor_support: vendor-support=0
[    8.271603] usbcore: registered new interface driver uas
[    8.304001] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
[    8.304036] iTCO_wdt: Found a Cougar Point TCO device (Version=2, TCOBASE=0x0460)
[    8.304174] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[    8.334904] Bluetooth: Core ver 2.22

(I'm not sure where what might be important starts and stops, so this should be a little before and after)

Farther down:
Code:
[   22.826816] sd 8:0:0:0: [sdd] 14651280 2048-byte logical blocks: (30.0 GB/27.9 GiB)
[   22.828124] sd 8:0:0:0: [sdd] Write Protect is off
[   22.828127] sd 8:0:0:0: [sdd] Mode Sense: 68 00 00 08
[   22.829365] sd 8:0:0:0: [sdd] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   22.897867] sd 8:0:0:0: [sdd] Attached SCSI removable disk


I also emerged hfsutils, hfsplusutils, and diskdev_cmds. I've rebooted and while sdd is created, no partition comes up (ie: only /dev/sdd exists, not /dev/sdd0). Any thoughts as to why this doesn't come up as a block device?


Last edited by alienjon on Sat Oct 28, 2017 11:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21602

PostPosted: Tue Oct 24, 2017 3:29 am    Post subject: Reply with quote

sdd is a block device, albeit one with no recognized partition table. What is the output of file -s /dev/sdd?
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1709

PostPosted: Tue Oct 24, 2017 3:53 am    Post subject: Reply with quote

Hi Hu! This is the output:

Code:
/dev/sdd: Apple Driver Map, blocksize 2048, blockcount 14651279, devtype 0, devid 0, driver count 0
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1844
Location: Oranienburg/Germany

PostPosted: Tue Oct 24, 2017 5:04 am    Post subject: Reply with quote

Hi,

I dont think you will be able to copy any of the music files of that iPod to your computer, since iPods use a strange onboard database to save songs. You will need something like iTunes or if its still available like gtkpod.

greets, bb
_________________
Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1709

PostPosted: Tue Oct 24, 2017 11:52 pm    Post subject: Reply with quote

bbgermany wrote:
Hi,

I dont think you will be able to copy any of the music files of that iPod to your computer, since iPods use a strange onboard database to save songs. You will need something like iTunes or if its still available like gtkpod.

greets, bb


Well that's frustrating... I don't use iTunes, but my wife's concerned that this is such an old iPod (she's had it for years and hasn't synced it for years as well) that syncing this with iTunes will erase all her music unless she's really careful about it. They were songs she had bought DRM free - not through iTunes - so I hoped I could simply copy them over via Linux to be safe about it. Doesn't sound like this'll work then?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21602

PostPosted: Wed Oct 25, 2017 2:12 am    Post subject: Reply with quote

From what I know of Apple, her concerns seem well-founded. Unfortunately, this is an area with which I have little experience. The output from file does not give me any ideas about how to proceed. I cannot say whether your current path is impossible.

I suppose you could use dd to image the entire device to some other storage. That might give you a second chance at recovering anything that Apple "helpfully" erases, but I wouldn't push my luck by assuming I can write the image back to the iPod and have it be exactly as it was before iTunes interfered. Instead, I'd use that image as the target of other recovery/analysis tools to try to dig out the target content.
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1709

PostPosted: Wed Oct 25, 2017 2:42 am    Post subject: Reply with quote

Hu wrote:
From what I know of Apple, her concerns seem well-founded. Unfortunately, this is an area with which I have little experience. The output from file does not give me any ideas about how to proceed. I cannot say whether your current path is impossible.

I suppose you could use dd to image the entire device to some other storage. That might give you a second chance at recovering anything that Apple "helpfully" erases, but I wouldn't push my luck by assuming I can write the image back to the iPod and have it be exactly as it was before iTunes interfered. Instead, I'd use that image as the target of other recovery/analysis tools to try to dig out the target content.


Thanks for the input. Analyzing that kind of image is beyond my expertise at the moment (though if I had more time I'd probably still give it a go). Thanks all for the thoughts!
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1844
Location: Oranienburg/Germany

PostPosted: Wed Oct 25, 2017 4:34 am    Post subject: Reply with quote

Hi,

You still have the chance to try gtkpod. I havent used it for ages, but maybe it is possible to grab the music, without the Apple ID.

greets, bb
_________________
Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB
Back to top
View user's profile Send private message
njharris
n00b
n00b


Joined: 17 Sep 2002
Posts: 13

PostPosted: Wed Oct 25, 2017 11:20 am    Post subject: Reply with quote

alienjon wrote:
Hu wrote:
From what I know of Apple, her concerns seem well-founded. Unfortunately, this is an area with which I have little experience. The output from file does not give me any ideas about how to proceed. I cannot say whether your current path is impossible.

I suppose you could use dd to image the entire device to some other storage. That might give you a second chance at recovering anything that Apple "helpfully" erases, but I wouldn't push my luck by assuming I can write the image back to the iPod and have it be exactly as it was before iTunes interfered. Instead, I'd use that image as the target of other recovery/analysis tools to try to dig out the target content.


Thanks for the input. Analyzing that kind of image is beyond my expertise at the moment (though if I had more time I'd probably still give it a go). Thanks all for the thoughts!


I've used Amarok+gtkpod for years to sync my music files between my IPOD Classic (also V5, I think) and my Gentoo laptop. Very much plug-and-play.
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1709

PostPosted: Thu Oct 26, 2017 2:42 am    Post subject: Reply with quote

njharris wrote:
alienjon wrote:
Hu wrote:
From what I know of Apple, her concerns seem well-founded. Unfortunately, this is an area with which I have little experience. The output from file does not give me any ideas about how to proceed. I cannot say whether your current path is impossible.

I suppose you could use dd to image the entire device to some other storage. That might give you a second chance at recovering anything that Apple "helpfully" erases, but I wouldn't push my luck by assuming I can write the image back to the iPod and have it be exactly as it was before iTunes interfered. Instead, I'd use that image as the target of other recovery/analysis tools to try to dig out the target content.


Thanks for the input. Analyzing that kind of image is beyond my expertise at the moment (though if I had more time I'd probably still give it a go). Thanks all for the thoughts!


I've used Amarok+gtkpod for years to sync my music files between my IPOD Classic (also V5, I think) and my Gentoo laptop. Very much plug-and-play.


The problem is that it's a headless Gentoo I'm using. It's mostly a server, but hoped I could have a command line way of going about this. I tried Amarok for Windows, but I can't seem to find how to even identify the iPod, much less get music off of it... Any experience with the Windows version by chance? (I doubt there's a command line version of Amarok to try?)
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21602

PostPosted: Fri Oct 27, 2017 2:19 am    Post subject: Reply with quote

Why does it matter that it's headless? ;) Forward the X11 application from that system back to your personal system over ssh. If for some strange reason your personal system isn't running an X11 server (perhaps you're in a mixed-use house and don't use Linux on your desktop), you could install a VNC server on the Gentoo system, connect the X11 application to the VNC server, then run a VNC viewer on your non-Linux personal system to see the program that way.
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1709

PostPosted: Sat Oct 28, 2017 11:26 pm    Post subject: Reply with quote

Hu wrote:
Why does it matter that it's headless? ;) Forward the X11 application from that system back to your personal system over ssh. If for some strange reason your personal system isn't running an X11 server (perhaps you're in a mixed-use house and don't use Linux on your desktop), you could install a VNC server on the Gentoo system, connect the X11 application to the VNC server, then run a VNC viewer on your non-Linux personal system to see the program that way.


Not a bad thought. I actually realized I had another option too. Took me a little bit, but I was able to install a Virtualbox on my Windows 10. I had a problem initially connecting the iPod into the Virtualbox, but after it did things went very smoothly. I my main concern with the X11 idea was installing a bunch of X programs that'd I need to remove later. This was a bit more of an encapsulated solution. Thanks all for the input!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum