Re: Fwd: Headless installer boot

2018-01-17 Thread Hermann Lauer
Hello Mike,

On Wed, Jan 17, 2018 at 10:22:14PM +1300, Mike Hosken wrote:
> Also implement the serial console as primary console after installation. 
...
> > Just a quick question I wish to use serial port as console to install 
> > servers. I’m not familiar with grub etc as I’ve only ever used palo. Could 
> > someone point me in the right direction as to implement console=/dev/ttys0, 
> > for the AMD64 port and I386. I assume it would be a change when building 
> > the install media. 

You can simply use a kernel commandline like this grub config snippet while
starting the installer:

set cS1="console=ttyS1,115200n8"

linux.../linux auto=true priority=critical $cS1 ... --- $cS1

Of course you can insert the definition directly instead of using a variable.
The d-i will then take care of putting the console information into the
installed system. 

Greetings
  Hermann

-- 
Netzwerkadministration/Zentrale Dienste, Interdiziplinaeres 
Zentrum fuer wissenschaftliches Rechnen der Universitaet Heidelberg
IWR; INF 205; 69120 Heidelberg; Tel: (06221)54-14405 Fax: -14427
Email: hermann.la...@iwr.uni-heidelberg.de



Re: Fwd: Headless installer boot

2018-01-17 Thread john doe

On 1/17/2018 10:22 AM, Mike Hosken wrote:

Also implement the serial console as primary console after installation.

Mike Hosken

Sent from my iPhone

Begin forwarded message:


From: Mike Hosken 
Date: 17 January 2018 at 22:17:51 NZDT
To: debian-boot@lists.debian.org
Subject: Headless installer boot

Hi Team,

Just a quick question I wish to use serial port as console to install servers. 
I’m not familiar with grub etc as I’ve only ever used palo. Could someone point 
me in the right direction as to implement console=/dev/ttys0, for the AMD64 
port and I386. I assume it would be a change when building the install media.





I also use a DB9 Serial Rs232 cable to install Debian 9.3 amd64.
I just grab the iso from debian.org and it does not need any
modification.
If you use console mode during installation it will also be properly set 
up when Debian is installed (no need to mess with grub...).

The only parameter I need to pass to the kernel is:

console=ttyS0,115200n8

Note that it is 'console=ttyS0' and not 'console=/dev/ttyS0'.

Just in case you get the following (Don't use 'vga=*' to skip that part):

"Undefined video mode number: 314
Press  to see video modes available,  to continue, or wait 
30 sec"


Simply press the  bar or wait 30 sec.


See '5.3.1. Boot console' on the following page:

https://www.debian.org/releases/stable/i386/ch05s03.html.en

--
John Doe



Fwd: Headless installer boot

2018-01-17 Thread Mike Hosken
Also implement the serial console as primary console after installation. 

Mike Hosken

Sent from my iPhone

Begin forwarded message:

> From: Mike Hosken 
> Date: 17 January 2018 at 22:17:51 NZDT
> To: debian-boot@lists.debian.org
> Subject: Headless installer boot
> 
> Hi Team,
> 
> Just a quick question I wish to use serial port as console to install 
> servers. I’m not familiar with grub etc as I’ve only ever used palo. Could 
> someone point me in the right direction as to implement console=/dev/ttys0, 
> for the AMD64 port and I386. I assume it would be a change when building the 
> install media. 
> 
> Mike Hosken
> 
> Sent from my iPhone