Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

Accessing other physical drives

$
0
0
Host: OpenSuSE 13.1
Guest: Windows XP sp3
VM: VirtualBox 4.3.10

I previously asked this question in the VirtualBox forum (Windows Guests), but did not obtain a satisfactory answer.

The pc has five separate hard drives (dual boot; under Windows, Disk 0-4; Linux, sda-sde). When booting into Windows, one of the drives functions as the Windows swap drive, physically separate from the C drive containing the OS. Another drive performs the same function for the Photoshop scratch disk.

I wish to access these drives from the Windows XP guest for the same purposes. While I have enabled read-write access to all of the drives (all five) and can access them, only the drive containing the virtual machine (drive 0) and the CD/DVD (passthrough) appear in Windows disk management. In order to reassign the swap memory, computer management must of course recognize the other drive(s).

Section 9.9.1 in the VirtualBox manual discusses raw host disks, but it is not clear to me that the procedures discussed there will enable me to create the desired configuration. When I tried to add a partition using the technique outlined in sec. 9.9.1.2 (Access to individual physical hard disk partitions), I received the following errror:
Code:

linux-5:~  # VBoxManage internalcommands createrawvmdk -filename  /root/VirtualBox_VMs/WindowsXP/rawE.vmdk -rawdisk /dev/sdd -partitions 1
VBoxManage: error: VMDK: could not create new file '/root/VirtualBox_VMs/WindowsXP/rawE.vmdk'
VBoxManage:  error: Error code VERR_FILE_NOT_FOUND at  /home/vbox/vbox-4.3.10/src/VBox/Storage/VMDK.cpp(3425) in function int  vmdkCreateRawImage(PVMDKIMAGE, PVBOXHDDRAW, uint64_t)
VBoxManage: error: Cannot create the raw disk VMDK: VERR_FILE_NOT_FOUND
VBoxManage: error: The raw disk vmdk file was not created
linux-5:~ #

The command appears to be looking for a file, but except for the VirtualBox.xml file under /root/.config/Virtualbox, all the files are located in /root/VirtualBox_VMs/WindowsXP/
(I understand the risks of operating as root, but have always done this. The machine is single user with no access by others.)

I have also tried adding controllers and drives with the machine powered down, but while I can see all of the drives, the interface does not allow me to add another physical drive.

Is what I am attempting possible in VirtualBox?

All suggestions welcome. Thank you.

w2tq Posts: 8Joined: 2. May 2014, 22:12

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>