MRC/Tutorials/Installation from OVA file: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
m Added next section link Tag: 2017 source edit  | 
				No edit summary Tag: 2017 source edit  | 
				||
| Line 20: | Line 20: | ||
#Select the newly imported VM "mrc-ros1-template" from the list and click "Start" (green right-pointing arrow) to boot it up.  | #Select the newly imported VM "mrc-ros1-template" from the list and click "Start" (green right-pointing arrow) to boot it up.  | ||
#The password for the virtual machine is "mrc"  | #The password for the virtual machine is "mrc"  | ||
#After starting up, the system will automatically install some security updates in the background. Quickly performing the next steps may result in an error similar to the following: "E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 2460 (unattended-upgr)". One solution is to wait it out, but most likely it will get stuck. So just run the command: "sudo systemctl stop unattended-upgrades.service"  | #After starting up, the system will automatically install some security updates in the background. Quickly performing the next steps may result in an error similar to the following: "E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 2460 (unattended-upgr)". One solution is to wait it out, but most likely it will get stuck. So just run the command: "sudo systemctl stop unattended-upgrades.service". If that doesn't work, jsut quit the virtualbox and just re-open it.   | ||
#Open a terminal (ctrl+alt+t), and enter the following command: "sudo apt-get install virtualbox-guest-additions-iso"  | #Open a terminal (ctrl+alt+t), and enter the following command: "sudo apt-get install virtualbox-guest-additions-iso". If you can't find it, then run "sudo apt-get update" first.   | ||
#(Clipboard sharing) At the top toolbar of the VM set a) "Devices"->"Shared Clipboard"->"Bidirectional" and b) "Devices"->"Drag and Drop"->"Bidirectional"  | #(Clipboard sharing) At the top toolbar of the VM set a) "Devices"->"Shared Clipboard"->"Bidirectional" and b) "Devices"->"Drag and Drop"->"Bidirectional"  | ||
#(Automatic scaling) At the top toolbar of the VM Press "Devices"->"Insert Guest Additions CD Image..". A window will pop up related to "VBox_GAs_7.1.6" and just press "Run". After finishing the installing just press "enter" and the window will close automatically.  | #(Automatic scaling) At the top toolbar of the VM Press "Devices"->"Insert Guest Additions CD Image..". A window will pop up related to "VBox_GAs_7.1.6" and just press "Run". After finishing the installing just press "enter" and the window will close automatically.  | ||
Latest revision as of 16:26, 23 April 2025
A. Import the VM on the Windows Machine
- Download the .OVA file from this link: https://tuenl-my.sharepoint.com/:u:/g/personal/e_torta_tue_nl/EVGPgpPHIJlPhDbORKEaD2wB7hMJB3gHlaGSiUYT6wwppA?e=OcxAzv
 - Install [VirtualBox] on the your machine, if it's not already installed.
 - Open VirtualBox on your machine.
 - Click on "File" in the top menu and select "Import Appliance...".
 - Browse to the location where you transferred the .ova file and select it.
 - Follow the import wizard, accepting the default settings.
 - After importing, you should see the VM "mrc-ros1-template" listed in VirtualBox on your Windows machine
 
B. Configure some settings of the VM
- In the VirtualBox menu, right click the "mrc-ros1-template" and click the option "settings" (orange cogwheel)
 - Go to "Display" and adjust the "Video Memory" to 64 MB.
 - Go to "Network" and select "Bridged Adapter" from the dropdown menu at "Attached to". Confirm that your wireless adapter is correctly configured at "Name", e.g., "Intel(R) Wi-Fi 6 AX200 160MHz"
 - Click "Ok" to confirm your changes
 
C. Final configurations within the VM
We need to configure the virtual machine to support clipboard sharing (copy-paste) with the host system and to automatically scale the display to fit your screen.
- Select the newly imported VM "mrc-ros1-template" from the list and click "Start" (green right-pointing arrow) to boot it up.
 - The password for the virtual machine is "mrc"
 - After starting up, the system will automatically install some security updates in the background. Quickly performing the next steps may result in an error similar to the following: "E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 2460 (unattended-upgr)". One solution is to wait it out, but most likely it will get stuck. So just run the command: "sudo systemctl stop unattended-upgrades.service". If that doesn't work, jsut quit the virtualbox and just re-open it.
 - Open a terminal (ctrl+alt+t), and enter the following command: "sudo apt-get install virtualbox-guest-additions-iso". If you can't find it, then run "sudo apt-get update" first.
 - (Clipboard sharing) At the top toolbar of the VM set a) "Devices"->"Shared Clipboard"->"Bidirectional" and b) "Devices"->"Drag and Drop"->"Bidirectional"
 - (Automatic scaling) At the top toolbar of the VM Press "Devices"->"Insert Guest Additions CD Image..". A window will pop up related to "VBox_GAs_7.1.6" and just press "Run". After finishing the installing just press "enter" and the window will close automatically.
 - Reboot the VM: just press the "X" to close the VM interface and press "Send the shutdown signal". Afterwards just start it up again.
 
D. Final preparations for tutorials further
- In the home directory, create a folder "mrc". We do so by opening the terminal (ctrl+alt+t) and entering the command "mkdir mrc".
 
Troubleshooting Tips:
- If you have problems visualizing the screen of the virtual machine, try re-installing the guest additions
 
Next section: Starting the simulator