![]() To get the GRUB cryptodisk password prompt on the serial console a few extra configuration steps are required:ġ. The /boot/grub/PLATFORM/load.cfg file gets overwritten each time grub-install is launched. This happens because the grub-install has special behavior for GRUB_ENABLE_CRYPTODISK=y and will create early config placed in /boot/grub/PLATFORM/load.cfg but grub-install ignores serial console configuration from /etc/default/grub for GRUB first stage. When GRUB is installed to an encrypted /boot/ partition - GRUB first stage (core.img) will show Enter passphrase for hdX,gptY: password prompt only on platform console and will not show anything in serial console even if all serial console configuration steps were done properly. Read GRUB's manual on Using GRUB via a serial line and the serial command for detailed explanation of the available options. GRUB_SERIAL_COMMAND="serial -unit=0 -speed=115200" ![]() For COM1 ( /dev/ttyS0) with baud rate of 115200 bit/s: Next add the GRUB_SERIAL_COMMAND variable and set the options for the serial connection. When using GRUB with a generated grub.cfg, edit /etc/default/grub and enable serial input and output support: ![]() The configuration instructions below will enable boot loader menu selection, boot messages, and terminal forwarding to the serial console.Ĭonfigure console access on the target machine Boot loader GRUB The administering machine can be any Unix/Linux or Windows machine with a terminal emulator program (PuTTY or Minicom, for example). Installation of Arch Linux is possible via the serial console as well.Ī basic environment for this scenario is two machines connected using a serial cable (9-pin connector cable). An Arch Linux machine can be configured for connections via the serial console port, which enables administration of a machine even if it has no keyboard, mouse, monitor, or network attached to it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |