Tuesday, June 29, 2010

VirtualBox上のWin7でiPhoneをiOS4にUpdateしたらハマった



ubuntu10.04上のVirtualBox3.2でwindows7を動かしており、その上でiTunes9を使って、iPhone3GSをiOS4にupdateしようとしたら、ハマった。

updateしながら寝て、起きたらiPhoneの画面にiTunesへつなげろっていう画像が表示されており、iPhoneがVirtualBoxに認識されない。
VirtualBoxの右下のUSBボタンをクリックすると、iPhone (Recovery mode)とか表示されており、グレーアウトされてマウスで選択できない。

アイヤー、困っちゃったよ〜!! 仕事いかなきゃならん。

と思いつつもググったらみんなハマってます。


Originally Posted by LarryJ2 
1. IF USB device doesn't appear to the guest OS and is unavailable inside the guest OS.

2. and/or IF In the Guest window, under Devices->USB Devices, your USB devices appear but are grayed out...

3. Try this:
  1. In the host (Karmic 9.10 for example), System->Administration->Users and Groups
  2. Click on the Keys Icon (to right of Help) and give your password.
  3. Select (highlight) your normal user line (the one with /home/xxx)
  4. Click Manage Groups.
  5. In the Groups settings List Box, navigate down to vboxusers
  6. With vboxusers high lighted, click properties
  7. Click the check box next to your normal user to indicate you want the normal user to be a member of the vboxusers group.
  8. reboot the host.
↑と、
http://forums.virtualbox.org/viewtopic.php?f=2&t=18852
I had originally set a USB filter for the iPhone based on the VendorID and the ProductID. 
これを参考に、VirtualBoxのUSBフィルタ設定に新規追加して、以下を設定。

  • ベンダIDに05ac
  • メーカーにApple Inc.

そんでVirtualBoxを再起動してみたら、Virtualbox右下のUSBのグレーアウトだったiPhoneが選択できるようになり、VurtualBox上のWin7から見えるようになりました。

それからiTunes上で復元ボタンを押すしかなくて、工場出荷状態になって超焦ったけど、iOS4が入った後にiTunes上で、バックアップから復元したらデータは元通りになりました。

焦ったよ、ジョブズ君。

2 comments:

  1. 自己レス
    このページがわかりやすい
    http://www.flyingpenguin.com/?p=5878

    ReplyDelete
  2. ココを見てUSBフィルタ設定で更新できることがわかり助かりました。
    私の環境はホストWindows2003、クライアントWindowsXPですがiOS更新でRecovery modeからBoot modeに切り替わってUSB認識されなくなりはまっていました。
    ココを見てフィルタ作成したところ更新できました。
    感謝です!

    ReplyDelete