abhiroopb
May 23rd, 2008, 11:21 AM
This is a guide I have put together through various other guides and my personal experience with the new black 80gb iPod Classic. This works for me so hopefully it will work for you!
NB: Going to start RIGHT at the begining, so I am assuming that you have ALL your music somewhere on your computer.
1. Cleaning out you're iPod
1. Connect the iPod.
2. It should appear in nautilus (if it does not, see below)
3. Browse to the iPod folder.
4. You should see the following folders: Calendars, Contacts, iPod_Control, Notes, Recordings.
6. Delete everything (NB: This erases you're iPod to factory settings erasing everything, including Music, Pictures, Videos, and Contacts)
7. Eject you're iPod.
8. Wait a bit and the apple logo should appear on the iPod
9. Select you're desired language.
If you're iPod did not automount do the following:
Create a folder in the media directory:
sudo mkdir /media/iPod2
Check where the iPod is mounted:
sudo fdisk -l
When you find the iPod (it should be FAT) make a note of what it says (e.g. /dev/sdf)
then type in the following:
sudo mount /dev/sdf /media/iPod2
This should have it mounted.
2. Amarok and Libgpod3:
From: http://ubuntu-utah.ubuntuforums.org/showthread.php?t=658523
(I have condensed it with the useful bits for Amarok)
Apple have recently released a new look for their ipods, but with the new interface comes more firmware encryption to stop 3rd party media players (including Amarok, Rhythmbox and gtkpod) syncing music to the ipods.
Since there is no itunes for linux it was up to the guys at http://ipodminusitunes.blogspot.com to crack it.
This should work for any new nanos and iPod classics. Please be aware that this is rather experimental. The programs installed by this tutorial are from the hardy repository so don't be suprised if they break stuff.
Here's how to get it working (type this into terminal one line at a time, use the same terminal session for all):
First to install the latest libgpod
sudo -i
cp /etc/apt/sources.list /etc/apt/sources.list.tmp
echo deb http://gb.archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse >> /etc/apt/sources.list
apt-get update
aptitude install libgpod3 libgpod-common
Then installing amarok (NB: if you already had amarok this will overwrite everything!)
aptitude install amarok
Removing the old libgpod
aptitude remove libgpod2
(this may prompt you to remove the ubuntu-desktop package, don't worry - it's only a meta-package)
then check if it works. if it does run
rm /etc/apt/sources.list
mv /etc/apt/sources.list.tmp /etc/apt/sources.list
apt-get update
3. Setting up Amarok
1. Here I assume you know how to use amarok (i.e. adding music, doing your own customisations, etc).
2. After you have done all that connect up your iPod.
3. Go to devices and your iPod SHOULD appear here (you may have to click connect) - you will be asked to "Initialize your iPod", say OK"
4. Set your iPod model by going to iPod (just below main toolbar on top)>Set iPod Model>Classic>80gb OR 160GB (black or silver).
5. Next go to collection and right click on whatever songs you want to transfer and select transfer to media device.
6. Next go back to device tab and select transfer (from the top).
7. Hopefully everything should transfer.
4. Properly Disconnecting
From: http://ubuntuforums.org/showthread.php?t=497201
(slightly tweaked so that it worked for me)
1. Click on the gears next to where it says iPod, this should open up a dialog for mounting and post-disconnect commands.
2. Leave the mount command blank and put the following in the disconnect box:
rm /media/iPod/iPod_Control/iTunes/iTunesLock;rm "/media/iPod/iPod_Control/iTunes/Play Counts";eject -t -d %d
where it says "rm /media/iPod/iPod Control" change "/media/iPod" to wherever your iPod is mounted (this can be found by going to nautilus browsing the iPod and looking at the address bar).
3. Click OK
4. WAIT for everything to complete (including on the bottom statusbar of Amarok which should say Flushing iPod Cache).
5. When everything seems to have stopped click on iPod>Update Artwork (this may take a while depending on the number of songs, but after it is done you will see Artwork updated on the bottom).
6. Click disconnect, it should say device successfully disconnected.
7. Now right-click on the iPod icon (either in nautilus or on the desktop, and select eject).
THATS IT!
Let me know if you have any problems or if there is an error in the guide.
NB: All of this worked for me and my iPod is running fine with music AND videos.
NB: Going to start RIGHT at the begining, so I am assuming that you have ALL your music somewhere on your computer.
1. Cleaning out you're iPod
1. Connect the iPod.
2. It should appear in nautilus (if it does not, see below)
3. Browse to the iPod folder.
4. You should see the following folders: Calendars, Contacts, iPod_Control, Notes, Recordings.
6. Delete everything (NB: This erases you're iPod to factory settings erasing everything, including Music, Pictures, Videos, and Contacts)
7. Eject you're iPod.
8. Wait a bit and the apple logo should appear on the iPod
9. Select you're desired language.
If you're iPod did not automount do the following:
Create a folder in the media directory:
sudo mkdir /media/iPod2
Check where the iPod is mounted:
sudo fdisk -l
When you find the iPod (it should be FAT) make a note of what it says (e.g. /dev/sdf)
then type in the following:
sudo mount /dev/sdf /media/iPod2
This should have it mounted.
2. Amarok and Libgpod3:
From: http://ubuntu-utah.ubuntuforums.org/showthread.php?t=658523
(I have condensed it with the useful bits for Amarok)
Apple have recently released a new look for their ipods, but with the new interface comes more firmware encryption to stop 3rd party media players (including Amarok, Rhythmbox and gtkpod) syncing music to the ipods.
Since there is no itunes for linux it was up to the guys at http://ipodminusitunes.blogspot.com to crack it.
This should work for any new nanos and iPod classics. Please be aware that this is rather experimental. The programs installed by this tutorial are from the hardy repository so don't be suprised if they break stuff.
Here's how to get it working (type this into terminal one line at a time, use the same terminal session for all):
First to install the latest libgpod
sudo -i
cp /etc/apt/sources.list /etc/apt/sources.list.tmp
echo deb http://gb.archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse >> /etc/apt/sources.list
apt-get update
aptitude install libgpod3 libgpod-common
Then installing amarok (NB: if you already had amarok this will overwrite everything!)
aptitude install amarok
Removing the old libgpod
aptitude remove libgpod2
(this may prompt you to remove the ubuntu-desktop package, don't worry - it's only a meta-package)
then check if it works. if it does run
rm /etc/apt/sources.list
mv /etc/apt/sources.list.tmp /etc/apt/sources.list
apt-get update
3. Setting up Amarok
1. Here I assume you know how to use amarok (i.e. adding music, doing your own customisations, etc).
2. After you have done all that connect up your iPod.
3. Go to devices and your iPod SHOULD appear here (you may have to click connect) - you will be asked to "Initialize your iPod", say OK"
4. Set your iPod model by going to iPod (just below main toolbar on top)>Set iPod Model>Classic>80gb OR 160GB (black or silver).
5. Next go to collection and right click on whatever songs you want to transfer and select transfer to media device.
6. Next go back to device tab and select transfer (from the top).
7. Hopefully everything should transfer.
4. Properly Disconnecting
From: http://ubuntuforums.org/showthread.php?t=497201
(slightly tweaked so that it worked for me)
1. Click on the gears next to where it says iPod, this should open up a dialog for mounting and post-disconnect commands.
2. Leave the mount command blank and put the following in the disconnect box:
rm /media/iPod/iPod_Control/iTunes/iTunesLock;rm "/media/iPod/iPod_Control/iTunes/Play Counts";eject -t -d %d
where it says "rm /media/iPod/iPod Control" change "/media/iPod" to wherever your iPod is mounted (this can be found by going to nautilus browsing the iPod and looking at the address bar).
3. Click OK
4. WAIT for everything to complete (including on the bottom statusbar of Amarok which should say Flushing iPod Cache).
5. When everything seems to have stopped click on iPod>Update Artwork (this may take a while depending on the number of songs, but after it is done you will see Artwork updated on the bottom).
6. Click disconnect, it should say device successfully disconnected.
7. Now right-click on the iPod icon (either in nautilus or on the desktop, and select eject).
THATS IT!
Let me know if you have any problems or if there is an error in the guide.
NB: All of this worked for me and my iPod is running fine with music AND videos.