Thank You for your continued support and contributions!
<pamaury> the problem is the "logical sector size"<pamaury> that is: when the OS reads the number for the MBR, those are units of "sectors" <pamaury> more precisely, it's a logical sector, but the problem is difference software might have different notion of sector size.<pamaury> The OF has been compiled to use a logical sector size of 2048 bytes, which is quite unusual <pamaury> On the other hand, Rockbox tries to guess it at runtime<pamaury> And finally Linux uses the value provided by the USB SCSI layer<pamaury> By default the OF reports 2048 and since Rockbox guesses right, it reports 2048. So both Linux and Windows use that figure. Everyone is happy<pamaury> What you did completely erased the partition table and when you plugged it again, OF couldn't boot so you had to use Rockbox<pamaury> and Rockbox guessed 512 because that how the USB installer thing put on it<pamaury> And then you couldn't do anything because both Linux and windows would helplessly use 512 instead of 2048<pamaury> The trick to solve it is tricky: you first create a partition table using 512 sector size and put the partition at sector 2048.<pamaury> then you create the partition at this sector<pamaury> Then you rerun fdisk using the -b option to convince him it's actually a 2048 logical size and you recreate the partition at sector 512. And since 512 * 2048 bytes = 2048 * 512 bytes, the partition didn't move, but the figures use different units<pamaury> Then you unplug and replug, now Rockbox guesses right: 2048 bytes and you are saved<pamaury> I guess the conclusion is: the OF is stupid but we knew that before ^^
Page created in 0.059 seconds with 16 queries.