How do I redirect the kernel console output on Ubuntu 10.04

After doing some research, apparently you need to edit the /etc/default/grub file and add the following line:

GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0"

Then run the update-grub command which will update /boot/grub/grub.cfg accordingly.


It has been a long time since I did this but this might work.

Edit /etc/grub.conf and add the following to your kernel line

console=tty0 console=ttyS0

If that does not work you might need to make a special boot option for just serial and put the ttyS0 first and use the example as your monitor boot option