REFORM-MIGRATE(1)
β¨ REFORM-MIGRATE β¨
okay bestie, listen up β this is the reform-migrate manual page, and it's literally the tool that scoops up your whole entire rootfs and plops it onto a new device π
no cap.
π NAME π
reform-migrate β copy rootfs to device π
πΈ DESCRIPTION πΈ
π¦ Usage:
reform-migrate [--emmc] TARGET
So here's the tea β: it mounts TARGET and copies the currently running system onto it using rsync. That's it, that's the vibe.
β οΈ girl. listen. This will overwrite ALL existing files in TARGET. Every single one. Gone. So likeβ¦ make sure you actually mean it, okay? π
At the end, reform-boot-config gets run and will set up the first partition of the SD-card or eMMC (depending on the --emmc option) to load your newly copied rootfs, and it adjusts /etc/fstab of TARGET accordingly. iconic behavior honestly π«Ά
β¨ OPTIONS β¨
-h,--helpβ Show this help message and exit. the classic "wait what does this do again" button π--emmcβ Record boot preference on eMMC instead of SD card. main character energy for your eMMC, fr fr π
π¨ important aside bestie: this script does NOT set up partitions for you. it's not doing that. don't ask. π
If you would like to configure full disk encryption and set up partitions accordingly automatically, consider using the reform-setup-encrypted-disk tool instead of reform-migrate. that one's the whole package deal πβ¨
π EXAMPLES π
reform-migrate --emmc /dev/nvme0n1p1
Mounts the first partition of an NVMe disk and mirrors your system to it. Configures booting from the first partition on eMMC. slay π¦
reform-migrate /dev/mapper/crypt
Mounts encrypted disk 'crypt' and mirrors your system to it. The disk has to be unlocked first with: cryptsetup luksOpen /dev/nvme0n1p1 crypt β and because the --emmc option is missing, it Configures booting from the first partition on the SD-card. periodt π
and that's the whole page bestie!! this was reform-migrate version 1.71, dated December 2025 β go forth and migrate responsibly, ily, mwah πππ
π¦ where this page comes from
- debian trixie: reform-tools 1.71-2+deb13u1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms