- 1 Configuration
- 1.1 Q: VirtualBox manager reports the "The shared folder 'xyz' could not be set up" when starting the MVM. How to fix it?
- 1.2 Q: How to configure the network interface of the MVM?
- 1.3 Q: How to change the keyboard layout of Lightweight X11 Desktop Environment (LXDE)?
- 1.4 Q: How to use the USB devices connected to the host machine?
- 1.5 Q: I can't start make menuconfig. How to fix it?
- 1.6 Q: Is it possible to resize the virtual disk?
- 1.7 Q: I get an OpenSSL error when accessing resources over TLS, e.g. download using wget on https. How to fix this?
Configuration[edit | edit source]
[edit | edit source]
This kind of error is due to an incorrect path of the folder(s) shared between the host and the guest machines. The following image shows an example of such an error.
To fix it, just remove the erroneous shared folders as depicted in the following image.
Q: How to configure the network interface of the MVM?[edit | edit source]
Please refer to this page.
Q: How to change the keyboard layout of Lightweight X11 Desktop Environment (LXDE)?[edit | edit source]
To change the keyboard layout, open a terminal (
CTRL+ALT+T) and run the following command:
sudo dpkg-reconfigure keyboard-configuration
Follow the on-screen instruction to select the desired keyboard layout
Q: How to use the USB devices connected to the host machine?[edit | edit source]
By default, the USB controller of the MVM (guest machine) is not enabled. To enable it, in the VM VirtualBox Manager right click on the selected MVM end open the
Settings item. Them, select the
USB item and configure it as shown in the following image.
The USB devices which are physically connected to the host machine can be connected to the guest machine with the
Devices->USB menu, as shown in the following image.
[edit | edit source]
If the following error is encountered when trying to configure the Linux kernel via
dvdk@vagrant-ubuntu-trusty-64:~/lynx/linux$ make O=../linux-build/ menuconfig GEN /home/dvdk/lynx/linux-build/Makefile *** Unable to find the ncurses libraries or the *** required header files. *** 'make menuconfig' requires the ncurses libraries. *** *** Install ncurses (ncurses-devel) and try again. *** make: *** [scripts/kconfig/dochecklxdialog] Error 1 make: *** [menuconfig] Error 2 make: *** [sub-make] Error 2
, required libraries are missing.
Please install the following packages:
Q: Is it possible to resize the virtual disk?[edit | edit source]
Yes, but you need to convert the image to VDI format first. For example, see this page.
Once you have the VDI file, follow the procedure described here.
Q: I get an OpenSSL error when accessing resources over TLS, e.g. download using wget on https. How to fix this?[edit | edit source]
This errors is caused when an old version of OpenSSL, e.g. like the one present on an non-updated Ubuntu 12.04, is used to access resources using TLS, e.g.:
dvdk@dvdkVM:~$ wget https://github.com/openssl/openssl/archive/master.zip --2018-11-15 22:59:47-- https://github.com/openssl/openssl/archive/master.zip Resolving github.com (github.com)... 126.96.36.199, 188.8.131.52 Connecting to github.com (github.com)|184.108.40.206|:443... connected. OpenSSL: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Unable to establish SSL connection.
To fix this user just have to updates OpenSSL and related libraries, using the following commands:
sudo apt-get update sudo apt-get install libssl-dev curl wget openssl
This is the result:
dvdk@dvdkVM:~$ wget https://github.com/openssl/openssl/archive/master.zip --2018-11-15 23:02:38-- https://github.com/openssl/openssl/archive/master.zip Resolving github.com (github.com)... 220.127.116.11, 18.104.22.168 Connecting to github.com (github.com)|22.214.171.124|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/openssl/openssl/zip/master [following] --2018-11-15 23:02:39-- https://codeload.github.com/openssl/openssl/zip/master Resolving codeload.github.com (codeload.github.com)... 126.96.36.199, 188.8.131.52 Connecting to codeload.github.com (codeload.github.com)|184.108.40.206|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/zip] Saving to: `master.zip' [ <=> ] 652.482 694K/s