Install Custom Operating System Image (Ubuntu) on Raspberry Pi

Tiempo de lectura: 3 minutos

Reading time: 3 minutes

Hello, today we are going to see how we can install a custom image on a Raspberry Pi.

The first thing we need to do is download the official program Raspberry Pi Imager

Once downloaded, install it, and the following menu will appear:

Now, select the Operating System you want to install. If you want to use Docker, I recommend Ubuntu:

To select Ubuntu, go to Choose OS > Other general-purpose OS > Ubuntu

In this case, I have chosen Ubuntu Server as it takes up less space, and I don’t need the desktop on the Raspberry Pi.

Once selected, the configuration menu appears:

If it doesn’t appear, you can access it by pressing CRTL + SHIFT + X

Now, you can configure the options:

In this case, we will set a hostname.

We will also enable SSH using an RSA key for added security.

To add the RSA key or keys, copy the generated public RSA key and paste it into the “Set authorized_keys” field.

You can also change the username and password in the “username and password” section. However, you can disable it later to disallow access via username and password.

You can choose the language configuration:

Finally, click on save and choose the SD card where you want to install it by clicking on “Choose Storage”:

Tiempo de lectura: 3 minutes

Hello, today we are going to see how we can install a custom image on a Raspberry Pi.

The first thing we need to do is download the official program Raspberry Pi Imager

Once downloaded, install it, and the following menu will appear:

Now, select the Operating System you want to install. If you want to use Docker, I recommend Ubuntu:

To select Ubuntu, go to Choose OS > Other general-purpose OS > Ubuntu

In this case, I have chosen Ubuntu Server as it takes up less space, and I don’t need the desktop on the Raspberry Pi.

Once selected, the configuration menu appears:

If it doesn’t appear, you can access it by pressing CRTL + SHIFT + X

Now, you can configure the options:

En este caso, vamos a establecer un nombre de host.

También activaremos SSH, pero usaremos una clave RSA para brindar mayor seguridad.

Para poder agregar la clave RSA o claves, copia la clave pública RSA generada y pégala en el campo “Set authorized_keys”.

También puedes cambiar el nombre de usuario y la contraseña en la sección “username and password”. Sin embargo, luego puedes desactivar esto para no permitir el acceso mediante nombre de usuario y contraseña.

Puedes elegir la configuración de idioma:

Finalmente, haz clic en “save” y elige la tarjeta SD donde deseas instalarlo haciendo clic en “Choose Storage”:

Finalmente, haz clic en “write”:

Ahora comenzará a instalar el sistema operativo configurado en la tarjeta SD.

Una vez instalado, colocaremos la tarjeta SD en la Raspberry Pi y la encenderemos. Tendremos que verificar la dirección IP asignada a la Raspberry Pi, para ello podemos acceder a nuestro enrutador y ver qué dirección IP tiene.

Finalmente, accederemos a la Raspberry mediante SSH y la clave PRIVADA asociada a la clave pública que se copió en la Raspberry.

Leave a Comment