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
Disk model: iPod
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x852a72c7
Device Boot Start End Sectors Size Id Type
/dev/sdc1 2048 82309 80262 39.2M 0 Empty
/dev/sdc2 83968 249737214 249653247 119G b W95 FAT32