Showing posts with label ipod. Show all posts
Showing posts with label ipod. Show all posts

Sunday, February 5, 2017

Getting an iPod 3G Nano (and others) to work in Linux

After none of the music apps that I installed correctly detected my 3G iPod, I decided to poke around and try to do it myself.  I tried using ifuse, etc. using this article as a guide:

http://geeknizer.com/sync-iphone-linux/

But it would only mount my iPod in read-only.  so then I tried mounting it manually but I didn't know what device it was, so over on Stack Overflow I found this command:

sudo lsblk -io NAME,TYPE,SIZE,MOUNTPOINT,FSTYPE,MODEL

And figured out my iPod was on /dev/sdd1

I then created a folder in /mnt

sudo mkdir /mnt/ipod

...then mounted it:

sudo mount -rw -o uid=1000 /dev/sdd1 /mnt/ipod

-rw is for read-write access, and I threw in -o uid=1000 to ensure that it's mounted for the currently logged in user.  My uid happened to be 1000, but you can find yours by typing:

id -u <your_username_here>

I then used gtkpod to manage my iPod.  It's not user-friendly so I followed this guide:

https://www.howtoforge.com/linux_gtkpod_ipod

TLDR for link above:  create a new repository (point it to /mnt/ipod, tell it what model ipod you have, name it), then sync it off the main screen.  you should see your files now.