Hi again,

On Fri, Jul 29, 2011 at 4:01 PM, Rugxulo <rugx...@gmail.com> wrote:
>
>> UPX is convenient to have around indeed, if space limited. The
>> bugreports showed that the extra FDISK utility included in FreeDOS
>> doesn't like UPX due to a file checksum (integrity test) being done
>> before running.
>
> XFDISK? I posted to the bugtracker (a few days ago) the one-byte patch
> by Eric  :-))  to fix that.

It's small enough to just reply here:

(quoting):

Hi, I found a 1 byte patch to make xfdisk UPXable :-)
Use a hex editor and change the byte at fba0 from 75 to eb:

000fb90: 009a c20e 7310 bfee 051e 57e8 0b5a 08c0
000fba0: eb28 bf08 0d1e 579a 4008 7310 bf08 0d1e
---------** done :-)
000fbb0: 57bf 92d7 0e57 6a00 9adb 0973 109a 4008

Luckily xfdisk even says at which moment it checksums itself.

Please check if it still behaves as it should afterwards.
And remember to UPX with --8086 option :-)

[-- Eric Auer]

(Rugxulo): You may want to use "upx --ultra-brute -lzma --8086" these days.

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to