MakeTechEasier
  • Home
  •  
  • About
  •  
  • Archives
  •  
  • Jobs
  •  
  • Advertise
  •  
  • Contact Us
  • Windows
  • Linux
  • Mac
  • Internet
  • WordPress
  • iPhone
  • Android
  • All Categories
    • Android RSS
    • Firefox RSS
    • Gaming RSS
    • Google RSS
    • google chrome RSS
    • Internet RSS
    • iPhone/iPod Touch RSS
    • Linux RSS
    • Mac RSS
    • Mobile RSS
    • OpenOffice RSS
    • PC Hardware RSS
    • Review RSS
    • Roundup RSS
    • Windows RSS
    • Windows Mobile RSS
    • WordPress RSS
    • WordPress Plugins RSS
  • rss icon
  • email icon
  • facebook icon
  • twitter icon

How To Sync iPod Touch With Win XP Virtual Machine In Ubuntu Intrepid

Posted by: Damien on December 16th, 2008
  • 23 Comments
  • Share

iphone syncSyncing your iPod Touch with iTunes on your Mac or Windows is a no-brain job. Simply plug in your iPod, fire up your iTunes and your synchronization will be done in a minute. However, since there is no Linux version of iTunes, there is almost no way that you can sync your iPod Touch with your computer. If you are using an Ubuntu system and you don’t want to create a Windows/Ubuntu dual boot just to sync your iPod Touch, here’s a tutorial that teaches you how to sync your iPod Touch with a WinXP virtual machine in Ubuntu Intrepid.

(This tutorial was tested using a iPod Touch 1st generation. I have not tested iPod Touch 2nd Gen, iPhone 2G/3G, but I guess they should work as well.)

Install Virtualbox

(skip this step if you have already installed Virtualbox in your system)

Add the Virtualbox repository to your Apt list. In your terminal:

gksu gedit /etc/apt/sources.list

Add the following line to the end of the file. Save and close.

deb http://download.virtualbox.org/virtualbox/debian intrepid non-free

Add the gpg key

wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -

Update the repository and install Virtualbox

sudo apt-get update
sudo apt-get install virtualbox-2.0

During the installation, you will receive a prompt to ask you to add users to vboxusers group.

vbox-adduser-prompt

click OK to continue.

You will then receive the next prompt to recompile the kernel for vboxdrv

vbox-compile-kernel

click OK to continue, follow by Yes to compile the vboxdrv kernel.

When installation is completed, you need to add yourself to the vboxusr group.

Go to System -> Administration -> Users and Groups

Press the Unlock button. Enter your password and Authenticate.

Ubuntu-users-settings

Press Manage Groups.

Scroll down until you see the vboxusers. Highlight it and click Properties.

Ubuntu-groups-settings

Check your username and click OK. Close everything.

add-vboxusers

Remember the Group ID (in this case, the group ID is 127). You will need to use it later.

Back in the terminal,

echo “vboxdrv” | sudo tee -a /etc/modules

to start the vboxdrv module during bootup.

Configuring the USB support

The following is to configure the Virtualbox to detect any USB devices that are plugged into your system.

gksu gedit /etc/fstab

Add the following line to the end of the file

#usbfs for virtualbox
none /proc/bus/usb usbfs devgid=GROUP_ID,devmode=664 0 0

Replace the GROUP_ID by the group ID that you have recorded just now.

Recompile the kernel USB support

In the terminal, type

uname -r

You should see something like this

uname

Next, using the kernel information you just obtained, install the source code of the kernel

sudo apt-get build-dep linux-source-2.6.27
sudo apt-get install linux-source-2.6.27 build-essential

Once it is done, type the following to the terminal, line by line

tar -jxvf /usr/src/linux-source-2.6.27.tar.bz2
cd linux-source-2.6.27/drivers/usb/core
perl -pi.bak -e 's/16384/131072/' devio.c
make -C /lib/modules/`uname -r`/build/ M=`pwd` modules
strip --strip-debug usbcore.ko
sudo install -m644 -b usbcore.ko /lib/modules/`uname -r`/kernel/drivers/usb/core
sudo depmod -ae
sudo update-initramfs -u

