virtualbox
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
virtualbox [2010/10/12 23:09] – aorth | virtualbox [2011/06/03 12:36] – [Optimal settings for a guest] aorth | ||
---|---|---|---|
Line 6: | Line 6: | ||
====== Create a VM ====== | ====== Create a VM ====== | ||
Copy an ISO to your home directory: | Copy an ISO to your home directory: | ||
- | < | + | < |
* SSH to VM server: 172.26.0.200 | * SSH to VM server: 172.26.0.200 | ||
< | < | ||
Line 48: | Line 48: | ||
As the user who owns the VM, save the VM's state: | As the user who owns the VM, save the VM's state: | ||
- | # su - jmagochi | + | < |
$ VBoxManage controlvm nobu savestate | $ VBoxManage controlvm nobu savestate | ||
- | Oracle VM VirtualBox Command Line Management Interface Version 3.2.8 | ||
- | (C) 2005-2010 Oracle Corporation | ||
- | All rights reserved. | ||
- | |||
- | 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | ||
$ VBoxManage controlvm lims savestate | $ VBoxManage controlvm lims savestate | ||
- | Oracle VM VirtualBox Command Line Management Interface Version 3.2.8 | ||
- | (C) 2005-2010 Oracle Corporation | ||
- | All rights reserved. | ||
- | |||
- | 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | ||
- | |||
$ exit | $ exit | ||
# su - aorth | # su - aorth | ||
$ VBoxManage controlvm b0237553-9653-4461-bd0e-d4d316c16d4f savestate | $ VBoxManage controlvm b0237553-9653-4461-bd0e-d4d316c16d4f savestate | ||
- | Oracle VM VirtualBox Command Line Management Interface Version 3.2.8 | ||
- | (C) 2005-2010 Oracle Corporation | ||
- | All rights reserved. | ||
- | |||
- | 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | ||
$ exit</ | $ exit</ | ||
+ | ===== Update VirtualBox ===== | ||
+ | ==== CentOS ==== | ||
+ | < | ||
+ | ===== Resume VMs ===== | ||
+ | < | ||
+ | $ VBoxHeadless -s nobu & | ||
+ | $ VBoxHeadless -s lims & | ||
+ | $ exit | ||
+ | # su - aorth | ||
+ | $ VBoxHeadless -s b0237553-9653-4461-bd0e-d4d316c16d4f -v off &</ | ||
+ | |||
+ | ===== Mount a CD to a running VM ===== | ||
+ | Attach an ISO to a running VM. The CD/DVD device is on the Secondary IDE controller (--port 1), and it is the slave device (--device 1). | ||
+ | < | ||
+ | |||
+ | ====== Optimal settings for a guest ====== | ||
+ | |||
+ | * Notes about '' | ||
+ | * Set the IO scheduler to '' | ||
+ | * Edit the grub command line to set the default IO scheduler, usually in /// | ||
+ | * Install guest additions (VirtualBox or VMware) |