Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Installation / Removal
| |-+  Manual Installation
| | |-+  Apple - Installation/Removal
| | | |-+  iPod Classic - I messed something up
« previous next »
  • Print
Pages: [1]

Author Topic: iPod Classic - I messed something up  (Read 2030 times)

Offline wintermute23

  • Member
  • *
  • Posts: 116
  • What Would Batman Do?
iPod Classic - I messed something up
« on: June 26, 2020, 10:13:11 PM »
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:
Code: [Select]
$ ./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:
Code: [Select]
$ 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.
Logged
Past: iRiver H320 w/ 32GB CF card mod; iPod 4th Gen 30GB; iPod 5th Gen 30GB

Present: iPod Classic 80GB

Offline wintermute23

  • Member
  • *
  • Posts: 116
  • What Would Batman Do?
Re: iPod Classic - I messed something up
« Reply #1 on: June 26, 2020, 11:38:32 PM »
I've deleted the HFS+ partition and replaced it with a FAT32 partition, leaving the 192 MB unknown partition (the bootloader?) intact. It now mounts properly, and I can see it in the file explorer and copy my .rockbox directory back onto it, but it still tells me "No partition found... Entering USB mode".
Logged
Past: iRiver H320 w/ 32GB CF card mod; iPod 4th Gen 30GB; iPod 5th Gen 30GB

Present: iPod Classic 80GB

Offline darkcity

  • Member
  • *
  • Posts: 46
Re: iPod Classic - I messed something up
« Reply #2 on: June 27, 2020, 02:14:19 AM »
This thread suggests, if the he apple firmware not does not boot restore with iTunes.

https://forums.rockbox.org/index.php?topic=52086.0
Logged

Offline wintermute23

  • Member
  • *
  • Posts: 116
  • What Would Batman Do?
Re: iPod Classic - I messed something up
« Reply #3 on: June 27, 2020, 07:26:23 AM »
The Apple firmware does boot; Rockbox does not.
Logged
Past: iRiver H320 w/ 32GB CF card mod; iPod 4th Gen 30GB; iPod 5th Gen 30GB

Present: iPod Classic 80GB

Offline wintermute23

  • Member
  • *
  • Posts: 116
  • What Would Batman Do?
Re: iPod Classic - I messed something up
« Reply #4 on: June 27, 2020, 07:54:21 AM »
OK I got it working again.

I wiped out all the partition data, and let iTunes restore it again, but this time I did it from the Windows machine instead of the Mac.

Once that was done, I just needed to flash the bootloader again, and it could see the partition and complained that the .ipod file wasn't there. I copied my .rockox directory back on there, and it looks like it's all good.

Something about the way the HFS+ volume was set up must have been causing issues, even after it was removed and replaced with a FAT32 partition.
Logged
Past: iRiver H320 w/ 32GB CF card mod; iPod 4th Gen 30GB; iPod 5th Gen 30GB

Present: iPod Classic 80GB

Offline darkcity

  • Member
  • *
  • Posts: 46
Re: iPod Classic - I messed something up
« Reply #5 on: June 28, 2020, 04:26:21 AM »
That's good. Interesting it worked from Windows but not Mac.
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4383
Re: iPod Classic - I messed something up
« Reply #6 on: June 29, 2020, 09:57:19 PM »
I believe it's due to the partition table.  The instructions here ask you to write the appropriate partition table to the device prior to formatting the second partition to FAT32.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline LambdaCalculus

  • Member
  • *
  • Posts: 2273
  • /usr/local/bin/weirdo
    • The Nostalgia Roadtrip
Re: iPod Classic - I messed something up
« Reply #7 on: July 01, 2020, 08:47:09 AM »
Quote from: darkcity on June 28, 2020, 04:26:21 AM
That's good. Interesting it worked from Windows but not Mac.

The reason why it works from Windows is because iTunes on Windows will format iPods to FAT32 format (which Rockbox expects). iTunes on macOS defaults to HFS+, which isn't supported by Rockbox.
Logged
Retired Rockbox dev; still a user!

Players: iPod Video /w 128GB SSD mod, H320 /w 128GB SSD mod

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Installation / Removal
| |-+  Manual Installation
| | |-+  Apple - Installation/Removal
| | | |-+  iPod Classic - I messed something up
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.043 seconds with 17 queries.