Reboot the computer.

Install Windows XP in your Virtualbox. (skip this step if you have already done so).

Connecting iPod Touch to Windows XP VM

Plug in your iPod Touch using the USB cable.

Ubuntu will detect it and ask if you want to open it with F-spot manager. Click Unmount

Open iPod touch with F-spot

Next, open your Virtualbox and boot up the Windows XP VM.

Install iTunes in your Win XP VM.

Activate the iPod Touch by  going to Devices -> USB Devices -> Apple Inc. iPod

activate-ipod-usb device on WinXP VM

The WinXP VM should recognize the USB device and configure it for usage.

Open your iTunes. You should be able to sync it like you do in a native Mac or Windows environment.

sync ipod touch with winxp vm

That’s it.

Note: I have tested this with a iPod Touch 1st Generation. I have not tested this with iPod Touch 2G and iPhone, but they should work as well.

[Reference: Ubuntu Forums]


Damien Oh is the owner and chief editor of Make Tech Easier

Tags: iPhone, iPod Touch, Linux, Ubuntu, windows XP
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Share and Enjoy!

  • Rss feed
  • StumbleUpon It!
  • Del.icio.us
  • reddit

Related Posts

  • How to Transfer Music From iPhone/iPod Touch to Your PC
  • Use Your iPhone/iPod Touch As a Wireless Touchpad Mouse To Remote Control Your System
  • Create, View, Edit, Sync and Backup Your iPhone Notes With Your Computer
  • How To Sync Amarok With iPOD Classic & 3rd Generation iPOD Nano
  • Upgrading to Virtualbox 2.1 In Ubuntu Intrepid

Popular Posts

  • Turn Your Ubuntu Hardy to Mac OSX Leopard 498 comment(s)
  • Turn Your Ubuntu Intrepid Into Mac OSX Leopard 311 comment(s)
  • Download EASEUS Partition Master For Free – 24 Hours Only 174 comment(s)
  • 28 Coolest Firefox About:Config Tricks 122 comment(s)
  • How To Boot And Install Windows 7 From USB Flash Drive 122 comment(s)

Enjoyed the article? Subscribe to Make Tech Easier today to get your daily updates of technology tutorials, tips and tricks.

Enter your email:

