Thelio Astra (Ubuntu 20.04 LTS Setup)
Thelio Astra uses an Ampere processor supporting AArch64 (ARM64) versions of Linux. If you need to reinstall the operating system, the instructions on this page can be used to set up Ubuntu 20.04 LTS.
Operating system download:
- Download the Ubuntu Server for ARM 20.04.5 LTS ISO.
- Verify that the SHA256SUM matches the following:
e42d6373dd39173094af5c26cbf2497770426f42049f8b9ea3e60ce35bebdedf- You can run
sha256sum ubuntu-20.04.5-live-server-arm64.isoto check the SHA256SUM from the terminal, or use a GUI application such as Popsicle.
- You can run
Hardware preparation:
- It's recommended to fill all 8 memory channels for maximum CPU performance.
- When using Ampere Altra (non-Max) CPUs, the top two PCIe x16 slots (closest to the CPU) will run at x8 speeds. Place x16 devices into the bottom two slots for optimal performance.
- Install all required hardware, including GPUs and WiFi cards, before installing the OS.
- The system firmware version must be
3.02or above in order to support early boot output on NVIDIA GPUs. - There is a jumper labeled
BMC_DIS(BMC Disabled) that can bypass the requirement that the BMC boots before the power button is functional.- Because the BMC may be necessary to complete the initial setup, use of this jumper is not recommended until initial setup is complete.
- Bridging the second and third pins disables waiting for the BMC on boot. The default behavior (enabling the BMC) is the same as if the first and second pins are bridged.
Firmware preparation:
- Plug the last ethernet port (closest to the PCIe slots) into to a DHCP-capable network where you already have another computer connected.
- This is the BMC's ethernet port, which will enable remote server management.
- Power on the system. Press the
F2key when the firmware splash screen appears to enter the firmware setup menu. - Navigate to the
Advancedtab, then select theNetwork Stack Configurationitem. SwitchNetwork StacktoDisabled. This will reduce boot times by disabling network booting, which will not be used in this guide. - Navigate to the
Server Mgmttab, then select theBMC Network Configurationitem. Note theStation IP address, which is how you will connect to the BMC's web interface later. - Navigate to the
Exittab and chooseSave Changes and Exit. When prompted, select yes. - After the system reboots, power it off to prepare for the next task.
BMC interface preparation:
- Open a web browser on another computer that is on the same network as the BMC. Navigate to the URL
https://AAA.BBB.CCC.DDD, replacingAAA.BBB.CCC.DDDwith the station IP address recorded before. - A login screen should appear. The default username is
rootand the default password is0penBmc.- The default password starts with a zero
0, not the letterO.
- The default password starts with a zero
- Under the
Operationsmenu, select theVirtual mediaitem. Click onAdd file, and in theFile Uploaddialog, choose theubuntu-20.04.5-live-server-arm64.isofile that you downloaded and verified before. Click onStart; a notification should briefly appear in the top right corner indicating success. - Under the
Operationsmenu, select theSOL consoleitem. This will show the system's serial output, which allows viewing Linux kernel output if it does not show up on the connected display.
Operating system installation:
- Plug the second to last ethernet port (above the BMC's ethernet port) into a DHCP-capable network with internet access.
- Power on the system. Press the
F11key when the firmware splash screen appears to open the boot menu. - In the boot menu, select the option that starts with
UEFI OS (Linux File-Stor Gadget. - Navigate to the
Boot and Install with the HWE kerneloption and presseto edit it. - Move the cursor to the line starting with
linux. In between/casper/hwe-vmlinuzand---, replacequiet splashwithconsole=tty0 nomodeset fsck.mode=skip, ensuring that there are spaces before and after these added arguments. PressF10to boot.- The first added argument,
console=tty0, tries to get Linux console output to show up on a connected display. - The second added argument,
nomodeset, works around potential nouveau driver crashes when NVIDIA graphics cards are used. - The third added argument,
fsck.mode=skip, will skip filesystem checks, which can take a long time.
- The first added argument,
- It will take some time to boot to the installer. If no output is seen, check the
Serial over LAN (SOL) consolepage in the BMC web interface. - Select the desired language.
- If you are prompted to apply an installer update, choose
Continue without updating. - On the
Keyboard configurationpage, select the desired keyboard layout and variant. SelectDoneto continue. - On the
Network configurationpage, you should have a successfully connected ethernet port. SelectDoneto continue. - On the
Proxy configurationpage, enter any required proxy (this should almost always be left blank). SelectDoneto continue. - On the
Ubuntu archive mirror configurationpage, the default mirror for packages will be tested. When it completes, selectDoneto continue. - On the
Guided storage configurationpage, selectUse an entire disk, and choose the desired disk. Leave theSet up this disk as an LVM groupoption enabled. SelectDoneto continue. - On the
Storage configurationpage, you can review the disk configuration. SelectDoneto continue. A warning will be shown; selectContinue. - On the
Profile setuppage, enter the following information (or substitute your own information):Your name:System76Your servers name:system76-pcPick a username:system76Choose a password:system76Confirm your password:system76
- On the
SSH setuppage, leaveInstall OpenSSH serverunselected. SelectDoneto continue. - On the
Third-party driverspage, leave any aptions unselected. SelectContinueto continue. - On the
Featured Server Snapspage, leave all options unselected. SelectDoneto continue. - On the
Installing systempage, installation progress will be shown. This may take some time to finish. When it is complete, selectReboot Now. - You may be prompted to remove the installation medium. Navigate in the BMC web interface to the
Operationsmenu andVirtual mediapage. Click on theStopbutton. A notification should briefly appear in the top right corner indicating success. Press Enter on the system to reboot.
Desktop environment installation:
- The system will boot to a terminal login prompt. Log in with
system76as the username andsystem76as the password (or your own credentials).- You may need to log in with the BMC serial console if the physical display does not show a prompt.
- Upgrade the system with the following commands:
sudo apt update sudo apt full-upgrade - Install the NVIDIA driver with the following command. The 550 driver is currently only packaged with the server variant for 20.04.
sudo apt install nvidia-driver-550-server - Install the default Ubuntu desktop environment with the following command. This will download a lot of packages and take a while to install:
sudo apt install ubuntu-desktop - At this point, NetworkManager will be installed alongside systemd-networkd, which causes boot delays as they both wait for network completion. The following steps will disable systemd-networkd in favor of NetworkManager, which has better integration with the Ubuntu desktop.
- A. Disable and mask systemd-networkd services with the following commands:
sudo systemctl disable systemd-networkd.service systemd-networkd.socket sudo systemctl mask systemd-networkd.service systemd-networkd.socket - B. Edit the netplan configuration with
sudo nano /etc/netplan/00-installer-config.yamland replace all of the contents with the following:network: version: 2 renderer: NetworkManager - C. Regenerate the netplan configuration by running the following command:
sudo netplan generate
- A. Disable and mask systemd-networkd services with the following commands:
- Reboot by running
sudo reboot. - You should see a login screen, where you can log in to the
System76user with the passwordsystem76(or log into your own account).- If you don't see a login screen, try a different display connection type (e.g. DisplayPort instead of HDMI) and/or a different display.
- After logging in, initial setup will appear.
- A. On the
Online Accontspage, clickSkipto continue. - B. On the
Livepatchpage, clickNextto continue. - C. On the
Help improve Ubuntupage, selectNo, don't send system info, then clickNextto continue. - D. On the
Privacypage, leaveLocation Servicesunselected. ClickNextto continue. - E. On the
Ready to gopage, clickDone.
- A. On the
- Default additional ethernet connections will repeatedly fail to connect. Run
nm-connnection-editorto open the connection manager and remove them.
System76 Driver installation:
- Ensure that DMI information is properly set at this point. If not, set it and reboot.
- If you are reinstalling your OS and have not re-flashed your firmware from a non-System76 source, then the DMI information should already be set correctly.
- Add the System76 PPA with the following command:
sudo add-apt-repository ppa:system76-dev/stable - Install the System76 Driver with the following command:
sudo apt install system76-driver - Upgrade the system with the following commands. This may downgrade some packages as they pull the versions from the System76 PPA:
sudo apt update sudo apt full-upgrade - Reboot the system with the
rebootcommand.