Use dd! It’s a tool that allows you to copy the contents of anything bit-for-bit to anywhere else. First, you’ll need to boot into a live USB of any distro. Then, after plugging in both drives, you’ll want to run something like dd if=/path/to/source/drive of=/path/to/output/drive bs=4M. You can get the paths of each drive by running lsblk, and they’ll look something like /dev/sda1 or /dev/nvme0n1. (Be very careful with dd, as whatever you put as the output drive will be irreversibly overwritten with whatever you put the input drive as.)
Use
dd! It’s a tool that allows you to copy the contents of anything bit-for-bit to anywhere else. First, you’ll need to boot into a live USB of any distro. Then, after plugging in both drives, you’ll want to run something likedd if=/path/to/source/drive of=/path/to/output/drive bs=4M. You can get the paths of each drive by runninglsblk, and they’ll look something like/dev/sda1or/dev/nvme0n1. (Be very careful withdd, as whatever you put as the output drive will be irreversibly overwritten with whatever you put the input drive as.)