grub-mkconfig for combined serial and console
Hi
I'd like to be able to define terminal --timeout=5 serial console in a way that grub-mkconfig will automatically set that when updating the grub.cfg file.
Is there an easy way to do this (and disable the use of gfxterm).
Thanks,
Signature · 4 lines
Daniel Reurich Centurion Computer Technology (2005) Ltd Ph 021 797 722
Quoted 7 lines · Daniel Reurich
Hi
I'd like to be able to define terminal --timeout=5 serial console in a way that grub-mkconfig will automatically set that when updating the grub.cfg file.
Is there an easy way to do this (and disable the use of gfxterm).
See 00_header file (it's installed to /usr/local/etc/grub.d by default). Try variables found in that file, such as GRUB_TERMINAL_INPUT, GRUB_TIMEOUT, GRUB_SERIAL_COMMAND and others.
Signature · 2 lines
Regards, Pavel Roskin
Quoted 7 lines · Pavel Roskin
Quoted 6 lines · Daniel Reurich
Hi
I'd like to be able to define terminal --timeout=5 serial console in a way that grub-mkconfig will automatically set that when updating the grub.cfg file.
Quoted 5 lines
Quoted 1 line
Is there an easy way to do this (and disable the use of gfxterm).
See 00_header file (it's installed to
/usr/local/etc/grub.dby default). Try variables found in that file, such asGRUB_TERMINAL_INPUT,GRUB_TIMEOUT,GRUB_SERIAL_COMMANDand others.
I did before I posted. grub-mkconfig seems to have been designed around the (false) assumption that one would only ever want a single terminal interface rather than the option to choose at boot time, and thus only allows either console or serial but not both.
I believe GRUB_TIMEOUT has nothing to do with the --timeout option of the terminal module.
Thanks,
Signature · 4 lines
Daniel Reurich Centurion Computer Technology (2005) Ltd Ph 021 797 722
Quoted 7 lines · Daniel Reurich
I did before I posted. grub-mkconfig seems to have been designed around the (false) assumption that one would only ever want a single terminal interface rather than the option to choose at boot time, and thus only allows either console or serial but not both.
I believe
GRUB_TIMEOUThas nothing to do with the --timeout option of the terminal module.
I agree, but GRUB_SERIAL_COMMAND may be what you need. grub-mkconfig is not the strongest part of GRUB, so if it doesn't meet your needs, please patch it and share your changes with us if they are suitable for general use.
Signature · 2 lines
Regards, Pavel Roskin