please kernel do not reset vga at boot
first a big hello to all, maybe someone can help me.
second: sorry for my poor english, I'm german.
What I had done:
Im working on Puppy-Linux, want to build a german version of it
and also, with additional Features/Changes in it.
One of these additional change should be a simple, optical change:
- Booting Puppy-Linux from CD or HDD, shows the usual messages on
the Screen (Console) with the hardware-font of the vgacard and in
colors white on black,
--== i want, that the complete booting (Grub, Kernel, Puppy) should show
all messages in (optical) one list, with background colour brown
and selfmade Font..
OK, Puppy is changed (init-ramdisk and the boot-scripts after changeroot)
Also, I had download Grub sources (0.97...) edited some files, so that
after chosing an menuline and hit return, the stage2-console starts with
brown background and a selfmade font.
The new colours and new Font gets loadet in VGA-Card,
by int-calls. All goes well.
The Problem now is the Kernel (22.214.171.124)
The sources are downloaded, the outputs about 'extract kernel (lzma)'
and 'booting Kernel' now comes in german language, that's fine.
I did sucess in changing the colours in the kernelsources, but the very first
infos from kernelboot on the screen are white on black.
Thats why I reeditet grub sources. activate the additional option
on the VGA-Card, 'do not reset the colours when reset the card'.
This works now, and is ok, the very first infos of Kernel-load/boot now
are also shown on brown background.
But i did not found a way, to keep or set again the wanted font !! :-(
At the moment, it looks like:
power on PC, grub comes up, shows the graphical menu with entries of
all the bootable partitions.
I chose the Entry with Puppy-Linux.
Grub clears screen (the graphical menu dissappears), change to brown
background, and with the new selfmade font grub writes all his Infos.
After that, grub gives the command to the Kernelbootup.
The Kernel writes below the grub infos, 'loading kernel' and
'unlzma kernel' in a very short time. While this both messages are
printed, also the new selfmade font dissapears, the whole screeninfos
are changed back to the hardware-vga-font.
I assume, that somewhere in
the vgacard gets reseted. I dont know where :-(
Maybe, its in an other file.
Please, can someone help me?
1) is it a good way and possible, to change the kernel to
not setup/reset the VGA-Card (maybe in condition, only if
the found graphiccard is VGA and is in mode 3 80x25 16cols)?
2) in which source-file should the changes be made?
3) In the Kernelsources in the comments there are some hints
with BSS, I assume, the console/screen is ment. Is that right?
(for example, I had remt out code-lines with the comment 'clear BSS',
so that the infos of grub didn't get cleared)
thanks a lot
in hope of helping answers