# Secure boot usb

**URL:** https://dietpi.com/forum/t/secure-boot-usb/24854
**Category:** Community Tutorials
**Created:** [9 January 2026 03:02 UTC](https://dietpi.com/forum/t/secure-boot-usb/24854 "2026-01-09T03:02:04Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![truth](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/t/f0a364/32.png) [@truth](https://dietpi.com/forum/u/truth)
#### Post date: [9 January 2026 03:02 UTC](https://dietpi.com/forum/t/secure-boot-usb/24854/1 "2026-01-09T03:02:04Z")

</div>

Hello,

I am interested in making a dull secure boot usb with DietPi for my laptop, just to do some banking.

I am following this article and hope it will work fine using DietPi

> **[Creating An Encrypted Persistent Live Kali USB - LinuxForDevices](https://www.linuxfordevices.com/tutorials/kali-linux/encrypted-persistent-live-kali-usb)**
>
> In this guide, we'll go through the steps to create an encrypted persistent live Kali USB. Kali Linux is probably the most popular penetration testing Distro

Questions:

1. Following the above article, I want to run a bunch of sudo apt installs and some DE configurations/personalisations and then

- make an extra encrypted usbdata partition to store videos/pictures/documents/etc
- shrink the persistence so that no one can install anything further
- make everything except the usbdata partition read-only

What extra command line commands do I need to run to accomplish this?

1. In order to add launchers to the panel from the command line, what command should I run, for instance I like Terminator terminal app. I want to put everything into a text file that I can cut/paste into a terminal and run in case I need to recreate this boot usb without any manual work.

thanks

truth

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [9 January 2026 11:40 UTC](https://dietpi.com/forum/t/secure-boot-usb/24854/2 "2026-01-09T11:40:21Z")

</div>

DietPi is not an own operating system, it’s Debian with some scripting. Usually regular Debian guides should work. We don’t have own guides.
