

You can do this with the dd
command. To prep:
Set up a live boot USB stick with your distro of choice.
Install another SSD/nvme/HDD at least the same size as your bookworm install into your bookworm machine. If that’s not an option connect a USB drive that’s at least the same size as the drive with your bookworm installation.
Boot into the live USB on the bookworm machine.
Make sure the partition(s) from your bookworm install are unmounted.
Quadruple check the drives/devices for the dd
command. Here’s the basics of the command:
dd if=/device/where/bookworm/is/installed of=USB/or/second/drive/in/machine bs=8M status=progress
So, if your bookworm install is on /dev/sda
, and the USB or secondary is /dev/sdb
, then the Cmand would be:
dd if=/dev/sda of=/dev/sdb bs=8M status=progress
I was not aware of fuck. That’s fabulous