Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


virtualbox_general_notes

This is an old revision of the document!


VirtualBox General Notes

How to resize a Virtual Drive
https://forums.virtualbox.org/viewtopic.php?f=35&t=50661
http://derekmolloy.ie/resize-a-virtualbox-disk/
Remember to do the VBoxManage command as root.

February 2015

Updated October 2016 for wodim issues

Installing Guest Additions in run-level 3 on CENTOS6 and CENTOS7:

  • 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)
  • 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.1486676576.txt.gz · Last modified: 2017/02/09 16:42 by juckins