[ltp] Re: Bios Splash
Adam Furmanczuk
linux-thinkpad@linux-thinkpad.org
Mon, 13 Feb 2012 11:12:28 +0100
Allright, so with Pauls brilliant hint [1], one gets the following
directory outline:
AUTOEXEC.BAT
COMMAND.COM
CONFIG.SYS
FLASH
|-206A2.PAT
|-206A3.PAT
|-206A5.PAT
|-206A6.PAT
|-206A7.PAT
|-8NETXXWW
|--$0A8N000.FL1
|--206a2.hsh
|--206a3.hsh
|--206a5.hsh
|--206a6.hsh
|--206a7.hsh
|-8SETXXWW
|-- $0A8S000.FL1
|-CHKLOGOD.EXE
|-COMMAND.COM
|-EFILDR16
|-FINDRAMD.EXE
|-FLASH2.EXE
|-lvcreflsh.bat
|-PFLASH.EXE
|-README.TXT
|-TPCHKS.EXE
|-UPDTFLSH.EXE
|-UPDTMN.EXE
|-USERINT.EXE
|-UTILINFO.EXE
HIMEM.SYS
IBMBIO.COM
IBMDOS.COM
RAMDRIVE.SYS
Recycled
System Volume Information
WINA20.386
Note: FLASH being Directory with subdirectories 8NETXXWW and 8SETXXWW.
The interesing file is FLASH/README.TXT, that already tells us what to
do (excerpt):
[...]
* FLASH PROGRAM OPTIONS
* -------------------------------------------
*
* THIS CAN BE DONE BY MODIFYING THE LCREFLSH.BAT FILE
* ON THIS CD WITH THE FOLLOWING:
*
* FLASH2.EXE /U option1 option2 ...
*
* OPTIONS
* -------
*
* /LOGO:LOGO.BMP CUSTOM START UP IMAGE FILE NAME FOR THE LARGE
* or CENTERED IMAGE.
[...]
So all is left to do copy a LOGO.BMP (JPG and GIF according to readme
also supproted), make iso and flash.
However, I will have to wait with flashing for about two weeks now,
but once I applied the theory in praxis I come back and add this to
the wiki.
Greets,
Adam
[1] Paul wrote:
>
> 0) Have fun.
>
> 1) An easy way to determine the offset of the El Torito boot image
> turned out to be:
> =A0 =A0$ isoinfo -d -i 8nuj08uc.iso | grep -e "block size" -e Bootoff
> =A0 =A0Logical block size is: 2048
> =A0 =A0 =A0 =A0 =A0 =A0Bootoff 1B 27
>
> So that offset is (27 * 2048 =3D) 0xD800.
>
> 2) I miscalculated the size of that boot image. It's a 17825792 bytes
> (34816 sectors of 512 bytes) hard disk image. Note that the size of the
> image is not really relevant for loop mounting it, since its offset into
> the ISO image (0xD800 + 32 * 512 =3D 71680) is enough to do that.
>
>
> Paul Bolle
>