[syslinux] USB Flash disk with sector size 2048
H. Peter Anvin
hpa at zytor.com
Thu Jan 11 12:49:05 PST 2007
Geert Stappers wrote:
> Op 10-01-2007 om 23:00 schreef Francois Boisson:
>> Hello every one an a pretty new year.
>>
>> I'm making a derivative a the Feather linux-live which can be found
>> here: http://franboisson.homeip.net/clef/ClefAgreg.iso
>>
>> Everything works find except with USB key with sector size different
>> then 512 (2048 in my case). I look at the source of syslinux and change
>> the following:
>>
You actually have a device with a BIOS sector size other than 512? Oh,
gawd...
>> * The test in syslxmod.c
>> * Change each time I see SECTOR_SHIFT=9 in SECTOR_SHIFT=11
>
> 2**9=512 2**11=2048
I really would need to pick things apart to know how those even behave.
It isn't really all that clear how such a thing should behave, mostly
because the only ones that have actually tried it over the years are MO
drive vendors; everyone else have used 512-byte virtual sectors
regardless of physical sector sizes (real flash media actually have
sector sizes of 64K or larger.)
-hpa
More information about the Syslinux
mailing list