R
R
Recardo_Recoly2017-01-25 21:06:03
linux
Recardo_Recoly, 2017-01-25 21:06:03

GRUB how to remove "Welcome to GRUB" message?

I wrote a file in C that displays "Boot ..."
Through GRUB, I made an iso image of this miracle
grub.cfg:

set timeout=0
set default=0
GRUB_TIMEOUT=0 # Do not show the GRUB menu at all
GRUB_CMDLINE_LINUX_DEFAULT=quiet
GRUB_CMDLINE_LINUX="console=tty12" # Redirect the kernel output to another tty

menuentry "OS" {
  multiboot /boot/mykernel.bin
  boot
}

But at startup, an unnecessary inscription also appeared:
at8uNHL.jpg
Tell me how to remove this please.
There was a thought to clear the video memory
//Вывод на экран
void printf(char* str)
{
    unsigned short* vMem = (unsigned short*)0xb8000;
    
    for(int i = 0; str[i] != '\0'; ++i)
    {
        vMem[i] = (vMem[i] & 0xFF00) | str[i];
    }
}

That's just a bummer ...
GRUB first displays my text and then this sign.
In GRUB sources found "grub_printf ("Welcome to GRUB!\n\n");"
But I don’t know how to compile these sources or make a build through them (grub-mkrescue --output=mykernel.iso isp).
Help

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Shumkin, 2017-02-02
@Recardo_Recoly

https://github.com/ccontavalli/grub-shusher/
?
*link from here rabexc.org/posts/grub-shush (first on google for " grub disable Welcome to GRUB ")

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question