Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When I reboot my Ubuntu 10.04 nodes, I'd like to be able to see the kernel boot messages when connecting to the IPMI interfaces using Serial Over LAN mode (ttyS0). What do I need to do to be able to redirect these messages to ttyS0?

Ideally, I'd like them to also still appear in the usual place (tty0, I think) for when I plug a monitor directly into the box.

share|improve this question

2 Answers 2

up vote 4 down vote accepted

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.

share|improve this answer

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

share|improve this answer
    
I think the grub stuff is in a different place in ubuntu, there's no /etc/grub.conf file. –  Lorin Hochstein May 14 '10 at 2:25
    
chances are its in /etc/grub/grub.conf then –  Mike May 14 '10 at 12:18
1  
/boot/grub on Ubuntu –  Matthew Iselin Jun 23 '10 at 0:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.