How to network boot Raspberry Pi

How to network boot Raspberry Pi

Using network boot on the Raspberry Pi allows you to install the operating system (Raspberry Pi OS) onto the device with nothing more than an internet connection. Contrast this to the typical way of getting an OS onto the device by using a separate PC and the Raspberry Pi imager tool. With network boot, the operating system can be downloaded online and installed onto a blank SD card that is inserted into the Raspberry Pi right before the installation process.

Read more

Ubuntu 22.04 boot repair how to guide

Ubuntu 22.04 boot repair how to guide

Although it should not happen often, your Ubuntu 22.04 may encounter a problem with booting if there is an error with the GRUB menu or a file in the system /boot directory. Fortunately for us, there is an easy way to fix a slew of common boot problems with a utility called Boot Repair. Whatever the case may be, Boot Repair is an excellent software to help us start troubleshooting.

Read more

Boot Your Raspberry Pi from a USB: A Tutorial

Boot Your Raspberry Pi from a USB: A Tutorial

Default behavior for a Raspberry Pi is to boot from the micro SD card. However, this behavior can be changed via the Raspberry Pi imager tool, where we can change the boot order for the device. This allows us to configure our Raspberry Pi to prioritize booting from USB before micro SD card. If the USB port contains nothing bootable, then it will resort to the micro SD card. In this tutorial, you will see how to boot a Raspberry Pi from USB.

Read more

article-main

How to disable Plymouth on Linux

Plymouth is an application originally developed by Red Hat and later adopted basically by all the most commonly used Linux distributions. The software runs very early in the boot process, and provides eye-candy animations which accompany the user until he is prompted to login into the system. When Plymouth is used, boot messages are hidden, although they can be visualized simply by clicking the esc key. Some users, however, may prefer to visualize boot messages by default, and avoid any animation.

Read more

How to force fsck to check filesystem after system reboot on Linux

How to force fsck to check filesystem after system reboot on Linux

Checking the file system for errors is an important part of Linux system administration. It is a good troubleshooting step to perform when encountering bad performance on read and write times, or file system errors. In this tutorial, we will explain a procedure on how to force fsck to perform a file system check on the next system reboot or force file system check for any desired number of system reboots, whether it is the root or a non-root mount point.

Read more

article-main

How to unlock a LUKS volume on boot on Raspberry Pi OS

LUKS (Linux Unified Key Setup) is the de facto standard encryption method used on Linux-based operating systems. As we saw in previous tutorials, when we want a partition or raw disk encrypted using LUKS to be automatically unlocked at boot, we need to enter a dedicated line into the /etc/crypttab file. Doing so, we are prompted to provide the encryption password interactively. This is quite straightforward on laptop or desktop machines, but how can we unlock a volume on an headless server? One solution is to use dropbear to get ssh access at an early boot stage, in the initramfs, in order to provide the volume password.

Read more

article-main

How to mount a Samba shared directory at boot

Samba is a free and open source interoperability suite of programs which allows us to share files and printers between machines running Linux or Windows. A Samba share is pretty easy to configure and can easily  be accessed on clients, since the vast majority of Linux file explorers has built-in support samba. In certain situations, however, we may want to mount a Samba share at boot, just like a normal filesystem on a specified mountpoint.

Read more