virtualbox_general_notes
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
virtualbox_general_notes [2016/04/16 08:01] – created juckins | virtualbox_general_notes [2017/09/14 14:18] – juckins | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== VirtualBox General Notes ==== | ==== VirtualBox General Notes ==== | ||
- | [[https:// | + | __How to resize a Virtual Drive__\\ |
+ | * The following was tested with VBox 5.1.26 | ||
+ | * Shutdown the VM you want to resize | ||
+ | * Navigate to the .vdi file you want to resize | ||
+ | * Make a backup copy of the .vdi file | ||
+ | * Run a command like this (example for 30GB drive) | ||
+ | |||
+ | # VBoxManage modifyhd / | ||
+ | |||
+ | * Start VirtualBox manager | ||
+ | * Highlight the VM whose disk you are resizing | ||
+ | * Click Settings and then click storage | ||
+ | * Mount a virtual CDROM (gparted-live ISO that you downloaded to the host machine) | ||
+ | * Start the VM | ||
+ | * Start Gparted LIVE | ||
+ | * Follow the menus to resize the partition that you need to make larger | ||
+ | * When done, exit Gparted and unmount the CDROM | ||
+ | * Boot the VM and verify your changes were implemented | ||
+ | * Ref 1: https:// | ||
+ | * Ref 2: http:// | ||
+ | |||
+ | __Possible mouse unresponsiveness issue in 5.1.18__ | ||
+ | https:// | ||
+ | |||
+ | __Running in Headless Mode__\\ | ||
+ | |||
+ | # List virtual machines\\ | ||
+ | VBoxManage list vms\\ | ||
+ | " | ||
+ | |||
+ | # 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:// | ||
+ | * 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=/ | ||
+ | * If that succeeds, it should say something like ' | ||
+ | * Or: wodim -prcap (although that doesn' | ||
+ | * See [[https:// | ||
+ | * mkdir / | ||
+ | * mount -t iso9660 /dev/scd0 / | ||
+ | * if you used " | ||
+ | * cd / | ||
+ | * 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