3.0.8 on Win/Linux, XP Pro Guest, Snapshot disk unreadable
-
lyallp
- Posts: 49
- Joined: 14. Nov 2008, 01:53
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: Linux & Win xp,7,8
3.0.8 on Win/Linux, XP Pro Guest, Snapshot disk unreadable
I have a working XP Pro Guest, hosted on 3.0.8.r53138 on XP Pro Host.
When I take a snapshot, the guest is unbootable - 'A disk read error occurred Press Ctrl-Alt-Del to restart'
If I delete the snapshot, it works again.
Absolutely repeatable, in that I cannot make a snapshot of the VM.
Anyone else seeing this?
By the way, I deleted and re-created the VM, using the original disk. The problem persists.
When I take a snapshot, the guest is unbootable - 'A disk read error occurred Press Ctrl-Alt-Del to restart'
If I delete the snapshot, it works again.
Absolutely repeatable, in that I cannot make a snapshot of the VM.
Anyone else seeing this?
By the way, I deleted and re-created the VM, using the original disk. The problem persists.
Last edited by lyallp on 29. Oct 2009, 00:21, edited 1 time in total.
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: 3.0.8 on XP Pro Host, XP Pro Guest, Snapshot disk unreadable
You could try unregistering and then re-registering the virtual disk.
What type of virtual disk is it? (i.e. VDI, VHD, VMDK).
What type of virtual disk is it? (i.e. VDI, VHD, VMDK).
-
lyallp
- Posts: 49
- Joined: 14. Nov 2008, 01:53
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: Linux & Win xp,7,8
Re: 3.0.8 on XP Pro Host, XP Pro Guest, Snapshot disk unreadable
Unregistering the disk and re-registering had no effect.
It is a VDI disk.
It is a VDI disk.
-
MarkCranness
- Volunteer
- Posts: 875
- Joined: 10. Oct 2009, 06:27
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows Server 2008 R2; Ubuntu 11.04; Windows 2000 Server; Windows XP
Re: 3.0.8 on XP Pro Host, XP Pro Guest, Snapshot disk unreadable
Maybe create the snapshot with the command line VBoxManage and see if there are any error messages.
If that works, then try a VBoxManage clonehd to see if the Current State can be read correctly by VirtualBox (it is the Current State that your VM can't read when it says "a disk read error occurred...").
Use the instructions here starting 'To clonehd the Current State of a disk'.
http://forums.virtualbox.org/viewtopic. ... 99#p103299
See if there are any error messages.
Code: Select all
VBoxManage snapshot "VMName" take "SnapshotTest"Use the instructions here starting 'To clonehd the Current State of a disk'.
http://forums.virtualbox.org/viewtopic. ... 99#p103299
See if there are any error messages.
-
lyallp
- Posts: 49
- Joined: 14. Nov 2008, 01:53
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: Linux & Win xp,7,8
Re: 3.0.8 on XP Pro Host, XP Pro Guest, Snapshot disk unreadable
No messages during snapshot creation.
No messages during cloning.
Added new media to VirtualBox and created a new VM to boot the cloned image, same error message.
Any more suggestions?

No messages during cloning.
Added new media to VirtualBox and created a new VM to boot the cloned image, same error message.
Any more suggestions?
-
MarkCranness
- Volunteer
- Posts: 875
- Joined: 10. Oct 2009, 06:27
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows Server 2008 R2; Ubuntu 11.04; Windows 2000 Server; Windows XP
Re: 3.0.8 on XP Pro Host, XP Pro Guest, Snapshot disk unreadable
VBoxManage clonehd or CloneVDI the base VDI and see if that fixes anything?
Boot a Live CD and take a new image of the VDI (only dd ever worked for me) and turn that into a new VDI with VBoxManage convertfromraw?
Reinstall VirtualBox?
Boot a Live CD and take a new image of the VDI (only dd ever worked for me) and turn that into a new VDI with VBoxManage convertfromraw?
Reinstall VirtualBox?
-
lyallp
- Posts: 49
- Joined: 14. Nov 2008, 01:53
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: Linux & Win xp,7,8
Re: 3.0.8 on XP Pro Host, XP Pro Guest, Snapshot disk unreadable
Curiously enough, a different VM (an ancestor of the problematic one) has no problems with snapshots.
By ancestor, I mean I have already cloned the other one and done more to the clone. The clone is the one that is having snapshot problems.
Hmmm... thinking along those lines... maybe my snapshot is referencing the ancestor in some way... did I clone the descendant correctly? I must have otherwise VirtualBox would complain when I tried to add the media. VBoxManage showhdinfo shows reasonable data...
Cloning the problematic disk using clonevdi resulted in a clone disk which was unbootable, in the same way as the 'snapshot' of the original is unbootable.
Another edit: I have the same VM disk image on a Gentoo Linux (Intel) with the same version of VirtualBox. Same Snapshot problem as Windows XP.
It would appear it's VirtualBox related, now I need to figure out how to identify where the problem lies. Any suggestions on commands to run to 'dump' info on VDI?
By ancestor, I mean I have already cloned the other one and done more to the clone. The clone is the one that is having snapshot problems.
Hmmm... thinking along those lines... maybe my snapshot is referencing the ancestor in some way... did I clone the descendant correctly? I must have otherwise VirtualBox would complain when I tried to add the media. VBoxManage showhdinfo shows reasonable data...
Cloning the problematic disk using clonevdi resulted in a clone disk which was unbootable, in the same way as the 'snapshot' of the original is unbootable.
Another edit: I have the same VM disk image on a Gentoo Linux (Intel) with the same version of VirtualBox. Same Snapshot problem as Windows XP.
It would appear it's VirtualBox related, now I need to figure out how to identify where the problem lies. Any suggestions on commands to run to 'dump' info on VDI?
Last edited by lyallp on 28. Oct 2009, 12:56, edited 1 time in total.
-
MarkCranness
- Volunteer
- Posts: 875
- Joined: 10. Oct 2009, 06:27
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows Server 2008 R2; Ubuntu 11.04; Windows 2000 Server; Windows XP
Re: 3.0.8 on XP Pro Host, XP Pro Guest, Snapshot disk unreadable
Looking at the VDI tree with Virtual Media Manager might show something (or not). Look for the 'Attached to:' value for each VDI and child {hexUUID} file.
Perhaps post your (abbreviated - remove ExtraData and Hardware sections) VirtualBox.xml and <VM>.XML files for inspection?
Perhaps post your (abbreviated - remove ExtraData and Hardware sections) VirtualBox.xml and <VM>.XML files for inspection?
-
lyallp
- Posts: 49
- Joined: 14. Nov 2008, 01:53
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: Linux & Win xp,7,8
Re: 3.0.8 on XP Pro Host, XP Pro Guest, Snapshot disk unreadable
As requested. Config files and a showhdinfo of the disk image, in question.
Note my earlier edit, this is happening on both Windows and Linux.
Note my earlier edit, this is happening on both Windows and Linux.
Code: Select all
$ VBoxManage showhdinfo Win_XP_Pro_Template.vdi
VirtualBox Command Line Management Interface Version 3.0.8
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.
UUID: 8bf038bb-0612-4acd-9bb8-6ce969e4c62e
Accessible: yes
Description:
Logical size: 65536 MBytes
Current size on disk: 6054 MBytes
Type: normal (base)
Storage format: VDI
In use by VMs: Template Windows XP Pro (UUID: 43c1c922-2aaa-42f0-9cd1-28032952e47b)
Location: /mnt/disk_02/VM_Images/Win_XP_Pro_Template.vdi
lyall@lyalls-pc:/mnt/disk_02/VM_Images
$
- Attachments
-
VirtualBox.xml- VirtualBox.xml config file
- (3.12 KiB) Downloaded 4 times
-
Template Windows XP Pro.xml- Windows XP Pro VM XML config file
- (7.89 KiB) Downloaded 5 times
-
lyallp
- Posts: 49
- Joined: 14. Nov 2008, 01:53
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: Linux & Win xp,7,8
Re: 3.0.8 on Win/Linux, XP Pro Guest, Snapshot disk unreadable
One thing I notice on my Linux version, that my Snapshot directory has a space in the name, whereas the parent disk image has no spaces.
Wondering if that is significant. Maybe not, as I have another Windows XP VM (which is actually a descendant of the problematic one) which also has snapshots of with the same directory names...
No Snapshot.
With Snapshot.
Really struggling to extract info which may help diagnose this.
...Lyall
Wondering if that is significant. Maybe not, as I have another Windows XP VM (which is actually a descendant of the problematic one) which also has snapshots of with the same directory names...
No Snapshot.
Code: Select all
Primary master: /mnt/disk_02/VM_Images/Win_XP_Pro_Template.vdi (UUID: 8bf038bb-0612-4acd-9bb8-6ce969e4c62e)Code: Select all
Primary master: /mnt/disk_02/VM_Settings/Machines/Template Windows XP Pro/Snapshots/{9ce7258b-f763-49cd-91fb-9deed0b35b01}.vdi (UUID: 9ce7258b-f763-49cd-91fb-9deed0b35b01)...Lyall
-
MarkCranness
- Volunteer
- Posts: 875
- Joined: 10. Oct 2009, 06:27
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows Server 2008 R2; Ubuntu 11.04; Windows 2000 Server; Windows XP
Re: 3.0.8 on Win/Linux, XP Pro Guest, Snapshot disk unreadable
I see nothing alarming in the XML files and spaces in the directory names should be OK. 
-
lyallp
- Posts: 49
- Joined: 14. Nov 2008, 01:53
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: Linux & Win xp,7,8
Re: 3.0.8 on Win/Linux, XP Pro Guest, Snapshot disk unreadable
Problem solved.
Created a new disk, booted Clonzilla and cloned the disk.
Cloning the disk with VBoxManage clonevdi did not work.
...Lyall
Created a new disk, booted Clonzilla and cloned the disk.
Cloning the disk with VBoxManage clonevdi did not work.
...Lyall