VirtualBox in unRAID


Recommended Posts

  • Replies 528
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • 1 month later...
btw, at least on my system it is still very very slow to use usb devices on vm's... in fact slower if I enable usb2 support on the VM settings than if I disable it... :( with usb2 enabled I can access a pen drive at around 0.5-1 MB/s and with usb2 disable near 3 MB/s... anyone have any idea why this?  I did searched a lot and can find other users reporting similar problem with virtualbox, and apparently no solution, but some say they can get it to work a lot better speed...

 

I'm quoting my own post from last year just to say that with the latest unraid rc16c (with 3.9.6 kernel), and latest vbox v4.2.16, now usb share seems a lot better, I can now get 5MB/s from a pen with usb2 support enabled and 8MB/s with usb2 support disabled... both ways a lot more responsive than before for sure, I can't just understand why it is still faster with usb2 support disabled :(

Link to comment

I'm using 4.2.16 with unraid 5.0-16c.  I haven't been using virtualbox for very long, but I am experiencing a problem where windows 7 guests can case unraid to hang.  Basically everything seems to die, I haven't tried any other guest OSs.  Has anyone seen this happen?

Link to comment

New vesion of phpvirtualbox, its now moved to -> http://sourceforge.net/projects/phpvirtualbox/

 

//Peter

 

Using Chrome I see a lot of these in my web server /var/log/lighttpd/portal.log

 

192.168.0.116 : is my laptop IP, you see thsi in the log

 

 

 

192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/vrdp_16px.png HTTP/1.1" 200 3186 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /panes/tabVMDetails.html HTTP/1.1" 200 23976 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /panes/tabVMSnapshots.html HTTP/1.1" 200 30998 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /panes/tabVMConsole.html HTTP/1.1" 200 18508 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/delete_dis_16px.png HTTP/1.1" 200 3642 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/name_dis_16px.png HTTP/1.1" 404 345 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/pause_disabled_16px.png HTTP/1.1" 200 3074 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/start_dis_16px.png HTTP/1.1" 200 3347 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/diskimage_16px.png HTTP/1.1" 200 3476 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/global_settings_16px.png HTTP/1.1" 200 3423 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/register_16px.png HTTP/1.1" 200 3531 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/exit_16px.png HTTP/1.1" 200 3384 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/usb_16px.png HTTP/1.1" 200 3469 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/site_16px.png HTTP/1.1" 200 3608 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/help_16px.png HTTP/1.1" 200 3567 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/reset_disabled_16px.png HTTP/1.1" 200 3572 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/vm_clone_disabled_16px.png HTTP/1.1" 200 3548 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/acpi_disabled_16px.png HTTP/1.1" 200 3580 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/show_logs_disabled_16px.png HTTP/1.1" 200 3396 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/poweroff_disabled_16px.png HTTP/1.1" 200 491 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/fd_disabled_16px.png HTTP/1.1" 200 3271 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/discard_dis_16px.png HTTP/1.1" 200 3392 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/settings_dis_16px.png HTTP/1.1" 200 3679 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/refresh_disabled_16px.png HTTP/1.1" 200 3623 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/add_shared_folder_disabled_16px.png HTTP/1.1" 200 3369 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/welcome.png HTTP/1.1" 200 31861 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/os_other.png HTTP/1.1" 200 2271 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/take_snapshot_dis_22px.png HTTP/1.1" 200 3593 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/discard_cur_state_dis_22px.png HTTP/1.1" 200 3575 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/delete_snapshot_dis_22px.png HTTP/1.1" 200 3717 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/show_snapshot_details_dis_22px.png HTTP/1.1" 200 3870 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "POST /lib/ajax.php HTTP/1.1" 200 1716 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/take_snapshot_dis_16px.png HTTP/1.1" 200 3305 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/vrdp_disabled_16px.png HTTP/1.1" 200 3106 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/show_snapshot_details_16px.png HTTP/1.1" 200 3521 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/delete_snapshot_16px.png HTTP/1.1" 200 3447 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "GET /images/vbox/discard_cur_state_16px.png HTTP/1.1" 200 3358 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "POST /lib/ajax.php HTTP/1.1" 200 322 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:47 +0200] "POST /lib/ajax.php HTTP/1.1" 200 320 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:48 +0200] "GET /images/vbox/os_virtualbox.png HTTP/1.1" 200 2231 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:48 +0200] "GET /images/vbox/os_linux26_64.png HTTP/1.1" 200 2687 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:48 +0200] "GET /images/vbox/state_saved_16px.png HTTP/1.1" 200 3535 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:48 +0200] "GET /images/vbox/os_macosx_64.png HTTP/1.1" 200 5032 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:48 +0200] "GET /images/vbox/os_linux26.png HTTP/1.1" 200 2567 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:48 +0200] "GET /images/vbox/state_powered_off_16px.png HTTP/1.1" 200 3611 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:48 +0200] "GET /images/vbox/os_win8_64.png HTTP/1.1" 200 5382 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:48 +0200] "GET /images/vbox/fullscreen_16px.png HTTP/1.1" 200 3161 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:48 +0200] "GET /images/header_grad.png HTTP/1.1" 200 2841 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:48 +0200] "POST /lib/ajax.php HTTP/1.1" 200 320 "http://tower:8091/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:50 +0200] "POST /lib/ajax.php HTTP/1.1" 200 320 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:51 +0200] "POST /lib/ajax.php HTTP/1.1" 200 320 "http://tower:8091/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:53 +0200] "POST /lib/ajax.php HTTP/1.1" 200 320 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:54 +0200] "POST /lib/ajax.php HTTP/1.1" 200 320 "http://tower:8091/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:55 +0200] "GET /panes/about.html HTTP/1.1" 200 1566 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:55 +0200] "GET /images/donate.gif HTTP/1.1" 200 2332 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"
192.168.0.116 tower:8091 - [30/Jul/2013:12:05:56 +0200] "POST /lib/ajax.php HTTP/1.1" 200 320 "http://tower:8091/" "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)"

 

 

However using Internet explorer all works fine...

 

//Peter

Link to comment
  • 3 weeks later...

hi,

 

I have free edition of unraid setup. The PC is a bit old; config is

MB: GA-K8NE

Processor: AMD Athlon X64 3000

Ram: 1.5GB

HD: 1TB drives (Segate) - Parity; 1TB drive (Toshiba) &

      1 x 60GB IDE (Maxter) - very old drive used outside the array as an app drive & swap disk.

(yes; this is the poor man's Unraid)

 

I created a VM with same configuration in my working PC to try out virtual box with unraid (this VM is my Test Server). I was able to install the Virtualbox, get phpvirtualbox setup and get one VM running on it. - thanks to this forum

 

My VM running in virtual box is a XP SP3 with 256MB RAM

 

My question is;

When Virtualbox is running with unraid it's using a lot of memory. only leaves about 60MB free. Will it cause problem with Unraid especially when it comes to Parity check etc. Below is the memory status of the test server when the VM is running.

root@Tower:~# free -m
             total       used       free     shared    buffers     cached
Mem:          1518       1459         59          0          7       1026
-/+ buffers/cache:        424       1093
Swap:         3850          0       3850

and why is the swap drive not being used?

 

Thanks in advance

 

InsI

Link to comment

You do not have 60MB free but over 1000MB free.

Swap is not being used because you have plenty of free memory.

 

Ahhh, now I got it, that's why virtual box is showing 1gb of mem is available for use. Vbox has buffered the memory. Thanks Theone!

 

As you may hav already guessed;I do not hav much experience in Linux.....

 

Again thanks for the quick response.

Link to comment
  • 4 weeks later...

Hello,

 

"I couldn't get the PHP or lighttpd versions that you can install from unMenu to work with phpvirtualbox. At all. It was cake with bubba's versions:

 

http://lime-technology.com/forum/index.php?topic=7274.0 : Ok, it works

 

http://lime-technology.com/forum/index.php?topic=7267.0 : for some reason, this package is downloaded... but not seen. Il have got this message : "file not found".

 

What did I miss ? (I run Unraid 5.0)

 

Thanks for help

Link to comment

OK so heres the deal....

 

As a test, I decided to install XP rather than windows 7.  But I changed the chipset from IPP 3 (or whatever it says) to ICH.  I also noticed that when installed XP, its default is an IDE drive and not a sata drive....

 

INterestingly, I can stop the VM too....  so all seems well

 

So I went back to install windows 7, only this time, I changed the chipset to ICH and deleted the sata controller it wanted to use and replaced it with IDE.  And IT WORKS!

 

Which setting fixed it?  I am not sure.  The fact is I really dont care.  I cannot believe no one else had this issue.....

 

Thank you!! running latest VB v5 plugin 0.5.2, VB 4.2.18 I couldn't install win7 and stopping existing Machines always made them "stuck/hang" I got an error:  ERROR [COM]: aRC=E_ACCESSDENIED (0x80070005)  and give an kernal message. Changing the sata controller to an ide controller solved my problems, thanks for the suggestion ;)

 

Now I'm just hoping for a web server plugin for the stock new webgui of unraid v5 final

Link to comment
  • 1 month later...

Unfortunately I think you will not really be able to get dual core working with your CPU as it doesn't seem to support VT, and seems VirtualBox needs it for >1 core on guest machines.

 

See:

http://www.virtualbox.org/manual/ch10.html#hwvirt

 

VirtualBox's 64-bit guest support (added with version 2.0) and multiprocessing (SMP, added with version 3.0) both require hardware virtualization to be enabled.

 

And:

http://ark.intel.com/products/43098/

 

Intel® Virtualization Technology (VT-x): No
Link to comment

I have VirtualBox working on my unRAID box.

However, it is deafulting to saving the VMs in "/root/Virtualbox VMs".  This directory is (I think) in ram.  The manuals say that the vms will be stored in the home directory of the user running virtualbox, and root has a home directory of /root, so this seems to be the correct behaviour.  How have other people dealt with this?  I'm not too keen on my VMs disappearing when I reboot.

 

Link to comment

I have VirtualBox working on my unRAID box.

However, it is deafulting to saving the VMs in "/root/Virtualbox VMs".  This directory is (I think) in ram.  The manuals say that the vms will be stored in the home directory of the user running virtualbox, and root has a home directory of /root, so this seems to be the correct behaviour.  How have other people dealt with this?  I'm not too keen on my VMs disappearing when I reboot.

Before I tell you what I did - a little background:  I didn't want to install Simple Features to get PHP for PHPVirtualBox so I'm using the command line tools to setup and configure my VMs.  I do use the plugin to start the VMs when unRAID array starts up.  I have a 250GB cache drive setup with a "catch only" apps share on it for VirtualBox and that is where I am putting my VMs.

 

Command I used to create my VM in a specific directory:

"vboxmanage createvm HomeSrv --ostype Windows2003 --register --basefolder /mnt/user/Apps/VMs"

 

I created the "VMs" directory from my Windows box but VirtualBox creates a sub-folder "HomeSrv" under the VMs folder on my catch drive with the "HomeSrv.vbox" file in it with that command.  After it was done I ran "NewPermissions" on it since (for me at least) VirtualBox is running as root and I could not browse the folders from the network until I did.  Then I tested a reboot of unRAID and the VM is available and works without having to recreate it.

Link to comment

Command I used to create my VM in a specific directory:

"vboxmanage createvm HomeSrv --ostype Windows2003 --register --basefolder /mnt/user/Apps/VMs"

 

This helped me figure out how to get my default location changed so that future instances created with phpvirtualbox defaulted to my preferred location.  I couldn't find any way to do this with the command line tools, but got it working by editing the configurations directly.  Here's what I did, in case someone else needs this:

1) Shut down virtualbox

/etc/rc.d/rc.virtualbox stop

2) Go to the default location.  This might be in /boot/custom/virtualbox, or where you may have moved it.  In my case, it was a directory on my array.  Look for this file: VirtualBox.xml.  Edit that file, and change this line:

    <SystemProperties defaultMachineFolder="/root/VirtualBox VMs" defaultHardDiskFormat="VDI" VRDEAuthLibrary="VBoxAuth" webServiceAuthLibrary="null" LogHistoryCount="3" exclusiveHwVirt="true"/>

to

    <SystemProperties defaultMachineFolder="YOUR_PREFERRED_DIRECTORY" defaultHardDiskFormat="VDI" VRDEAuthLibrary="VBoxAuth" webServiceAuthLibrary="null" LogHistoryCount="3" exclusiveHwVirt="true"/>

replace YOUR_PREFERRED_DIRECTORY with your directory of choice.  Create that directory, if it doesn't already exist.

3) Restart virtualbox

/etc/rc.d/rc.virtualbox start

 

Optionally, you can clone your existing instances to the new location using the appropriate VBoxManage command, or just delete them and start over.

 

 

Link to comment

Think you might be able to do the following to set the default folder location.  I don't know if it is persistent or not however as I just found it on the virtualbox.org site.  Specifically mentioned in a bug ticket for something else.  Found it in the manual here as well.

 

vboxmanage setproperty machinefolder <absolute path>

Link to comment
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.