Installation / Removal > Apple - Installation/Removal

New Bootloader and Installation Procedures - please test and give feedback

<< < (2/10) > >>

frause:

--- Quote ---My only thought is that you've done something strange to your ipod in the course of testing various experimental 5.5g builds which is causing the problems.
--- End quote ---
Most likely, yes.


--- Quote ---Do you have a backup of your original MBR (i.e. the first sector on the disk) and the original contents of the firmware partition that you can restore before trying ipodpatcher and the new bootloader again?

--- End quote ---
Yes, and I have already tried that.

dd the original MBR back.
dd the original firmware partition back.
Reboot the ipod.
Verify the original firmware works.

--- Code: ---$ sudo ./ipodpatcher /dev/sda -a bootloader-ipodvideo.ipod
ipodpatcher v0.5 - (C) Dave Chapman 2006
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] Reading partition table from /dev/sda
[INFO] Sector size is 2048 bytes
[INFO] Part    Start Sector    End Sector   Size (MB)   Type
[INFO]    0              63         48194        94.0   Empty (0x00)
[INFO]    1           48195      14651279     28521.7   W95 FAT32 (0x0b)
[INFO] Ipod model: Video (aka 5th Generation)
[INFO] Checksum OK in bootloader-ipodvideo.ipod
[INFO] Moving images to create room for new firmware...
[INFO] Reading original firmware...
[INFO]  Wrote 7550976 bytes to firmware partition
[INFO] Bootloader bootloader-ipodvideo.ipod written to device.

--- End code ---
= No partition found

It is talking about the second partition, right?

Llorean:
Is that 7550976 bytes because of the moving of the iPod firmware too? (question aimed at linuxstb)

linuxstb:

--- Quote from: Llorean on December 18, 2006, 04:56:42 PM ---Is that 7550976 bytes because of the moving of the iPod firmware too? (question aimed at linuxstb)

--- End quote ---

No, it's ipodpatcher writing the combined (Apple firmware and Rockbox bootloader) "main firmware" image back to the ipod.  

linuxstb:

--- Quote from: frause on December 18, 2006, 04:48:58 PM ---= No partition found

It is talking about the second partition, right?

--- End quote ---

Yes, it's saying it can't find (and mount) a valid FAT partition on the disk.  

Your partition table looks fine, so maybe the problem is with the FAT partition itself.  Although it's odd that the Apple firmware is happy with it.

Have you tried reformatting your FAT32 partition, and if so, what was the command-line you used?  You should make sure you use the "-F32" option.

frause:

--- Quote from: linuxstb on December 18, 2006, 05:18:09 PM ---Your partition table looks fine, so maybe the problem is with the FAT partition itself.  Although it's odd that the Apple firmware is happy with it.

Have you tried reformatting your FAT32 partition, and if so, what was the command-line you used?  You should make sure you use the "-F32" option.
--- End quote ---


--- Code: ---$ grep mkfs.vfat ~/.bash_history
man mkfs.vfat
sudo mkfs.vfat -S 2048 -n IPOD /dev/sda2

--- End code ---
Heh!
Thats probably it.  "32 bit FAT(FAT32  format) must (still) be selected explicitly if you want it."

I used the MBR-hack for a while, which means reformatting the partition.
I'll try with the -F32 tomorrow.

Thanks!

EDIT:
After recreating partitions, copying partitions and formatting to the left and right, I finally got it to work. What seems to have been the issue was the sectors per cluster.

--- Code: ---sudo mkfs.vfat -n IPOD -F 32 -s 16 -S 2048 /dev/sda2
--- End code ---
made it work as advertised.
That is, the ipodpatcher works and I can boot to both Apple firmware and Rockbox.

Oh, and the Apple firmware was not happy before, it just didn't say anything. it could create its directories but the file contents were just garbage. I didn't play around enough to catch that before.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version