Console Redirection After Boot

Matt Domsch Matt_Domsch at dell.com
Wed Nov 1 09:08:34 CST 2006


On Wed, Nov 01, 2006 at 10:37:01AM -0400, eclark wrote:
> Heres one! How do you stop console re-redirection from happeing _during_ boot? 
> I have in the past needed to grab the boot sequence from a serial console, 
> but once the linux kernel kicks on, I completely loose serial console. Is 
> there any way to force serial console redirection in the kernel, so I can log 
> boot sequences? It gets a bit old having to continuously reboot to stare at 
> scrolling messages when you are trying to do kernel testing.

That's easy.

1) Disable (or really, don't enable) console redirection in BIOS SETUP.
2) Put on the kernel command line:  console=ttyS0,115200 console=tty0

We do 99% of our kernel debugging this way.

-- 
Matt Domsch
Software Architect
Dell Linux Solutions linux.dell.com & www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com



More information about the Linux-PowerEdge mailing list