Lab 00 Setup
Lab 00 Setup
Practical Labs
Bechir Zalila
[email protected]
May 6, 2021
Embedded Linux System Development
Ubuntu installation
Set up the Linux distribution: Ubuntu 20.04
Training setup
Download files and directories used in practical labs
Lab data are now available in an embedded-linux-qemu-labs directory in your home direc-
tory. This directory contains directories and files used in the various practical labs. It will
also be used as working space, in particular to keep generated files separate when needed.
You are now ready to start the real practical labs!
More guidelines
Can be useful throughout any of the labs
• Read instructions and tips carefully. Lots of people make mistakes or waste time
because they missed an explanation or a guideline.
• Always read error messages carefully, in particular the first one which is issued. Some
people stumble on very simple errors just because they specified a wrong file path and
didn’t pay enough attention to the corresponding error message.
• Never stay stuck with a strange problem more than 5 minutes. Show your problem to
your colleagues or to the instructor.
• You should only use the root user for operations that require super-user privileges,
such as: mounting a file system, loading a kernel module, changing file ownership,
configuring the network. Most regular tasks (such as downloading, extracting sources,
compiling...) can be done as a regular user.
• If you ran commands from a root shell by mistake, your regular user may no longer
be able to handle the corresponding generated files. In this case, use the chown -R
command to give the new files back to your regular user.
Example: $ chown -R myuser.myuser linux/
1 This tool from Microsoft is Open Source! To try it on Ubuntu: sudo snap install code --classic