LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-07-2011, 07:30 AM   #1
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675
Blog Entries: 11

Rep: Reputation: 36
sometimes headless server...


I'm using squeeze and grub2, and I want to make a server that is sometimes headless, and sometimes has a monitor connected.

I added this line to my inittab file:

Code:
s0:2345:respawn:/sbin/agetty -L -f /etc/issueserial 9600 ttyS0 vt100
and this to my /etc/default/grub file:

Code:
GRUB_TERMINAL=serial
GRUB_CMDLINE_LINUX="console=ttyS0,9600"
GRUB_SERIAL_COMMAND="serial --unit=0 speed=9600 --word=8 --parity=no --stop=1"
now when I boot I get a text style grub screen and the boot up text goes to the serial connection. So far so good. The problem is that I want to see the boot up text on the monitor AND have it go to the serial connection. Is there a way to do this?
 
Old 01-07-2011, 11:29 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Yes. Use multiple console arguments.
Code:
console=tty0 console=ttyS0,9600
 
Old 01-15-2011, 12:04 PM   #3
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675

Original Poster
Blog Entries: 11

Rep: Reputation: 36
Quote:
Originally Posted by AlucardZero View Post
Yes. Use multiple console arguments.
Code:
console=tty0 console=ttyS0,9600
I have been away. Sorry for replying so late. Unfortunately this doesn't work. What I get is grub's boot up messages on the serial line, and then the system's start up messages on the serial line too. I googled and all I came up with is AlucardZero's suggestion. Is anyone else doing this? I'd like to be able to see the progress of an fsck check weather or not I'm looking at a serial terminal or a monitor.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Headless server live cd? DanBroughton Linux - Distributions 1 07-13-2010 05:47 PM
I want to convert mt server to headless mlefevre Linux - Hardware 1 06-27-2010 10:34 AM
ssh into headless server Trio3b Linux - Server 5 01-24-2010 10:28 PM
headless server gravij Linux - General 2 06-06-2004 07:24 AM
Raid 5 Headless Server flysideways Linux - Networking 0 05-15-2004 11:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration