Skip to contentSkip to conversation

Lead-up message 'Welcome to GRUB!' inverted text printed lowlevel via BIOS ?!?

DISCUSSION Robo L 4 participants 5 messages Feb 18, 2010 – Feb 20, 2010

lore
Share & tools
lore

Robo L

author
#0 lore raw

Hi All

I have a problem with remove the message "Welcome to GRUB!" in text Mode. In source 1.96 I remove Welcome text message, when call function grub_printf().
In gfx mod is all OK, but If I not initialize gfx mode grub steel show "Welcome to GRUB!" inverted (black on white)

I mean, that Grub print via lowlevel printig (int 0x10) with proprietary string data.

Please can You tell me what is a reason? How is a solution? Is it a correct by the licence?

Many thanks

Robo

Signature · 2 lines
-----------------------------------------
E=mc2
#1 lore raw
Quoted 8 lines · Robo L

Hi All
I have a problem with remove the message "Welcome to GRUB!" in text Mode. In source 1.96 I remove Welcome text message, when call function grub_printf().
In gfx mod is all OK, but If I not initialize gfx mode grub steel show "Welcome to GRUB!" inverted (black on white)
I mean, that Grub print via lowlevel printig (int 0x10) with proprietary string data.

I don't see why you would want to remove this message. It's quite useful as it shows progress in the early initialization stages of grub and should grub crash before getting to the menu you would know it was started at least. It's not possible to configure in a configuration file because it is not loaded at this point yet.

Still the message is only in one place in the source and if you remove the printf it is not shown.

It is usually not visible in graphics mode because it is cleared when grub switches to graphics and it does not stay long enough to be noticed.

To sum up if you installed a version of grub with this printf removed you would not see the message. The default grub build would always show it.

HTH

Michal

#2 lore raw
In reply to Robo L
Quoted 10 lines · Robo L

Hi All
I have a problem with remove the message "Welcome to GRUB!" in text Mode. In source 1.96 I remove Welcome text message, when call function grub_printf().
In gfx mod is all OK, but If I not initialize gfx mode grub steel show "Welcome to GRUB!" inverted (black on white)
I mean, that Grub print via lowlevel printig (int 0x10) with proprietary string data.
Please can You tell me what is a reason? How is a solution? Is it a correct by the licence?

The license does not allow you to install or run GRUB on a computer without telling the user, if that's what you're after.

The license lets you remove the welcome message, but you still MUST inform the user of their GPL rights to the copy of GRUB you've given them (and if you are using a copy of GRUB modified to remove the welcome message, then you are responsible for meeting the GPL source code copy requirements yourself, and can't simply direct users to an official download page).

Quoted 13 lines

Many thanks
Robo
--
-----------------------------------------
E=mc2

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

#3 lore raw
In reply to Robo L
Quoted 3 lines · Robo L

I mean, that Grub print via lowlevel printig (int 0x10) with proprietary string data.

It's true that most BIOSes are proprietary and we're against non-free firmware. Unfortunately, however, most motherboards around aren't supported by any free firmware so we have to cope with what we have. We encourage you to use motherboards with free firmware. I'm aware of 3 categories of such:
1) Coreboot has made a great job in freeing x86-based mobos. You can consult their list here: http://www.coreboot.org/Supported_Motherboards
2) Touchbook by always innovating
http://alwaysinnovating.com/home/index.htm claims to use U-Boot and supply the complete sources. I haven't checked this claim however
3) Yeeloong by Lemote http://www.lemote.com/english/yeeloong.html. It uses PMON, soon GRUB will work as firmware on it too (big parts are done) On BIOS grub uses its interrupts by default because this interface usually supports the hardware user has and on coreimg stage it allows to shave off few bytes. However we move to using our own drivers since firmware interface is often buggy and/or incomplete.

Quoted 3 lines

Please can You tell me what is a reason? How is a solution? Is it a correct by the licence?

GRUB doesn't link with BIOS

Quoted 15 lines

Many thanks

Robo

Signature · 8 lines
-----------------------------------------
E=mc2
------------------------------------------------------------------------

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel
Signature · 2 lines
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
#4 lore raw

2010/2/20 Vladimir 'φ-coder/phcoder' Serbinenko <[email protected]>:

Quoted 7 lines
Quoted 3 lines · Robo L

I mean, that Grub print via lowlevel printig (int 0x10) with proprietary string data.

It's true that most BIOSes are proprietary and we're against non-free firmware. Unfortunately, however, most motherboards around aren't supported by any free firmware so we have to cope with what we have. We

How is any of this relevant to the OP's question? I think it is, somewhat, but you haven't made the connection.

Also, the OP doesn't appear to be looking for a better way to print the welcome message, or to understand why the welcome message is printing via int 0x10, but actually to remove the welcome message.

About the only legitimate case I can think of is if the BIOS is redirecting output to a serial port and the presence of a welcome message confuses an automated system on the other end of the serial link that isn't expecting it.

Quoted 46 lines

encourage you to use motherboards with free firmware. I'm aware of 3 categories of such:
1) Coreboot has made a great job in freeing x86-based mobos. You can consult their list here: http://www.coreboot.org/Supported_Motherboards
2) Touchbook by always innovating
http://alwaysinnovating.com/home/index.htm claims to use U-Boot and supply the complete sources. I haven't checked this claim however
3) Yeeloong by Lemote http://www.lemote.com/english/yeeloong.html. It uses PMON, soon GRUB will work as firmware on it too (big parts are done) On BIOS grub uses its interrupts by default because this interface usually supports the hardware user has and on coreimg stage it allows to shave off few bytes. However we move to using our own drivers since firmware interface is often buggy and/or incomplete.

Quoted 3 lines

Please can You tell me what is a reason? How is a solution? Is it a correct by the licence?

GRUB doesn't link with BIOS

Quoted 10 lines

Many thanks

Robo

--
-----------------------------------------
E=mc2
------------------------------------------------------------------------

Quoted 5 lines

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel