Sunday, November 22, 2026

Bootable Debian USB on Linux

How to Create a Bootable Debian USB on Linux – A Practical Guide

I recently decided to give an older Intel NUC a new lease of life by installing Debian on it.

Rather than using Windows or relying on a collection of third-party applications, I wanted to prepare everything from my existing Linux machine.

In this guide, we'll use the terminal to download and verify the Debian ISO, identify our USB drive, and use GNOME Disks to create the bootable USB.

The commands were tested on Xubuntu, but the overall process is applicable to other Linux distributions. Package installation commands may vary.

1. Install the required tools

First, update your package information and install wget:

sudo apt update
sudo apt install wget

We'll also use GNOME Disks to write the ISO image to the USB drive:

sudo apt install gnome-disk-utility

Launch GNOME Disks with:

gnome-disks

2. Download Debian

For this installation, I chose Debian Netinst (amd64).

The Netinst image is relatively small. It contains the installer and retrieves additional packages over the internet during installation.

Navigate to your Downloads directory:

cd ~/Downloads

Option 1: Download a specific Debian version

Download the Debian ISO (This is version dependent):

wget -O debian.iso https://cloudfront.debian.net/debian-cd/current/amd64/iso-cd/debian-13.8.0-amd64-netinst.iso

Note: This example uses Debian 13.8. Replace the version number in the URL when a newer release becomes available.

Option 2: Automatically download the current version

Alternatively, use the following commands to download the current Netinst ISO without manually specifying the version number:

wget -r -l1 -nd -A 'debian-[0-9]*-amd64-netinst.iso' --no-parent https://cloudfront.debian.net/debian-cd/current/amd64/iso-cd/

mv debian-*-amd64-netinst.iso debian.iso

The first command downloads the versioned ISO from Debian's current directory. The second renames it to debian.iso, so you can follow the remaining instructions without changing any filenames.

Both methods leave you with a file named debian.iso in your Downloads directory.

Why Netinst? You don't need a large installation image containing every package. The network installer retrieves the required packages during installation, provided the target computer has an internet connection.

For the latest Debian release, visit the official download page:

https://www.debian.org/distrib/

3. Verify the downloaded ISO

Before writing anything to the USB drive, check that the download completed successfully.

file debian.iso
ls -lh debian.iso

My output confirmed that the file was recognised as a bootable ISO 9660 image:

debian.iso: ISO 9660 CD-ROM filesystem data (DOS/MBR boot sector) (bootable)

The downloaded file was approximately 758 MB in my test.

For additional assurance, you can verify its SHA256 checksum against Debian's official checksum file.

4. Identify your USB drive

Connect your USB stick. Before writing the image, identify the correct device. This is important because the process will erase the selected USB drive.

lsblk -o NAME,SIZE,MODEL,TRAN,MOUNTPOINTS

My USB drive appeared as:

NAME   SIZE  MODEL         TRAN
sda   111.8G KINGSTON      sata
sdb    28.7G Cruzer Blade  usb

In my case:

  • /dev/sda was the internal Kingston SSD.
  • /dev/sdb was the 28.7 GB SanDisk Cruzer Blade USB stick.

Important: Your device names may be different. Never assume your USB drive is /dev/sdb. Identify it using its model, size and connection type.

5. Write Debian to the USB drive

Launch GNOME Disks:

gnome-disks

In the application:

  1. Select your USB drive from the left-hand panel.


  2. Open the three-dot menu in the top-right corner.
  3. Select Restore Disk Image…

  4. Choose the downloaded debian.iso file from your Downloads folder.
  5. Click Start Restoring…

  6. Confirm the operation and authenticate if requested.


  7. Wait for the writing process to finish.
Warning: This operation completely erases the selected USB drive. Double-check that you've selected the USB stick and not your internal SSD.

Once the operation completes, safely eject the USB drive.

6. Ready to install Debian!

That's it. We now have a bootable Debian installation USB.

The next step is to connect the USB stick to the target computer, enter its boot menu and start the Debian installer.

From there, you can choose your installation options and configure the machine as a desktop, lightweight server or home lab.

Final thoughts

I like keeping things simple. There was no need for a complicated workflow or a heavyweight application.

A few terminal commands, a Debian ISO and GNOME Disks were enough to prepare the installation USB.

Now let's see what we can do with that old Intel NUC!


Tested on Xubuntu. Debian 13.8 Netinst, amd64. November 2026.

Tuesday, December 17, 2024

Okta Workflows - Send Customised Email

Simiar to the previous flows, where we sent a Slack message to users assigned to a new app, we can send a Welcome Email message.

This message will notify them that they now have access to the app, and we can also include some resource documentation, which will help them get familiar with the app.

We will use the GMail Connector. Since this flow will be very similar to the previous one, we can (Clone) Duplicate the existing Okta Workflow.


The new Flow name will have the (COPY) suffix. We can use the ✎ icon and change the name and description and Save the Flow.

First we will delete the two Slack cards (Read User and Send DM). We will replace it with a Send Email action


We will be prompted to set a new Gmail Connection. Follow this guide to set that connector.

We have a few Email fields, but we won't use all of them. We can go to the card Settings and select Choose fields.

 

 

We will only use the mantatory Email To and the Subject - Body. The others can be removed. Press Save to apply the changes. 

 

We are also able to make additional changes under options and use either basic or HTML Body

We can use this page to test our HTML body https://www.w3schools.com/tags/tag_body.asp


 

 

<!DOCTYPE html>
<html>
<head>
  <title>Test App - Okta Community Resources</title>
</head>

<body>
  <h1>Welcome to the Okta Community 🎉</h1>
  <p>Please check the useful resources below:</p>

  <ul>
    <li><a href="https://developer.okta.com/docs/">Okta Developer Documentation</a></li>
    <li><a href="https://support.okta.com/help/">Okta Support</a></li>
    <li><a href="https://community.okta.com/">Okta Community Forums</a></li>
    <li><a href="https://www.okta.com/blog/">Okta Blog</a></li>
    <li><a href="https://www.okta.com/resources/webinars/">Okta Webinars</a></li>
  </ul>

  <p>For further assistance, feel free to reach out to our support team or explore the above resources.</p>
</body>

</html>


Now let's update our Compose card. We can also Customise our Compose Output.


Make sure that the Flow is enabled and data are saved.


 


 

Now let's assign our user this app.

 

 
The Welcome email has been received.