LoginSignup
2
1

More than 5 years have passed since last update.

Virtual Boxのスナップショット作成でゲストOSが起動しなくなった話

Last updated at Posted at 2018-06-25

概要

Virtual BoxでゲストOSのスナップショットを作成すると、突然ゲストOSが起動できなくなった。何とか解決したのでその手順をメモしておきます。

環境

Virtual BOX:5.2.8 r121009 (Qt5.6.2)
Host OS:Windows10(1803)

詳細

  1. Virtual BoxでゲストOSのスナップショットを作成して、そのゲストOSを起動しようとするとすぐに停止するようになった。
  2. エラーコードは次の通り
    
    仮想マシン"Redmine"のセッションを開けませんでした。
    Parent UUID {00000000-0000-0000-0000-000000000000} of the medium 
    'C:\Users<User>\VirtualBox VMs\Redmine\Snapshots/{filename}.vhd' does not match UUID {uuid} 
    of its parent medium stored in the media registry ('C:\Users<User>.VirtualBox\VirtualBox.xml').
    終了コード : E_FAIL (0x80004005)
    コンポーネント: MediumWrap
    インターフェース: IMedium {4afe423b-43e0-e9d0-82e8-ceb307940dda}
    
  3. 原因は Parent UUID が null になっているため。
    Parent UUID がエラーメッセージに表示されているUUID(uuid)になっている必要がある。
  4. https://michlstechblog.info/blog/virtualbox-no-boot-after-snapshot-efail-0x80004005/ を参考 にVBoxManage.exeを使ってParent UUIDを変更すると起動するようになった。
    
    >"c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" internalcommands sethdparentuuid ".\{filename}.vhd" {uuid}
    
2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1