[Bug 537849] Re: fails to deal with a serial console correctly

theparanoidone 537849 at bugs.launchpad.net
Wed Aug 24 17:27:36 UTC 2011


Experienced Same issue:

error: unknown terminal 'serial'
error: unknown command `terminal'.

Have been testing multiple configurations with limited success.

This command throws errors:
GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1"

This command seems to stop the errors.. but I can't get the boot menu to appear or shift key to be recognized:
GRUB_SERIAL_COMMAND="serial --speed=115200"


I have also messed with toggling GRUB_TERMINAL vs. GRUB_TERMINAL_INPUT / GRUB_TERMINAL_OUTPUT... tried various combinations of the lines below... 
GRUB_TERMINAL=serial
GRUB_TERMINAL_INPUT="serial console"
GRUB_TERMINAL_OUTPUT="console"


Basically been adjusting the following lines with little to no success... I have been unable to get the menu to display at all via serial port.  (Prior GRUB 1 configurations in Ubuntu 8 have been deployed to many servers with no problems... so this is starting to feel like a GRUB2 error).


#GRUB_CMDLINE_LINUX_DEFAULT=""
#GRUB_CMDLINE_LINUX_DEFAULT="quiet"
#GRUB_CMDLINE_LINUX=""
#GRUB_CMDLINE_LINUX_DEFAULT=""
#GRUB_CMDLINE_LINUX="text console=tty0 console=ttyS0,115200n8"
#GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
#GRUB_TERMINAL=serial
#GRUB_SERIAL_COMMAND="serial --speed=115200"
#GRUB_TERMINAL_INPUT="serial console"
#GRUB_TERMINAL_OUTPUT="console"
#GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200"
#GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1"

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub-installer in Ubuntu.
https://bugs.launchpad.net/bugs/537849

Title:
  fails to deal with a serial console correctly

Status in “grub-installer” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: grub-installer

  When I install lucid on a serial console, grub-installer fails to
  setup the kernel options correctly.

  On the machine in question, console=ttyS1,38400 - this is not what
  grub-installer sets up.

  After manually fixing default/grub and running update-grub, I still
  see:

  error: bad unit number.
  error: unknown terminal 'serial'
  .
  error: unknown command `terminal'.
  error: unknown terminal 'serial'
  .
  error: unknown command `terminal'.

  before the kernel boot proceeds.

  lamont

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/537849/+subscriptions




More information about the foundations-bugs mailing list