Displaying 20 results from an estimated 2000 matches similar to: "port syslinux isohybrid perl script to C"
2010 Apr 12
2
Patch to port isohybrid.pl to isohybrid.c
Hello all,
Past few days I was working on porting the isohybrid perl script to c.
(-> https://fedorahosted.org/fedora-engineering-services/ticket/15)
The first patch towards the same is attached with this mail. And the same could also be accessed
from: http://pjp.dgplug.org/tools/syslinux-3.86-isohybrid.patch
I would really appreciate it if somebody could have a look at it and let me know
2010 May 17
2
About isohybrid.c patch
Hi,
Just checking, if there are any updates about testing of the isohybrid.c patch
at -> http://pjp.dgplug.org/tools/syslinux-3.86-isohybrid.patch.10
Is there anything I can do to help test it?
Thank you.
---
Regards
-P J P
PS: Please don't send me html/attachment/Fwd mails
2014 Jun 21
1
isohybrid has 2 variants
Op 2014-06-20 om 15:56 schreef Ady:
>
> The Perl variant, isohybrid.in, seems to be getting left behind
> regarding several patches. I don't recall whether there is at least
> some mention in the isohybrid docs about the existence of 2 variants
> included in Syslinux (and that is in addition to other isohybrid
> methods outside Syslinux). Is there any reference?
>
2017 Jun 30
4
[PATCH v2 0/4] Allow cross-building of syslinux
Hi together,
this is the second version of my cross-compilation patch serie. I'm sending it in the hope to get an honest review, and possibly see the patches integrated upstream.
Those patches allow to build syslinux using a toolchain different from the host one by explicitely using the host toolchain for the utilities that are required at build-time / on the build machine.
I am using the
2014 Jun 20
3
[PATCH] isohybrid: fix overflow on 32 bit system
When call isohybrid with option '-u', it overflows on a 32 bits host. It
seeks to 512 bytes before the end of the image to install gpt header. If
the size of image is larger than LONG_MAX, it overflows fseek() and
cause error:
isohybrid: image-x86-64-20140505110100.iso: seek error - 8: Invalid argument
Replace fseek with fseeko to fix this issue.
Signed-off-by: Kai Kang <kai.kang at
2014 Jun 21
4
isohybrid has 2 variants
>What I reminder from it:
>
> The first "isohybrid" was in perl.
> But that made perl a run-time dependency.
>
> A compiled version of "isohybrid" removed that
> run-time dependency on perl.
>
>
>What I think of it:
>
> The Perl variant of isohybrid should be removed
> from the source tree.
One advantage of the Perl one for me
2012 Jun 09
5
Build failure for isohybrid
Dear list,
I have been trying to debug a build failure for a while in the utils
directory on isohybrid which seems to be distro specific.
On Fedora 17 64bit the build completes without problems, but under both
Ubuntu 32/64bit 11.10 and 12.04 I get the following:
tim at oxygen:/usr/src/git/syslinux/utils$ make
gcc -O2 -luuid -o isohybrid isohybrid.o isohdpfx.o
isohybrid.o: In function
2014 May 12
4
[PATCH] isohybrid: fix overflow on 32 bit system
When call isohybrid with option '-u', it overflows on a 32 bits host. It
seeks to 512 bytes before the end of the image to install gpt header. If
the size of image is larger than LONG_MAX, it overflows fseek() and
cause error:
isohybrid: wrlinux-image-x86-64-20140505110100.iso: seek error - 8: Invalid argument
Check the offset and call fseek() multi-times if offset is too large.
2014 May 12
2
[PATCH] isohybrid: fix overflow on 32 bit system
On 2014?05?12? 10:49, H. Peter Anvin wrote:
> On 05/11/2014 06:56 PM, Kai Kang wrote:
>> When call isohybrid with option '-u', it overflows on a 32 bits host. It
>> seeks to 512 bytes before the end of the image to install gpt header. If
>> the size of image is larger than LONG_MAX, it overflows fseek() and
>> cause error:
>>
>> isohybrid:
2015 Feb 17
2
isohybrid and ISO images whose size is not a multiple of 2048 bytes vs. VirtualBox
Hi,
at [Tails] we're in the process of shipping hybrid ISO images by
default again. We're using `isohybrid -h 255 -s 63' to do that (thanks
to the advice we got on this mailing-list a few months ago!).
And then, we've discovered that sometimes, isohybrid produces ISO
images whose size is not a multiple of 2048 bytes.
Who cares? ... may you ask. Well, apparently, VirtualBox does:
2013 Nov 01
2
isohybrid fails with: seek error - 3
On 01/11/2013 05:36, Ady wrote:
>
>> That is with syslinux 4.05 on Slackware-14.0:
>>
>> bash-4.2# isohybrid -v /tmp/slint64-13.3720131030-dvd.iso
>> catalogue offset: 561
>> ve[0]: 1, cs: 1
>> ve[1]: 0, cs: 1
>> ve[2]: 0, cs: 1
>> ve[3]: 0, cs: 1
>> ve[4]: 0, cs: 1
>> ve[5]: 0, cs: 1
>> ve[6]: 0, cs: 1
>> ve[7]: 0, cs: 1
2017 Apr 17
2
Patch: Fix isohybrid.c tool under Windows platforms
> Hi,
>
> Colin Finck wrote:
> > Precisely, if isohybrid currently finds a 0x0A (LF) byte in the MBR code
> > (which exists in the strings), it adds a 0x0D (CR) before, thereby
> > shifting the MBR bytes to the right and making it invalid.
> > This can be fixed by opening the file in binary mode with the "b" flag.
>
> This is a very reasonable
2014 Jun 21
2
isohybrid has 2 variants
> Hi,
>
> > Not being compatible with EFI/GPT is already a problem for the Perl
> > variant.
>
> The relation of both is:
>
> isohybrid.in/.pl is being left behind.
> http://git.kernel.org/cgit/boot/syslinux/syslinux.git/tree/utils/Makefile
> has:
> SCRIPT_TARGETS += isohybrid.pl # about to be obsoleted
>
> isohybrid.c replaces it feature-wise
2014 May 13
2
[PATCH] isohybrid: fix overflow on 32 bit system
On 2014?05?12? 22:38, H. Peter Anvin wrote:
> That is because it needs to use fseeko() and use off_t.
Do you mean it does need a patch for isohybrid.c. And the patch looks like:
#if _FILE_OFFSET_BITS == 64
fseeko(...)
#else
fseek(...)
Regards,
Kai
>
> On May 11, 2014 11:53:17 PM PDT, Kang Kai <Kai.Kang at windriver.com> wrote:
>> On 2014?05?12? 10:49, H. Peter
2010 Mar 30
4
Request: port syslinux isohybrid perl script to C
I'll file a ticket once fedorahosted is back online.
The request is to port the isohybrid script, in the syslinux package,
from perl to C (and of course submit it upstream). This would let
syslinux drop its dependency on perl, which would save considerable
space.
$ wc -l git/syslinux/utils/isohybrid.in
258 git/syslinux/utils/isohybrid.in
As this is doing some simple structure unpacking
2016 Dec 28
3
isohybrid boot from logical partition
Hi,
I have been attempting to set up a multi-boot USB stick (i.e. multiple
bootable ISO images on the one stick)
I have had good success by:
- processing ISO with isohybrid (with "partok" flag)
- dd'ing ISO to primary partitions on the USB stick (e.g /dev/sdc2,
/dev/sdc3, /dev/sdc4)
- installing grub to USB stick and configuring to chainload to these
partitions
To remove the limit
2014 Jun 24
2
[syslinux:master] isohybrid: Function to write UTF-16LE strings
Op 2014-06-23 om 20:09 schreef syslinux-bot for H. Peter Anvin:
> Commit-ID: f9dad5340bcefe34d860e991e8743be01a4d6c3c
> Gitweb: http://www.syslinux.org/commit/f9dad5340bcefe34d860e991e8743be01a4d6c3c
> Author: H. Peter Anvin <hpa at zytor.com>
> AuthorDate: Mon, 23 Jun 2014 20:06:51 -0700
> Committer: H. Peter Anvin <hpa at zytor.com>
> CommitDate: Mon, 23
2014 Jun 21
3
isohybrid has 2 variants
>Although there are some "isohybrid.exe" around, there is no official support for them and they are also outdated.
>The Syslinux mailing list already includes several emails about issues in the included isohybrid variants. I think that deleting either of them would be a mistake. At least users such as Ian might benefit from both being included.
>Ideally, the Perl variant
2017 Apr 10
3
Patch: Fix isohybrid.c tool under Windows platforms
Hi all,
As part of a bigger effort to port the ISOLINUX hybrid mode to ReactOS,
I've encountered a bug in isohybrid under Windows platforms. Attached
comes a patch to fix it.
Precisely, if isohybrid currently finds a 0x0A (LF) byte in the MBR code
(which exists in the strings), it adds a 0x0D (CR) before, thereby
shifting the MBR bytes to the right and making it invalid.
This can be fixed by
2014 Jun 21
2
isohybrid has 2 variants
> Hi,
>
> Ady:
> > Since both included variants are currently different, and both
> > variants have problems
>
> I am not aware of problems of the perl version. It is just lacking
> the newer features which support EFI/GPT and Mac/APM.
> The known bugs of isohybrid.c are with those newer features.
> http://www.syslinux.org/archives/2012-May/017843.html
>