Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


virtualbox_general_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
virtualbox_general_notes [2016/04/16 08:01] – created juckinsvirtualbox_general_notes [2017/09/14 14:13] juckins
Line 1: Line 1:
 ==== VirtualBox General Notes ==== ==== VirtualBox General Notes ====
  
-[[https://forums.virtualbox.org/viewtopic.php?f=35&t=50661|How to resize a Virtual Drive]]+__How to resize a Virtual Drive__\\ 
 +  * Shutdown the VM you want to resize 
 +  * Navigate to the .vdi file you want to resize 
 +  * Make a backup copy of the .vdi file 
 +  * As root:   
 + 
 + 
 +https://forums.virtualbox.org/viewtopic.php?f=35&t=50661\\ 
 +http://derekmolloy.ie/resize-a-virtualbox-disk/\\ 
 + 
 +__Possible mouse unresponsiveness issue in 5.1.18__ 
 +https://forums.virtualbox.org/viewtopic.php?f=3&t=79034 
 + 
 +__Running in Headless Mode__\\ 
 + 
 +# List virtual machines\\ 
 +VBoxManage list vms\\ 
 +"MyVM" {e4b0c92c-4301-4a7d-8af8-fe02fed00451} 
 + 
 +# Start VM in headless mode\\ 
 +VBoxManage startvm MyVM --type headless 
 + 
 +# Power off VM\\ 
 +VBoxManage controlvm MyVM poweroff 
 + 
 +**February 2015** 
 + 
 +//Updated October 2016 for wodim issues// 
 + 
 +Installing Guest Additions in run-level 3 on CENTOS6 and CENTOS7: 
 +  * https://linuxconfig.org/how-to-mount-cdrom-in-linux 
 +  * First, go to the VirtualBox window that is running the guest machine and choose Devices > Insert Guest Additions CD Image 
 +  * From a separate terminal window (via ssh) or in the VM window itself, su - root 
 +  * yum install cdrecord 
 +  * wodim --devices 
 +    * (note the drive designation) 
 +      * If that command fails on a CENTOS7 v7.2.1511 VirtualBox instance, try: wodim dev=/dev/sr0 --devices 
 +      * If that succeeds, it should say something like 'VBOX'  'CD-ROM' 
 +      * Or: wodim -prcap (although that doesn't seem to give you the info needed) 
 +      * See [[https://bugs.launchpad.net/ubuntu/+source/cdrkit/+bug/1203559]] 
 +  * mkdir /media/cdrom  
 +  * mount -t iso9660 /dev/scd0 /media/cdrom 
 +    * if you used "sr0" above, substitute sr0 for scd0 in the line above 
 +  * cd /media/cdrom 
 +  * Then run Linux version of script 
 +    * Ex: sh VBoxLinuxAdditions.run 
 +  * When done, cd / and eject and reboot 
  
virtualbox_general_notes.txt · Last modified: 2022/01/15 10:30 by juckins