-- MikeGore - 14 Jun 2012

Setup an IPMI SOL card with Ubuntu

Fixing Grub to work with SOL

Note: I could not get grub to work with both serial and console at the same time.I found this patch listed below to fix it.

References

Install Setup

  • Install ipmitools
  • Enable SOL in BIOS on comm port 2 or 3
  • Modify /etc/default/grub
GRUB_CMDLINE_LINUX="console=ttyS1,115200n8 console=tty0"
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
GRUB_TERMINAL="serial console"
  • We need to patch the grub utilities
  • patch /usr/sbin/grub-mkconfig grub-mkconfig.patch

  • patch /etc/grub.d/00_header 00_header.patch
  • update-grub - update grub

Serial Login init script

  • Enable Serial TTY in Ubuntu
    • Create /etc/init/ttyS1.conf
root@swag:/etc/init# cat ttyS1.conf 
# ttyS1 - getty
#
# This service maintains a getty on ttyS0 from the point the system is
# started until it is shut down again.

start on runlevel [012345]
stop on runlevel [!12345]

respawn
exec /sbin/getty -L 115200 ttyS1 vt102

    • start ttyS1 - manually start the new service
Topic attachments
I Attachment Action Size Date Who Comment
Unknown file formatpatch 00_header.patch manage 2.9 K 2012-06-14 - 15:08 MikeGore 00_header.patch
Unknown file formatpatch grub-mkconfig.patch manage 4.0 K 2012-06-14 - 15:08 MikeGore grub-mkconfig.patch
Topic revision: r4 - 2016-10-28 - MikeGore
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback