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

Bug#416310: grub-installer: serial console not properly enabled



Package: grub-installer
Version: 1.22
Severity: normal

i booted debian-installer with "console=ttyS0,38400" using within a qemu
environment with the "-nographic" option:

Mar 26 18:11:59 kernel: Kernel command line: preseed/file=/cdrom/simple-cdd/default.preseed console=ttyS0,38400 vga=normal initrd=/install.386/initrd.gz -- BOOT_IMAGE=/install.386/vmlinuz

but serial support was not properly enabled for grub or the console
itself on the installed system... (there was a getty started
appropriately, thankfully)

/boot/grub/menu.lst contained the following two lines at the very top:

serial --unit=0 --speed=38400 --word=console=ttyS0,38400 --parity= --stop=1
terminal serial

i tried various combintions of removing --word, --parity and --stop
options to serial, but it required removing both the --word and --parity
options, so the line i got working was:

serial --unit=0 --speed=38400 --stop=1

it also workd without the "--stop=1" part.  i don't know what --word is
supposed to add, and maybe --parity should only be added if it's set to
something?


in order to get linux to recognize the serial console, i had to manually
add "console=ttyS0,38400" to the kopt line, and then run update-grub:

# kopt=root=/dev/hda1 ro console=ttyS0,38400


live well,
  vagrant



Reply to: