So, you have a virtual machine with linux guest OS
and a virtual VDI drive - and you wish to mount,
within the guest linux, external hard drive
partitions, right?
1. create a vmdk for each partition using the command line (in the
windows msdos command window):
VBoxManage internalcommands createrawvmdk -filename \Documents and
Settings\YOUR-LOGIN-NAME\.VirtualBox\Machines\YOUR-VM-NAME\Partition-Name.vmdk
-rawdisk \\.\PhysicalDrive# -partitions i,j -register
Where # is what the windows host sees as the number of the physical drive.
0 is the main boot disk, 1 is the second disk, ...etc
and where i,j are the numbers of the partitions you wish to create the
VMDK for.
2. In the Virtual Machine configuration, set the primary slave (or
secondary slave)
to the just created vmdk in step one.
This vmdk will present the 2 partitions as physical drives to your guest
linux.
Problem is that windows might NOT allow the guest OS to write into these
partitions.
I dont know how one would force windows to give a process write
permissions to physical
drive partitions, which it may have mounted itself read/write.
So, it would seem to me that the best way is to specify those partitions'
drive letters (if they are indeed ntfs or fat32 partitions that windows has
already assigned drive letters for) as shares in the VM configuration.
Good luck.
JD
Larry Finger wrote:
I am using VirtualBox 1.5.6 with Windows XP as host and openSUSE 10.3 i386 as
guest. The virtual
disk and a shared folder are working fine, but my system dual boots Windows and
openSUSE 10.3
x86-64, and I wish to be able to mount the disk partitions for that Linux
system in my virtual
machine. I got the vmdk file created after some problems with a "sharing"
error, attached it as the
primary slave drive, and I am able to mount the two partitions from the virtual
Linux machine. My
problem is that the two partitions end up as read only, and I cannot figure out
how to change them
to read/write. What am I missing?
Thanks,
Larry
_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users
_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users