Posts

Showing posts with the label virtualbox

Use physical drive into virtualbox

Find the number of your physical hard drive using Manage computer > Disk Management (the disks are ordered) Run the following command (changing the physical drive number and the path where to create the vmdk) : VBoxManage internalcommands createrawvmdk -filename C:\usb.vmdk -rawdisk \\.\PhysicalDrive1 Attach the vmdk file to your Virtual Machine. If you get the error message : VERR_ACCESS_DENIED you may need to take the disk offline and set the readonly attribute to False (could be done using the Diskpart command-line utility) #1   #2

VirtualBox not allowing to delete a snapshot

Today I got an error while trying to delete a VirtualBox snapshot : "Failed to delete the snapshot XXXX of the virtual machine YYYY" (english) "Échec de la suppression de l'instantané XXXX de la machine virtuelle YYYY" (french) Hard disk 'XXXX.vdi' has more than one child hard disk (2). In the snapshot manager, there were only two snapshots linked to my virtual machine. I could delete the newest one, but I was not able to delete the oldest one/root snapshot. To resolve this issue, I went to the "File > Virtual Media Manager" menu, then the [Hard Disks] tab and I've expanded the tree under my virtual machine. I've deleted one snapshot that was not linked to any virtual machine, or snapshot. After what I was able to delete my oldest/root snapshot.