You can use Clonezilla to resize filesystems, so you ought to be able to clone that filesystem onto a smaller drive. It’s been a couple decades since I used the tool, but I believe the guided steps should be enough to help you accomplish what you want - just be sure to thoroughly read the instructions!