You can't. You need some older hardware; the beige G3 being among the last of the OSX capable computers that will suffice for that purpose.
The problem is that you need a variable speed 3-1/2" disk drive. None of the modern USB drives can do that, and the last of the Apple computers that had that capability were the ones with built-in 3-1/2" drives.
See:
https://forums.macrumors.com/threads/464136/