Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Quiet version of the ipl-diskpc1: (4 Items)
   
Quiet version of the ipl-diskpc1  
Hi,

I need version of the ipl-diskpc1 which doesn't print anything on the screen.
Where can I find source code of this bootloader ?

Regards,
Jacek
Re: Quiet version of the ipl-diskpc1  
Up. Same question.
Professors, help please.
Re: Quiet version of the ipl-diskpc1  
Hi,

generaly speaking your next question will be about ipl-diskpc2 ...
because the only thing, that the ipl-diskpc1 asks is the partition
to boot from:
    "Press F1-F4 to select drive or select partition"

At the offset 0x153 of the ipl-diskpc1 you would see the "0xCD 0x10"
- this is a BIOS call "Write Character in TTY Mode".
Just patch with NOP, NOP ( 0x90,0x90)

Or, you can just put a zero (0x00) at 0x166 in place of 0x50 ('P')
So, the text string "Press F1-F4 to select drive or select partition\0"
will be "\0ress F1-F4 to select drive or select partition\0".

No output. Mission complete.

The ipl-diskpc2 is a bit complicated. But also doable same way.

Regards,
-- Alexandre
Re: Quiet version of the ipl-diskpc1  
Hi,

It works fine!! 

Replacement of "0xCD 0x10" values at offset 0x153 with NOP, NOP did a trick.

We use a Power-Safe filesystem where the secondary bootloader can be tuned
with the use of mkqnx6fs utility:
   mkqnx6fs -B -O+quiet /dev/hd0t179

Thank you,
Jacek