Upuntu Turorials
A collection of links and tutorials that halp making using Ubuntu on the Pi.
Learning Objectives
Topics covered
Ubuntu is a real good alternative for an operating system on teh PI. The reason is that at this time RaspberryOS is only supporting 32-bit, while Ubuntu supports both 32 and 64 bit versions of their operating system. We recommend to just install the 64 bit version.
Ubuntu PI tutorials from Canonical
Currently this includes
from: https://www.zdnet.com/article/hands-on-adventures-with-ubuntu-linux-on-the-raspberry-pi-4/
xzcat ubuntu-20.10-preinstalled-desktop-arm64+raspi.img.xz | dd bs=4M of=/dev/sdX iflag=fullblock oflag=direct status=progress
xzcat uncompresses the download file and writes it to standard output, so we can pipe it to the dd command dd is the Linux raw copy utility, which will actually write the data to the SD card bs=4M tells dd to read/write the data in blocks of 4 Megabytes of=/dev/sdX tells dd where to write the output; you need to replace the X with the device identifier for the SD card on your system; be very careful about this, because putting the wrong character here can have catastrophic consequences iflag=fullblock tells dd to accumulate full blocks on the input before proceeding to the output oflag=direct tells dd to use direct I/O operations for the data status=progress tells dd to show a periodic summary of the data transfer
sudo cloud-init clean –logs –reboot
Will cause cloud-init to reset itself and re-run after rebooting the machine. Note that this does not clean up everything that cloud-init did the first time round (user creation, file-writing, etc.), so depending on the configuration it may or may not work successfully the second time (though generally I’ve found it reasonably useful for testing). Currently, the only way to completely clean the system is to re-image.
Important read but we want to use k3s and not k3sup https://medium.com/icetek/building-a-kubernetes-cluster-on-raspberry-pi-running-ubuntu-server-8fc4edb30963
some tool, nt sure if useful