Skip to content

Commit

Permalink
Add notes on 3D acceleration
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiomt committed Jul 16, 2019
1 parent 67e9e30 commit 382a5f3
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
15 changes: 15 additions & 0 deletions doc/TROUBLESHOOT.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Troubleshooting

## Vagrantfile

In case you have made any change to Vagrantfile then validate it with:

`vagrant validate`
Expand All @@ -17,3 +19,16 @@ For trying to stablish an SSH connection with debug enabled use:
`vagrant ssh -- -vvv`

At Vagrantfile, set `vb.gui = true` enable the GUI of VirtualBox and see whether the VM is waiting for input on startup

## Grub

In case you need to change grub configuration, for example to edit boot command line, do:

`sudo vi /etc/default/grub`

Change the properties as required and then execute

`sudo grub2-mkconfig -o /boot/grub2/grub.cfg`

`sudo grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg`

19 changes: 17 additions & 2 deletions doc/VBOX_CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,16 @@

## INSTALL VIRTUAL BOX GUEST ADDITIONS

See [VirtualBox Guest Additions on CentOS 7.5](https://www.if-not-true-then-false.com/2010/install-virtualbox-guest-additions-on-fedora-centos-red-hat-rhel/).
If your CentOS image does not include VirtualBox Guest Additions then download the version of Guest Additions that matches exactly your installed VirtualBox version from [here](http://download.virtualbox.org/virtualbox/) rename it to VBoxGuestAdditions.iso and place it in the same directory as Virtualbox.exe is which for Windows typically is C:\Program Files\VirtualBox.

Execute:
The easiest way to get VirtualBox Guest Additions is by mean of using the [vagrant-vbguest plugin](https://github.com/dotless-de/vagrant-vbguest).
Just install the plugin before you do vagrant up

`vagrant plugin install vagrant-vbguest`

See also [VirtualBox Guest Additions on CentOS 7.5](https://www.if-not-true-then-false.com/2010/install-virtualbox-guest-additions-on-fedora-centos-red-hat-rhel/).

To manully install or upgrade do:

```
sudo yum install gcc kernel-devel kernel-headers dkms make bzip2 perl
Expand All @@ -16,6 +23,14 @@ cd /media/VirtualBoxGuestAdditions
./VBoxLinuxAdditions.run
```

The kernel-headers and kernel-devel must match exactly the version of your installed kernel.
In order to check this do:
`uname -r`
and
`rpm -q kernel-devel`
If the versions don't match then `yum remove` kernel-devel and kernel-headers and `yum install`again with the exact version required.


-------------------------------------------------------------------------------

## REBUILD THE BASE BOX
Expand Down

0 comments on commit 382a5f3

Please sign in to comment.