Part 8 - Creation of Shared Virtual Disk



Stop oralin12


Click "Close Window", Click "Send the shutdown signal" and Click "OK"


Creation With VirtualBox 4.0.x


Launch Windows Command 

In Windows, Execute cmd.exe

Type all command below in this window except "C:\Users\fabien>".


Init PATH

C:\Users\fabien>

set PATH=%VBOX_INSTALL_PATH%;%PATH%

Create Shared Disk

Change "C:\Users\fabien\VirtualBox VMs" with your own path to VirtualBox VMs files.

C:\Users\fabien>

vboxmanage createhd --filename "C:\Users\fabien\VirtualBox VMs\sybase_data.vdi" --size 5120 --format vdi --variant Fixed

Attach Shared Disk to VMs

Change "C:\Users\fabien\VirtualBox VMs" with your own path to VirtualBox VMs files.
Change "SATA controller" according to your language (eg. in French, it's "Controleur SATA" !).

C:\Users\fabien>

vboxmanage storageattach oralin11 --storagectl "SATA Controller" --port 2 --device 0 --type hdd --medium "C:\Users\fabien\VirtualBox VMs\sybase_data.vdi" --mtype shareable

vboxmanage storageattach oralin12 --storagectl "SATA Controller" --port 2 --device 0 --type hdd --medium "C:\Users\fabien\VirtualBox VMs\sybase_data.vdi" --mtype shareable



Creation with VirtualBox 4.1.x






Start oralin11


Select "oralin11" and Click "Start"




Create Partition on Shared Virtual Disk


Create partition

[root@oralin11 ~]#

parted /dev/sdc mklabel msdos
parted /dev/sdc unit mb mkpart extended 1 5335 # all
parted /dev/sdc unit mb mkpart logical 2 841 # 800M
parted /dev/sdc unit mb mkpart logical 842 1052 # 200M
parted /dev/sdc unit mb mkpart logical 1053 1262 # 200M
parted /dev/sdc unit mb mkpart logical 1264 1473 # 200M
parted /dev/sdc unit mb mkpart logical 1474 1684 # 200M
parted /dev/sdc unit mb mkpart logical 1685 2209 # 500M
parted /dev/sdc unit mb mkpart logical 2210 2735 # 500M
parted /dev/sdc unit mb mkpart logical 2736 5335 # rest

Load Persistent Local Device Name

[root@oralin11 ~]# 

/sbin/start_udev