Problems using raw partition access VMDK

Discussions related to using VirtualBox on Windows hosts.
Post Reply
helehele
Posts: 14
Joined: 30. Dec 2008, 21:31

Problems using raw partition access VMDK

Post by helehele »

Everything went well creating such image, but nothing changed in the winxp host drive after I copied files to it in the winxp guest. Afterward every time I boot the host os, it runs CHKDSK for the drive I specified accessible when creating the vmdk however, and then the files I copied in the guest shows up.
Is it a common issue and therefore not recommended using a raw disk/part access VMDK in a windows guest on a windows host?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

The danger with RAW Disk Access is that if you mount the drive in the Host while the Guest is writing to it, it can corrupt the entire file system on that drive/partition. That's also why you get the checkdisk each boot of the VM. To unmount a drive in a Windows Host, go to the computer management console and remove the drive letter of the partition/drive that you have set as RAW Disk.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
helehele
Posts: 14
Joined: 30. Dec 2008, 21:31

Post by helehele »

Sasquatch wrote:The danger with RAW Disk Access is that if you mount the drive in the Host while the Guest is writing to it, it can corrupt the entire file system on that drive/partition. That's also why you get the checkdisk each boot of the VM. To unmount a drive in a Windows Host, go to the computer management console and remove the drive letter of the partition/drive that you have set as RAW Disk.
Ahh, thanks.
But on which I got the CHKDSK each boot was the host, not the VM. Did you type wrong?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

I misread it, so in that way, it's not written wrong. The same theory applies though ;).
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply