DEV Community

Chris Thompson
Chris Thompson

Posted on

17

DragonOS (lubuntu) on USB with persistent storage

DragonOS is a Lubuntu-based Linux distribution for software-defined radio. The x86-64 version runs well from a USB stick. However, I wanted persistent storage. That is, I wanted to be able to save files and change configuration settings and have these stick around when I next booted DragonOS.

I couldn't get this to happen with Rufus or Balena Etcher. I had a preexisting install of Linux and found mkusb worked perfectly. I tested these steps with both Ubuntu (22.04.1 LTS) and Mint (21, Cinnamon). The instructions for mkusb are here.

# Enable the universe repository
sudo add-apt-repository universe
# Add the mkusb PPA
sudo add-apt-repository ppa:mkusb/ppa
sudo apt update
# Install mkusb
sudo apt install mkusb
sudo apt install usb-pack-efi
Enter fullscreen mode Exit fullscreen mode

Now that mkusb is installed, the process is fairly straight-forward. When you start it up, you have the choice of user interface. I picked p, Plug for the new UI. Now, p, Persistent live drive because that's the whole point. mkusb can't quite figure out that DragonOS is based on Lubuntu, so I tell it u, Ubuntu. The rest of the process takes a few minutes.

Reboot to test the results. The process should work the same as booting the non-persistent version. The first boot takes a little time to rearrange the file system. Once DragonOS is up, test the persistence by creating a small file in the home directory, then reboot and see if the file is still there.

That's it. Enjoy your persistent live USB install!

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay