REFORM-MIGRATE(1)

πŸ“¦ version 1.71, in debian trixie

✨ 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