I have tested this on a classic 4th-gen monochrome "clickwheel" iPod. I imagine this process works similarly for iPods of the same era. I'm not the first person to do this, but a lot of documentation is on dead wikis and is generally hard to come by.
Extract your firmware image from an .ipsw file, set the IPOD
and FW_IMAGE
variables in the bash script, and run it as root. Then cross your fingers.
If everything worked, the partition layout should look something like this:
Disk /dev/sdc: 119.08 GiB, 127865454080 bytes, 249737215 sectors