LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-16-2006, 07:56 AM   #1
steve4586
LQ Newbie
 
Registered: Oct 2005
Location: West Wales
Distribution: Debian (Sarge)/OpenSuse 10.2
Posts: 11

Rep: Reputation: 0
Installation process via ttyS0


Hi all,

I have been setting up a headless server with Debian. I have managed to get the installation process going and loaded the OS onto the server (with grateful thanks to help from people on this site!!!). However, now that the server will boot from the hard disk using Grub, I need to continue the installation using ttyS0 so that I can get far enough to install SSH.

How do I get the system to do this via ttyS0. I assume this is something I set up in grub (?). I have tried modifying grub with "serial --unit=0 --speed=115200" and "terminal serial console" but still me with a blank screen on ttyS0.

I would be grateful for any pointers.

Many thanks in advance.

P.S. I think I should write up this install once completed. Doing this sort of thing as a relative newbie is a great learning experience, but I would like to bring something beck to the community as soon as I can!!
 
Old 12-16-2006, 08:49 AM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Well, you could try logging in 'blind' and install ssh that way... Requires good memory on which keys you've pressed and which not

However, the easiest solution by far is to connect a monitor
 
Old 12-16-2006, 09:29 AM   #3
steve4586
LQ Newbie
 
Registered: Oct 2005
Location: West Wales
Distribution: Debian (Sarge)/OpenSuse 10.2
Posts: 11

Original Poster
Rep: Reputation: 0
Sorry, should have mentioned, the server has no video, keyboard or mouse port. So it has to be via the serial console until SSH is installed.
 
Old 12-16-2006, 07:03 PM   #4
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Whoops, overlooked that part...

When faced with that virgin white terminalscreen, did you gave it a hard return? (that's the Enter key ) How are you connected to that machine, with a serial cable? If so, are you sure the cable is wired correctly?
 
Old 12-17-2006, 04:55 AM   #5
steve4586
LQ Newbie
 
Registered: Oct 2005
Location: West Wales
Distribution: Debian (Sarge)/OpenSuse 10.2
Posts: 11

Original Poster
Rep: Reputation: 0
thanks for the reply.

I have just got a Dell 715N, which is a headless server. The only way to communicate to it initially is via the serial cable, which works fine. I have set up a TFTP/DHCP/PXE boot server on my laptop and connected the 715n to my router.

It boots just fine and I have configured 1 disk for /boot, /, /home and the other three disks are configured in a software RAID (5) for music files. The server was configured in Expert mode via the serial cable.

The only problem I have now is that the server boots off grub (hd0,0) ok, but I need to either tell the OS to communicate via serial or ssh after this. I loaded SSH via expert mode, so I hoped ssh would be active on the initial boot to continue the install process. However, all ports on the server are closed - firewalling?

Is there a way of getting the installation to continue via the serial port or ssh? I am pretty sure this is a really simple problem, but finding it is proving a mite bit tricky. So please state the obvious because it is probably something simple I have missed.

I am wading my way through documentation to try to identify the problem, but being a bit of a newbie I think I am just confusing myself!

Still I am pleased to have go this far!! Only the small step of finishing the install and I'll have a slimserver with 240Gb of RAID!! Frustrating, but I will succeed!!

I am going to write this install up after I complete it, as I hope my newbie experiences will help others not make the same mistakes as I know I have (and learned not to make them again!!).

Cheers

Steve
 
  


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
simple Installation process esm03 Linux - Newbie 4 06-21-2006 09:05 AM
Second Installation process of Kubuntu Fails kingnemo Linux - Newbie 2 03-01-2006 09:15 AM
Would an Automated Installation process Help? Kannies Linux - Software 1 12-28-2005 09:48 AM
The magical linux installation process!!!!! help ;) pertek Linux - Software 5 04-04-2004 07:58 PM
kernel differences during installation process FLOODS Slackware - Installation 4 04-02-2004 10:07 AM

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

All times are GMT -5. The time now is 10:25 PM.

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