23 Responses

  • Nolan says:
    December 24, 2008 at 9:29 pm

    upon doing this my ipod when plugged in is not detected. same thing with usb mouse. please help me becasue this is a very big deal.

    Reply
    • Damien says:
      December 25, 2008 at 3:39 am

      Do you mean your Ubuntu doesn’t recognize your iPod/mouse or the Virtual machine?

      When you compile the USB kernel, did it show any error message?

      Reply
      • ulle says:
        December 25, 2008 at 5:15 pm

        i have the same problem, ubuntu doesn’t recognize any usb devices. there are errors while compiling the usb kernel:

        ulrich@ulrich-laptop:~/linux-source-2.6.24/drivers/usb/core$ perl -pi.bak -e ’s/16384/131072/’ devio.c
        Unrecognized character \xE2 at -e line 1.

        Reply
  • Mikael says:
    December 25, 2008 at 9:35 pm

    I have the same problem as the above user, and honestly i did not notice if there were any errors.

    Problem for is that my keyboard also uses USB and is not recognized aswell as my mouse, and now I am unable to do anything in Ubuntu 8.10.

    Great guide though, but can you help us getting USB support back somehow.

    Much appreciated.

    Mikael

    Reply
  • Q says:
    December 26, 2008 at 2:58 am

    Well, with the 2G touch, Ubuntu won’t even pick up the connected Ipod as a drive even though the ipod is charged. So Ubuntu doesn’t detect the 2G. What’s up with that or I’m wrong here? Please send me an email if you have a solution. Thanks.

    Reply
    • Damien says:
      December 26, 2008 at 5:33 am

      Theoretically, iPod 2G should work. But seriously, I have not tested before as I do not have a unit of iPod 2G. I am sorry to hear that your Ubuntu doesn’t detect it. I will see if I can find some information about it.

      Reply
  • Damien says:
    December 26, 2008 at 5:30 am

    I have checked through the code. It seems that WordPress has condensed two dashes into one. One of the command should strip --strip-debug usbcore.ko. I have make the amendment in the article. Try to recompile the USB kernel again. Let me know if it works.

    Reply
  • Mikael says:
    December 26, 2008 at 8:11 am

    Been searching all over, but can’t find a solution.

    When I boot into the latest kernel of Ubuntu 8.10, I loose all usbports, this means that I can’t use either keyboard or mouse AT ALL. The same goes if I try to boot into recovery mode.

    Now I can boot the older kernel (I can’t remember the numbers), where I do get USBports. Now how do I go about getting the latest kernel working again?

    Since as of now I am unable to input anything to correct my system. And therefore also unable to rectify what you have put above.

    Cheers
    Mike

    Reply
  • Mikael says:
    December 26, 2008 at 9:15 am

    OK got it fixed.

    By finding a PS/2 mouse, and dragging dropping code, I was able to fix my problems, keyboard and mouse is now working.

    Reply
  • Nicholas says:
    December 27, 2008 at 8:07 pm

    Thanks to this article, I can now sync my Ipod touch 2G from Ubuntu 8.04 and Windows xp as a guest. Although Itunes in VB is a tab slow in a Pentium 4 2.8ghz 1gb RAM.

    You need latest virtualbox version 2.1 I download it from http://www.virtualbox.org

    Reply
  • Mikael says:
    December 28, 2008 at 8:44 am

    Smooth sailing from here.

    Got VB, Windows XP and OSX now running with my usb mouse and keyboard.
    Even made my music and photos folders into network drive under the windows xp guest, so now I can work with my music and photos in Ubuntu and then just startup the winXP guest to sync.

    Works like a charm
    Thanks

    Reply
    • Damien says:
      December 29, 2008 at 1:13 am

      Glad it all work out for you.

      Reply
  • Daniel says:
    January 2, 2009 at 9:51 am

    I just want to say super thanks. As someone who was gifted an ipod touch 2g and absolutely hates itunes i am forced to use it since no alternative software deals with the hashing algorithm for it. As such, I had two options, use my wife’s laptop which is annoying or get windows working on mine (whether by partitioning or VM). I’ll try the VM and see how it goes.

    As a plus, i’m hoping i’ll also be able to do decent video editing again too, since all the video editing tools i’ve used in Ubuntu have been totally unstable. Apart from that i love Ubuntu, but the ipod and video editing have been my stumbling blocks.

    Daniel

    Reply
  • CesarS says:
    January 10, 2009 at 5:37 pm

    Big Tip!

    Gracias

    Reply
  • RagnarGrimnar says:
    January 21, 2009 at 11:01 pm

    Thx for the guide!
    I have a problem, anyway.
    I’m using the 8.10 Ubuntu in Italian.

    When I try to update the kernel (sudo apt-get build-dep linux-source-2.6.27), the terminal gives me this error lines:
    dpkg: syntax error: unknown group `uml-net’ in statoverride file
    E: Sub-process /usr/bin/dpkg returned an error code (2)
    E: Il calcolo delle dipendenze per la costruzione è fallito

    Can u help me?

    Gio

    Reply
  • Carrie says:
    January 27, 2009 at 4:58 am

    Hi so far ive been following your guide step by step however, i go to this step
    “Next, using the kernel information you just obtained, install the source code of the kernel”
    and i don’t know what to do from there.

    can someone please help me?
    thanks

    Reply
  • Ben says:
    January 27, 2009 at 6:25 pm

    @ Carrie. It means to take the number from the terminal, in his case it was 2.6.27-9. and put in in the code that is listed below. Which, in his case is

    sudo apt-get build-dep linux-source-2.6.27

    and

    sudo apt-get install linux-source-2.6.27 build-essential

    so if your number is 1.1.11-1 your source code would be

    sudo apt-get build-dep linux-source-1.1.11 understand?

    Reply
  • Carrie says:
    January 27, 2009 at 6:28 pm

    yes thanks you for replying, the number i get is the same as his 2.6.27-9 and when i enter 2.6.27 ( the code he gave) this is what i get

    E: dpkg was interrupted, you must manually run ‘dpkg –configure -a’ to correct the problem.

    any idea what that means?

    Reply
  • Lee says:
    February 2, 2009 at 11:49 pm

    Thank you so much, this worked like magic for my iPod Touch 1G on 64-bit Intrepid. I’d seen other guides and was trying to avoid kernel stuff at all costs but this was easy as pie to follow. Cheers!

    Reply
  • Gabriel says:
    February 5, 2009 at 8:38 pm

    Hi, I have a some doubt, i had installed the win xp first and i was not configure the UsB port because i did not know what you said. So my doubt is i have to do the same thing or a diferent procedure to synchronizing mi ipod in Vbox Win Xp. another what i have to type in the following part make -C /lib/modules/`uname -r`/build/ M=`pwd` modules ‘uname -r’ i know what but in ‘pwd’ what i have to type there.

    Reply
  • Bob says:
    March 9, 2009 at 8:13 pm

    I just got a Touch 2G foir my birthday, and I wasn’t able to sync in Virtualbox up to about 3 minutes ago. I had the 0xE8000035 message in iTunes. Turns out that my USB support in VirtualBox was working, but that particular virtual machine was configured with USB 1.1 only, the option for 2.0 was not checked. After enabling that option, iTunes 8 works really nicely!

    Thanks for the nice tutorial, it proved useful for debugging!

    Reply
  • mo says:
    September 16, 2009 at 3:56 am

    hi, i get this output when i run the command

    make -C /lib/modules/`uname -r`/build/ M=`pwd` modules

    make: Entering directory `/usr/src/linux-headers-2.6.27-7-generic’
    CC [M] /home/mo/linux-source-2.6.27/drivers/usb/core/message.o
    /home/mo/linux-source-2.6.27/drivers/usb/core/message.c: In function ‘usb_disable_device’:
    /home/mo/linux-source-2.6.27/drivers/usb/core/message.c:1094: error: ‘struct usb_interface’ has no member named ‘unregistering’
    make[1]: *** [/home/mo/linux-source-2.6.27/drivers/usb/core/message.o] Error 1
    make: *** [_module_/home/mo/linux-source-2.6.27/drivers/usb/core] Error 2
    make: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic’

    Reply
  • john says:
    October 15, 2009 at 5:31 am

    Hi,
    All went well until I typed in “sudo apt-get install linux-source-2.6.28 build-essential”.
    It then came back with E: Couldn’t find package build.

    Any ideas, would be grateful,

    John

    Reply
