-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid MBR error with certain CF cards, CF to SD flash adapters #7
Comments
Hey did you find a solution ? thanks |
Not as clean cut as I was hoping, no. I have rewritten a lot of the ATA layer to clean up a bunch of messy and hacky code, with improvements to the caching layer, but nothing that would directly fix this. Would it be possible for you to dump the very first sector of the disk for me, so we can identify whether this is an incorrect sector read or ipodloader mis-recognising a good MBR? You can use HxD to do it, simply run it as administrator, then go to Tools > Open Disk > Physical disks > Select iPod Then click and drag all of the hex data for Sector 0, and then Right Click -> Copy. Then just paste it into here as a comment, it should come out as a long line of hex. |
I have received the boot sector for this iPod:
This is definitely an iTunes restored iPod since it contains the dummy bootloader to print "S T O P | This is Apple iPod not a bootable disk. Please try again" There are two issues:
So something extremely weird is going on. |
Hey ! thanks for your response. Do you have ipodloader v2.5 ? i want to test it but i can't find on internet |
Found it! |
@EvergreenTrone I've built a quick debug version which will read the first 4 sectors from the disk and print the number of bytes read and any errors. Could you please give this a spin and post a screenshot of the output? |
Okay, here is a development version of v2.9.0. It has completely rewritten ATA code and cache, as well as improved MBR handling and partition detection. It might not magically fix the issue, but it will at least detect a whole lot more errors now, and show a lot better debug output. |
@crozone Not sure if I should comment on this issue. iPod modded with iFlash Quad & 512GB storage. |
hey, I have a similar problem. I have a modified ipod mini 2, with a generic cf-to-microsdxc adapter. I've tried to put rockbox onto it, but it fails with not finding the FAT32 partition. The strange thing that your loader also drops the same error:
Also that's why the "Rockbox @ (hd0,1)/.rockbox/rockbox.ipod" line is not recognized in the loader.cfg. Here's ipodpatcher's output with ipodloader2 v2.8.1 installed:
|
@bachterman Thank you for the report, your boot sector looks like:
This appears to have a legitimate iTunes created boot sector (which happens to look like a Windows XP era boot sector targeting NT Loader). Here's the boot sector from my iPod Mini 2nd generation with an iFlash SD adapter:
The two are extremely similar. I'm going to look into the differences now. |
Some CF cards and CF to SD card adapters appear to be causing an "Invalid MBR" error. The MBR appears to be incorrect.
So far these all appear to be for LBA28 (<128GB) cards, so it is worth investigating if there's something wrong with the LBA28 codepath side the LBA48 patch.
The text was updated successfully, but these errors were encountered: