Visit Jeremy's Blog.
Go Back > Blogs > craigevil's random words of wisdom
User Name


Ramblings about Debian GNU/Linux
Rate this Entry

General Purpose Raspberry PI Image & SD Card Manager

Posted 02-15-2021 at 03:03 PM by craigevil
Updated 04-25-2021 at 10:21 AM by craigevil

Can be easily installed on Raspberry Pi OS or Twister OS using Pi-Apps.
Keep in mind just like PI-Apps PI-Power-Tools is meant to be used on Raspberry PI OS (arm/arm64) or Twister OS.

What it can do:
General Purpose Raspbian Image & SD Card Manager
Want to build your own custom Raspbian SD card image? Like enabling ssh, modifying /boot/config.txt, doing an apt update, enabling VNC, or installing something?
Have a pile of sd cards and curious what's on them? (and don't want to boot them, one at a time, in a Pi?)
Want to run two versions of Raspbian at once?
Or, how about running Raspbian Stretch on a Pi 4?

No other tool can do any of these:
Boot - Powered by Vdesktop. Runs the Raspbian image in a virtual machine. It even shows the desktop!
Flash - Flashes Raspbian directly from the Internet to the selected device. Tuned for maximum speed, proven by benchmarks.
Mount - Full control to manage loop devices and mountpoints.
Edit - Auto-creates a loop device, then lets you mess up its partitions with Gparted.
Resize - Add or remove free space from a disk image with a single click. <-- This also repairs the image!
Another set of scripts called sdm: Raspberry Pi SSD/SD Card Image Manager
Does a whole lot more.
sdm provides a quick and easy way to build consistent, ready-to-go SSDs and/or SD cards for the Raspberry Pi. This command line management tool is especially useful if you:

have multiple Raspberry Pi systems and you want them all to start from an identical and consistent set of installed software packages, configuration scripts and settings, etc.

want to rebuild your Pi system in a consistent manner with all your favorite packages and customizations already installed. Every time.

want to do the above repeatedly and a LOT more quickly.

What does ready-to-go mean? It means that every one of your systems is fully configured with Keyboard mapping, Locale, Timezone, and WiFi set up as you want, all of your personal customizations and all desired RasPiOS packages and updates installed.

In other words, all ready to work on your next project.

With sdm you'll spend a lot less time rebuilding SSDs/SD Cards, configuring your system, and installing packages, and more time on the things you really want to do with your Pi.

Someone in the forums said "Generally I get by by reflashing an SD card and reinstalling everything from the notes I made previously. That is not such a long winded process."

While better than not having ANY notes, this approach requires relatively complete notes, and careful attention to detail each and every time you need to reflash a card.

sdm lets you keep your notes in simple working bash code and comments, and makes a "not such a long winded process" into a single command that you run whenever you need to create a new SD card or SSD. And the disk is built with ALL of your favorite apps installed and all your favorite customizations.

As a bonus, sdm includes an optional script to install and configure apt-cacher-ng. apt-cacher-ng is a RasPiOS package that lets you update all your Pis quickly by caching downloaded packages locally on your LAN. This can greatly reduce install and update time, as well as internet network consumption.

sdm is for RasPiOS, and runs on RasPiOS Stretch and Buster. It can also run on other Linux systems. See the 'Compatibility' section below. sdm requires a USB SD Card reader to write a new SD Card, or a USB adapter to write a new SSD. You cannot use sdm to rewrite the running system's SD Card or system disk.
Posted in Uncategorized
Views 678 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 05:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration