help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Serial terminal embedded configuration


From: Matthias-Christian Ott
Subject: Serial terminal embedded configuration
Date: Mon, 29 Dec 2014 02:27:07 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0

If GRUB's prefix is on an encrypted disk, it prompts for a passphrase
for the disk. I have an i386 machine without a monitor and without a
BIOS that can use the serial port as a console and want GRUB to display
its prompt and read the passphrase from a serial port. Since grub.cfg is
not loaded without the passphrase the serial port configuration would
have to be embedded into the core image.

grub-install does not allow to customize the configuration, so I created
an image via grub-mkimage with the parameters grub-install generated a
simple serial port configuration similar to the example in the manual
that works within grub.cfg. Unfortunately it didn't work when embedded
into the core image.

Is it possible to embed serial port configuration in the core image? If
so, how do I do it?

Are there plans to support custom embedded configuration in
grub-install? If not, would patches be accepted? I don't want to
manually regenerate the core image after each GRUB update when the
package manager runs grub-install overwrites a core image with the
embedded configuration.

Regards,
Matthias-Christian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]