Hi All

I am using grub on a small machine that's normally headless, so I have these
entries in my grub.conf:

terminal --timeout=5 serial console
kernel /bzImage console=ttyS0,38400

This works great. However if I hit the key on bootup on a real console, I of
course get the grub screen, but no kernel messages, since it's still using the
serial console.

I'd like something like this in stage2, but don't really know how to do it
myself:

if current_term->name = serial
  append "console=ttyS0,38400" to kernel parameters // Serial console
else
  append nothing // default console

Is this feasible?

Cheers!

James


_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to