Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 9 Next »

Bedrock V3000 does not have a display, so Ubuntu installation requires connecting Bedrock to a host PC using a console (serial over USB).

This document describes Ubuntu installation process on Bedrock V3000.

Test setup

The installation was validated at SolidRun using the following setup:

  • Ubuntu versions: Ubuntu server 22.04.1

  • Terminal software:

    • Tio

    • Putty

  • USB flash disk: Kingston Data Traveler

Installation process

Creating bootable USB drive

This step takes place on a host PC running Linux.

  • download Ubuntu server .iso file

  • Connect a USB thumb drive to your pc

  • Run command: 
    lsblk

  • Identify your drive (usually /dev/sdX, X can be different for each system) 

    • NOTE: SATA HDDs & SSDs also identify as sdX so be careful not to corrupt your data.

  • Run command:
    sudo dd if=${path/to/iso/file.iso} of=/dev/sdX status=progress

  • Wait until dd finishes and safely eject the USB drive.

Connecting serial console

tio:

  • Install the tio package on your linux pc

  • Run the command

tio /dev/ttyUSBX
  • Where X is the number assigned to your serial adapter, you can view it by running

sudo dmesg | grep ttyUSB*

putty:

  • Download putty to your linux or windows pc

  • Open putty gui

  • Choose Serial from the 3 bullet choices

  • In the serial line type /dev/ttyUSBX

  • Where X is the number assigned to your serial adapter, you can view it by running

sudo dmesg | grep ttyUSB*
  • Speed should be 115200

  • You can click on save to save the current configuration for faster connection in the future

  • Click on open

  • A terminal will appear

On Bedrock

BIOS settings

You need to enable some configurations in BIOS before starting the installation.

  • Insert the USB media to the device

  • Turn on Bedrock

  • Repetitively press the DEL / ESC key to enter the BIOS setup

  • In BIOS go to -> Save & Exit -> <your bootable USB device> -> yes

  • Device will reset and a grub screen will appear

Configure grub

A grub menu will appear saying try or install Ubuntu. Press ‘e’ to set the boot parameters.

  • You will be prompted with a window like this:

setparams 'Install Ubuntu Server'
set gfxpayload=keep
linux        /casper/vmlinuz   quiet  --- 
initrd        /casper/initrd

  • Remove the quiet parameter and change the entry as follows:

  • linux        /casper/vmlinuz   console=tty1 console=ttyS4,115200n8 systemd.unit=getty@ttyS4.service

  • Wait for the live USB to boot

Live USB settings

After live USB boots run the following services :
sudo systemctl start snapd
sudo systemctl start snapd.socket
sudo systemctl start snapd.seeded
sudo systemctl start snapd.apparmor
sudo systemctl start snapd.core-fixup
sudo systemctl start snapd.autoimport
sudo systemctl start systemd-resolved
sudo systemctl start snapd.system-shutdown
sudo systemctl start cloud-init
sudo systemctl start cloud-init-local
sudo systemctl start systemd-rfkill.service
sudo systemctl start systemd-networkd.service
sudo systemctl start ssh.service
sudo systemctl start ModemManager.service
sudo systemctl start snap.lxd.daemon.service

  • run the installer program: Sudo subiquity

  • wait for 10 minutes until the cloud-init runs out

  • Choose your selected settings for installation

  • Wait until installation is complete.

  • you will be asked to remove the installation media and press enter

  • Device will be rebooted

Enable ttyS4 service

Now you need to enable the ttyS4 console to be able to interact with the system.

  • Boot into BIOS

  • Boot from the disk you installed linux on.

  • If you don't get a grub menu on boot hold the shift key

  • In the grub menu choose:

    • Advanced options for Ubuntu

    • Select the line that says recovery mode

    • Press ’e’

    • In the line that says: linux        /boot/vmlinuz-5.15.0-43-generic root=UUID=4c58e5aa-6443-4fb2-84e7-4ac2265a7b9e ro recovery nomodeset dis_ucode_ldr

    • Add the console redirection:

      • linux /boot/vmlinuz-5.15.0-43-generic root=UUID=4c58e5aa-6443-4fb2-84e7-4ac2265a7b9e ro console=tty1 console=ttyS4,115200n8 recovery nomodeset dis_ucode_ldr

      • Press ctrl+x to boot

  • Choose Root (drop into shell)

  • Type to enable the ttyS4 service automatically when you boot: systemctl enable getty@ttyS4.service

  • Boot Linux in normal mode

  • No labels