[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: grub2 output to both console and serial



On Tue, 17 Mar 2009 09:39:32 -0400
William Thompson <wt@electro-mechanical.com> wrote:

> I am not on the list, keep me in CC.
> 
> Is it possible to output to both the vga console and the serial
> terminal as with older versions of grub?  I thought I did this at one
> time but am unable to do this now.  At this time, the oldest grub
> version I used is 1.96+20080724-16
> 
> 
For grub1 (not grub2) you can add the following lines to you menu.lst 

serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1 
terminal --timeout=10 serial console

Add to kernel command line

console=tty0 console=ttyS0,115200

And add ttyS0 line to inittab



This setup favours serial over console.  If you prefer to favour
console switch tty0 and ttyS0,115200 parts of the kernel command line,
and switch serial and console in the terminal line.

Regards,

Daniel

-- 
And that's my crabbing done for the day.  Got it out of the way early, 
now I have the rest of the afternoon to sniff fragrant tea-roses or 
strangle cute bunnies or something.   -- Michael Devore
GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C      http://gnupg.org

Attachment: signature.asc
Description: PGP signature


Reply to: