--
MikeGore - 14 Jun 2012
IPMI SOL card with Ubun"> 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