Table of Contents
40 NI Linux RT virtualized on VMware
This guide is based on the NI forums thread Provide a Virtual Machine (VM) in which to run LV RT systems on and is intended to be a brief summery.
1. Installation Media
NI provides a Linux RT Recovery-Image in the folder C:\Program Files (x86)\National Instruments\RT Images\Utilities\Linux RT PXI Safemode\8.5\standard_x64_recovery.iso
(Version 8.5 in this case).
If the image is not there, you can install the package NI Linux RT System Image
with the NI Package Manager.
2. Creating a new VM with VMware
In VMware Workstation (or Fusion) create a new Virtual Machine with the following configuration.
-
Virtual Machine Configuration: Select Custom.
-
Virtual Machine Hardware Compatibility: Select the highest you want.
-
Install operating system from: Select Use ISO image and browse for the
standard_x64_recovery.iso
file. -
Guest Operating System: Select Linux with version Ubuntu 64-bit.
-
Virtual Machine Name: Type in an appropriate Name and select a folder to store the VM.
-
Processors: I selected one processor with two cores, but other configurations should also work.
-
Memory: For the most cases 2048 MB of RAM should be enough.
-
Network Connection: To find the system from the MAX on other computer I recommend to use bridged networking. With this selection the VM gets an IP in the same range as your other machines.
-
I/P Controller Type: Select LSI Logic (Recommended).
-
Virtual Disk Type: Select SATA.
-
Disk Size: Use the default value of 20 GB. The Linux installer formats the main drive to 16 GB anyway.
After the VM is created and before you start it, you have to go into the VM Settings ⇾ Options Tab ⇾ Advanced and set the Firmware type to UEFI.
3. First Start and Linux Installation
On first boot there will be a screen “NI Linux Real-Time Boot Options”. Press “e” to edit the Grub boot commands like in the screenshot below. With this command the operating system will be installed without further requests. Press “F10” to start the installation.