Questions about console-setup
[I am not subscribed to debian-kernel]
Hi! I have some questions related to console-setup.
MAIN QUESTION
Dracut is one of the packages capable of generating initrd. About two
months ago a new module for i18n based on console-setup was added to it.
At the moment I am trying to find a way to rely entirely on the
configuration script in initrd rather than on scripts in /etc/init.d.
As far as I know the way of Ubuntu is to completely disable the normal
boot scripts. I don't like this approach because sometimes things can
go wrong in the restricted environment of initrd.
This is what I want:
First, the script in initrd runs, configures whathever it can and
prepares a report about what was possible and what wasn't.
Then, the normal boot scripts of console-setup run and configure only
things that could not be configured by the initrd script.
Therefore, I need a method that will permit me to send information from
an initrd script to a normal boot script. It doesn't matter what kind
of information this is -- a small file or a value of environment variable.
Is there such a method?
OPTIONAL QUESTION 1
Is there a way to know the filename of the initrd used to boot the
system? I might want to test if the date of this file is older than the
date of the configuration files of console-setup (in which case the boot
scripts of console-setup have to reconfigure the console).
OPTIONAL QUESTION 2
Is vesafb the only supported framebuffer module? Is there a possibility
for console-setup to specify kernel boot parameters about the desired
video mode? Or, alternatively, is there a way to use the command fbset
in order to change the video mode?
Thanks,
Anton Zinoviev
Reply to: