Pete Batard
2013-Aug-10 01:16 UTC
[syslinux] com32 module compatibility between 5.x versions
On 2013.08.10 01:55, H. Peter Anvin wrote:>> I assume it's not possible to store a copy of the LDLINUX.SYS binary at >> the end or inside of either ISOLINUX.BIN > > Not really. ldlinux.sys isn't just an ordinary file, it really needs to > be installed with the Syslinux installer.My application already its own version of the Syslinux installer [1], and simply requires the relevant ldlinux.sys file to be provided. At the moment, I embed ldlinux.sys from Syslinux 4.06 and 5.10 [2]. If ldlinux.sys was present in any shape of form on future 5.x based ISOLINUX images (such as appended at the end of isolinux.bin), I could simply pick up that file, and install it as if it had been embedded in the app. Regards, /Pete [1] https://github.com/pbatard/rufus/blob/master/src/syslinux.c [2] https://github.com/pbatard/rufus/tree/master/res/syslinux
H. Peter Anvin
2013-Aug-10 03:07 UTC
[syslinux] com32 module compatibility between 5.x versions
On 08/09/2013 06:16 PM, Pete Batard wrote:>> >> Not really. ldlinux.sys isn't just an ordinary file, it really needs to >> be installed with the Syslinux installer. > > My application already its own version of the Syslinux installer [1], > and simply requires the relevant ldlinux.sys file to be provided. >But that, too, is version-specific. -hpa
Pete Batard
2013-Aug-10 15:02 UTC
[syslinux] com32 module compatibility between 5.x versions
On 2013.08.10 04:07, H. Peter Anvin wrote:>> My application already its own version of the Syslinux installer [1], >> and simply requires the relevant ldlinux.sys file to be provided. > > But that, too, is version-specific.I think there may be a misunderstanding here. Are you saying that when installing ldlinux.sys + ldlinux.bss v5.01 on a FAT filesystem, the installer needs to perform something different than when when installing ldlinux.sys + ldlinux.bss v5.10 (outside of the differences prompted by the bss itself)? So far I haven't found any major differences in the processing of these two files for FAT installation of Syslinux between 4.06 and 5.10, so that would be news to me. If there exist any differences in the steps to install a .sys+.bss from one version to the next, I would of course very much like to get an overview of what they are, so that I can update my app. I didn't mention the bss until now, because that's a 512 bytes file and not much of a concern. Of course, if the idea is that we would append ldlinux.sys to isolinux.bin, ldlinux.bss would preferably have to be appended to. Would an isolinux.bin that includes ldlinux.sys + ldlinux.bss from the same version as the ISO's .c32 still not be enough to get Syslinux installed on USB, and working with these modules? Regards, /Pete