virtualbox_general_notes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
virtualbox_general_notes [2017/09/14 14:13] – juckins | virtualbox_general_notes [2024/08/27 14:19] (current) – juckins | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== VirtualBox General Notes ==== | ==== VirtualBox General Notes ==== | ||
+ | |||
+ | If new kernel on host machine Rocky Linux 9 causes failure to start VirtualBox VMs, ensure the following kernel RPMs are installed: | ||
+ | |||
+ | kernel | ||
+ | kernel-core | ||
+ | kernel-devel | ||
+ | kernel-devel-matched | ||
+ | kernel-headers | ||
+ | kernel-modules | ||
+ | kernel-modules-core | ||
+ | kernel-modules-extra | ||
+ | |||
+ | |||
+ | Check version of installed Guest Additions: | ||
+ | |||
+ | modinfo vboxguest | ||
+ | |||
+ | |||
+ | Running VirtualBox as a service on Windows: | ||
+ | |||
+ | C:\Program Files\Oracle\VirtualBox> | ||
+ | |||
+ | __How to convert VMDK to VDI__\\ | ||
+ | |||
+ | See notes at https:// | ||
__How to resize a Virtual Drive__\\ | __How to resize a Virtual Drive__\\ | ||
+ | * The following was tested with VBox 5.1.26 | ||
* Shutdown the VM you want to resize | * Shutdown the VM you want to resize | ||
* Navigate to the .vdi file you want to resize | * Navigate to the .vdi file you want to resize | ||
* Make a backup copy of the .vdi file | * Make a backup copy of the .vdi file | ||
- | * As root: | + | * Run a command like this (example for 30GB drive) |
+ | # VBoxManage modifyhd / | ||
+ | | ||
+ | Note, if you have a vmdk file you need to follow this [[https:// | ||
- | https:// | + | # VBoxManage clonehd " |
- | http:// | + | # VBoxManage modifyhd " |
+ | # mv source.vmdksource.vmdk.BAK | ||
+ | # VBoxManage clonehd " | ||
+ | |||
+ | * 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 | ||
+ | * Select the partition you want to edit/resize and manipulate accordingly | ||
+ | * 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__ | __Possible mouse unresponsiveness issue in 5.1.18__ | ||
Line 25: | Line 69: | ||
# Power off VM\\ | # Power off VM\\ | ||
VBoxManage controlvm MyVM poweroff | VBoxManage controlvm MyVM poweroff | ||
+ | |||
+ | [[http:// | ||
**February 2015** | **February 2015** | ||
Line 30: | Line 76: | ||
//Updated October 2016 for wodim issues// | //Updated October 2016 for wodim issues// | ||
- | Installing Guest Additions in run-level 3 on CENTOS6 and CENTOS7: | + | Installing Guest Additions in run-level 3 on CentOS6, CentOS7, CentOS8 Stream: |
* https:// | * https:// | ||
* First, go to the VirtualBox window that is running the guest machine and choose Devices > Insert Guest Additions CD Image | * First, go to the VirtualBox window that is running the guest machine and choose Devices > Insert Guest Additions CD Image | ||
Line 48: | Line 94: | ||
* Ex: sh VBoxLinuxAdditions.run | * Ex: sh VBoxLinuxAdditions.run | ||
* When done, cd / and eject and reboot | * When done, cd / and eject and reboot | ||
- | + | __ | |
+ | Updated 18 March 2019__\\ | ||
+ | * https:// |
virtualbox_general_notes.1505412798.txt.gz · Last modified: 2017/09/14 14:13 by juckins