Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

grub2 output to both console and serial

97 views
Skip to first unread message

William Thompson

unread,
Mar 17, 2009, 10:20:06 AM3/17/09
to
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


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Daniel Dickinson

unread,
Mar 18, 2009, 2:50:11 PM3/18/09
to
On Tue, 17 Mar 2009 09:39:32 -0400
William Thompson <w...@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

signature.asc

William Thompson

unread,
Mar 19, 2009, 3:10:24 PM3/19/09
to
Please reply directly to me, I am not on the list.

>On Tue, Mar 17, 2009 at 09:39:32AM -0400, William Thompson 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.

I knew grub1 would do it. Are you saying that grub2 will not?


Please reply directly to me, I am not on the list.

0 new messages