I have an iPod Classic that I've had for a few years, and I'm getting some data corruption problems that I think might be down to bad sectors. So I've wiped out the partition table and recreated it, but I've clearly done something wrong. I'm using Ubuntu Linux and have access to Win10 and MacOS machines if needed.
I've used iTunes (on a Mac) to reinstall the OF and that seems to work fine but I can't get the RockBox bootloader back on there.
Following the instructions
here, I've put it into DFU mode, and apparently successfully installed the bootloader:
$ ./mks5lboot.x86_64 --bl-inst bootloader-ipod6g.ipod
mks5lboot Version d832e1c-170228
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[INFO] Building DFU:
[INFO] type: BL installer
[INFO] BL size: 102336
[INFO] DFU size: 110480
[INFO] model name: Classic 6G
[INFO] platform: ipod6g
[INFO] RB name: ip6g
[INFO] RB num: 71
[INFO] libusb: found [05ac:1223] at bus 1, device 52, USB ver. 0200
[INFO] DFU image sent successfully (110480 bytes)
But then the iPod immediately tells me "No partition found... Entering USB mode"
It's also not mounting properly; when I try to mount manually it tells me:
$ sudo mount /dev/sdc1 /media/ross/iPodClassic
mount: /media/ross/iPodClassic: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, or other error.
It looks like iTunes decided to format it as HFS+ when I reinstalled the OF, which would be part of the problem, but I'm not sure how to undo that and have it be formatted properly...
Any help would be much appreciated. Thanks.