Cancel reply

Leave a Comment




Comment

Please Note: Comments maybe under moderation after you submit your comments so there is no need to resubmit your comment again

write for MTE

Latest Posts

  • How to Create a Customized Toolbar for Your Browser
  • 13 Ways To Customize Ubuntu Netbook Remix For Better Usability
  • 3 Useful Tools To Optimize your Blog’s CSS
  • 5 Useful and Fun GIMP Plug-ins
  • Friday Mobile Game Review: Tehra Dark Warrior – 3D Hack and Slasher Game

Our Writers

  • Damien Oh - Chief Editor
  • Sharninder - Geeky Ninja
  • Joshua Price
  • Tavis J. Hampton - Lantern Torch
  • Shevonne Polastre - FreeAgentWriter
  • Trevor Dobrygoski
  • Soumen Halder - Ampercent
  • Tanmay Ahmed - Tech-Tips-Geek
Make Tech Easier on Facebook
Jobs by SimplyHired
Job Widgets

Copyright

All the articles (including the text, images and tutorials) are properties of MakeTechEasier.

You cannot copy whole tutorials, either in English or translate to another language without our permission.

Write for us

Writing a tutorial or article for MakeTechEasier is a great way to get exposure and give back to the community.

Read More Details

Suggestions

We need your help to help us serve you better! This is YOUR site, so if you have suggestions/feedbacks on how we can improve it for you, please let us know! We do our best to make this place better!

Make a Suggestion

Navigation

  • Home
  • About Us
  • Advertise
  • Archives
  • Contact Us

Copyright © 2007-2010 Make Tech Easier | All Right Reserved.