Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

thelio-astra-a1-n1 #263

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft

thelio-astra-a1-n1 #263

wants to merge 6 commits into from

Conversation

jackpot51
Copy link
Member

@jackpot51 jackpot51 commented Sep 5, 2024

Thelio Astra documentation, with additional Ubuntu setup guides.

Draft until standard documentation is filled out.

@jackpot51 jackpot51 marked this pull request as draft September 5, 2024 20:48
@jackpot51 jackpot51 changed the title thelio-astra-a1-n4 thelio-astra-a1-n1 Sep 5, 2024
Copy link
Member

@jacobgkau jacobgkau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are the points we hit while going through this guide. Most of our issues had to do with apt-get commands randomly hanging while we were running them in the BMC SOL console, which happened twice.

- On the `Network configuration` page, you should have a successfully connected ethernet port. Select `Done` to continue.
- On the `Proxy configuration` page, enter any required proxy (this should almost always be left blank). Select `Done` to continue.
- On the `Ubuntu archive mirror configuration` page, the default mirror for packages will be tested. When it completes, select `Done` to continue.
- On the `Guided storage configuration` page, select `Use an entire disk`, and choose the desired disk. Select `Done` to continue.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This page has a setting to set up the disk as an LVM group that's selected by default. We were unsure about that, so we should probably mention the setting, even if we want to keep it on (or at least explicitly state to leave the rest of the settings on their defaults).

- Upgrade the system with the following commands:
```
sudo apt-get update
sudo apt-get dist-upgrade
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer we say full-upgrade, the dist-upgrade syntax is antiquated [1][2].

(We could also use apt instead of apt-get to save some keystrokes, but I don't mind apt-get if you're concerned with people trying to script based off of this guide.)


## Desktop environment install

- The system will boot to a terminal login prompt. Log in with `system76` as the username and `system76` as the password.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By default, we got this prompt in the BMC serial console, and not the physical display connected with the machine. The expected behavior needs to be clarified; we thought it wasn't working because the physical display wasn't giving us a prompt.

sudo apt-get install ubuntu-desktop
```
- At this point, NetworkManager will be installed alongside systemd-networkd. This will cause 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. These instructions were adapted from https://cloudspinx.com/disable-systemd-networkd-on-ubuntu-linux/.
- Disable and mask systemd-networkd services with the following commands:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pedantic, but this and the next two bullet points should be indented underneath the note about what they do (and where they came from).

- When using lower core count CPUs, the first two PCIe x16 slots (closest to the CPU) will run at x8 speeds. Place x16 devices into the last two slots for optimal performance.
- Install all required hardware before Operating System installation, including GPUs and WiFi cards.
- The system firmware version must be `3.02` in order to support early boot output on NVIDIA GPUs.
- There is a jumper labeled `BMC disable` that can bypass the requirement that the BMC boots before the power button is functional.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We did not put this jumper on. Would it have completely disabled the BMC, preventing us from using its serial console functionality? If so, that would have prevented us from getting through the setup, so it shouldn't be recommended (at least for NVIDIA systems).

sudo netplan generate
```
- Reboot by running `sudo reboot`.
- You should see a login screen, where you can log in to the `System76` user with the password `system76`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We needed to be plugged into DisplayPort via the NVIDIA card at this point, and possibly needed one display rather than another. More notes about the requirements after the reboot should be added if possible.

```
- Install the System76 driver with the following command:
```
sudo apt-get install system76-driver
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if a note not to install system76-driver-nvidia would be warranted, since that's the SOP for most of our NVIDIA systems.

- On the `Ubuntu Pro` page, select `Skip for now`. Click on `Next` to continue.
- On the `Help improve Ubuntu` page, select `No, don't share system data`. Click on `Next` to continue.
- On the `Ready to go` page, click on `Finish`.
- Additional ethernet connections will repeatedly fail to connect. Open `nm-connnection-editor` to remove them.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tony needed clarification that this was a command; maybe say "Run nm-connection-editor to open the connection manager and remove them." to make it more clear how that works.

- Upgrade the system with the following commands. This may downgrade some packages as they pull the version from the System76 PPA:
```
sudo apt-get update
sudo apt-get dist-upgrade
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, this should be full-upgrade for a newly written guide.

@jacobgkau jacobgkau self-assigned this Dec 10, 2024
@jacobgkau jacobgkau force-pushed the astra branch 2 times, most recently from 99aae18 to 701faf1 Compare December 18, 2024 02:45
@jacobgkau jacobgkau force-pushed the astra branch 2 times, most recently from 32aa33f to c952829 Compare December 27, 2024 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants