The Robosense AI algorithm SDK supports PC X86 and NVIDIA Jetson AGX Xavier two deployment platforms. As we usually have installed Win10 on our PC, what we need to do is to install the Ubuntu as well, so we will have Windows10 & Ubutnu as dual system.
Which computers are suitable for
Ubuntu Desktop Edition Recommended Minimum System Requirements:
- 2 GHz dual core processor
- 4 GiB RAM (system memory)
- 25 GB (8.6 GB for minimal) of hard-drive space (or USB stick, memory card or external drive but see LiveCD for an alternative approach)
- VGA capable of 1024x768 screen resolution
- Either a CD/DVD drive or a USB port for the installer media
- Internet access is helpful
Preparation before installation
- Hardware preparation: a USB stick with a capacity of 8G
- Download the mirror: Download Ubuntu Desktop .
- Burning software: Win32 Disk Imager , software to burn image files to U disk
Burn
Open Win32 Disk Imager, find the image and burn it to your U disk. When searching, pay attention to modify the drop-down menu as shown in the figure, and note that the original data on the USB stick will be cleared after clicking Write to start burning.
Click Write to start burning, all files on the USB stick will be cleared
So you are ready to install your boot disk
Mark out the Ubuntu system partition
Go directly to the Disk Manager under Windows 10 to find a disk with enough space, and compress a part of the blank partition by compressing the volume. The size of the partition is based on personal needs. This size is all the available space of the second system in the future and must not be less than 25GB
In this way, you can enter the installation steps
Install
Insert the USB stick you prepared, restart the computer in Windows environment, press F2 on the manufacturer interface to enter the BIOS-SETUP interface, turn off the secure mode (Secure Boot) according to your computer model, and press F10 (depending on the computer) to save the BIOS Configure, the computer will restart at this time, you should press F12 to enter the BIOS boot menu, and select your USB as the boot.
After that, you can enter the following interface.
Skip some unimportant configurations, and then enter the following interface
It is recommended to install in this way to save a lot of configuration later
Now comes to the most import part of the installation.
Choose Something else
In this case, we will partition manually, assuming that you set aside a free partition of 80GB, click the free drive letter, click "+" to partition, as follows:
1) EFI: add it to the only free partition with a size of 200M, logical partition, and the starting position of space for EFI; This partition is essential for installing the Ubuntu boot option.
2) Swap: The size of ubuntu's virtual memory is usually about twice the size of the computer's physical memory. It can be divided into 8GB, logical partition, space starting position, used for "swap" or "swap space ".
3) /: This is the root directory of Ubuntu, which is used to install the system and software. It is equivalent to Windows' C drive. We split it into 20GB, primary partition, space starting location, for "ext4 journalfilesystem ", mount point "/" (depending on your disk space, can be larger, can be "/"). Ubuntu is installed in the root directory by default.)
4) /home: equivalent to other Windows disks, the rest of the partition, logical partition, space start location, for "ext4 journaling file system ", mount point "/home"
Ok, partition is done, you can partition as described above, no problem, at least I always do (highly recommended).
The following step is important: At the bottom of the partition screen, select the location of the installation boot option, we just created a 200 MB EFI partition, now you look at the number in front of the partition, for example, /dev/sda1, different machines will have different numbers, select the efI partition number in the drop-down list. The Windows boot option is also an EFI file, which is about 500M in size, while we created Ubuntu with an EFI of 200M in size. Make sure you choose the right EFI, then click "Install Now".
Summarize
After the installation is complete, you may be very excited. But we still need to install the ROS and CUDA and other necessary software to the Ubuntu before Running The Robosense algorithm SDK, which we will talk about in the next blog.