Re: n00b question regarding installation via serial console

2009-06-05 Thread Jonathan McKeown
On Thursday 04 June 2009 17:28:56 Tim Judd wrote:
 On 6/4/09, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote:
  Hello list,
 
  Is it possible to boot into the serial console from the installation
  CD, or must boot.flp be used as per
 
  make your own CD
 
  add file boot.config containing just one line:
 
  -P
 
  to existing, make sure you it's bootable (mkisofs -b boot/cdboot
  -no-emul-boot) and record
 
  refer to
 
  man boot.config

Unless things have changed since I last did this, this isn't going to work. 
First of all, the CD boot process doesn't pick up the boot.config. Secondly, 
many motherboards use a BIOS which causes the -P test to fail.

What you can do is create boot/loader.conf on the CD image containing

console=comconsole


 Sure that's enough?  ttys is still going to mark the ttyd0 line as
 off and won't present a tty/login then.

Yes, it is. You don't need a login for an installation. You do need to make 
sure you enable the correct serial port (usually ttyd0, as you point out) 
in /etc/ttys before you reboot at the end of the installation.

 I think it's more complicated than that.  And what if the boot process
 hangs for some reason?  no console output either by your solution.

It's not an ideal process (particularly since the serial console only cuts in 
at a very late stage). One day I will make time to sit down and work out how 
to do it properly on a CD.

Jonathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


n00b question regarding installation via serial console

2009-06-04 Thread John .
Hello list,

Is it possible to boot into the serial console from the installation
CD, or must boot.flp be used as per
http://www.freebsd.org/doc/en/books/handbook/install-advanced.html ?
(the machine has no floppy drive (yet)

thanks
-- 
John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: n00b question regarding installation via serial console

2009-06-04 Thread Wojciech Puchar

Hello list,

Is it possible to boot into the serial console from the installation
CD, or must boot.flp be used as per


make your own CD

add file boot.config containing just one line:

-P


to existing, make sure you it's bootable (mkisofs -b boot/cdboot 
-no-emul-boot) and record



refer to

man boot.config
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: n00b question regarding installation via serial console

2009-06-04 Thread Jonathan McKeown
On Thursday 04 June 2009 15:46:11 John . wrote:
 Hello list,

 Is it possible to boot into the serial console from the installation
 CD, or must boot.flp be used as per
 http://www.freebsd.org/doc/en/books/handbook/install-advanced.html ?
 (the machine has no floppy drive (yet)

It's possible - but only by making your own install CD. Check back through the 
list archives: Martin McCormick and I had a lengthy discussion about this a 
while back.

Jonathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: n00b question regarding installation via serial console

2009-06-04 Thread John .
Hi,

Thanks everyone, I know what to do now :D

-- 
John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: n00b question regarding installation via serial console

2009-06-04 Thread Wojciech Puchar


man boot.config


Sure that's enough?  ttys is still going to mark the ttyd0 line as
off and won't present a tty/login then.


no. it's set to console in installator IMHO.
that's universal.


I think it's more complicated than that.  And what if the boot process
hangs for some reason?  no console output either by your solution.


why?


Enabling a serial console on a typical install means editing 3 files.
 /boot/loader.conf
 /boot.config
 /etc/ttys

loader.conf needs to know the COM port speed (default 9600), and what
device to output the console.


by default it uses what boot already use. at least it worked for me.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: n00b question regarding installation via serial console

2009-06-04 Thread Tim Judd
On 6/4/09, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote:
 Hello list,

 Is it possible to boot into the serial console from the installation
 CD, or must boot.flp be used as per

 make your own CD

 add file boot.config containing just one line:

 -P


 to existing, make sure you it's bootable (mkisofs -b boot/cdboot
 -no-emul-boot) and record


 refer to

 man boot.config

Sure that's enough?  ttys is still going to mark the ttyd0 line as
off and won't present a tty/login then.

I think it's more complicated than that.  And what if the boot process
hangs for some reason?  no console output either by your solution.



Enabling a serial console on a typical install means editing 3 files.
  /boot/loader.conf
  /boot.config
  /etc/ttys

loader.conf needs to know the COM port speed (default 9600), and what
device to output the console.
boot.config allows the keyboard usage via serial line (the -P probing
doesn't always work, better to use -D dual)
ttys enables the ttyd0 (aka COM1) port to be used to login/use the
system.  It's default is also 9600

Honestly, I've setup a diskless boot server (via my ALIX SBC router),
and it runs the latest -RELEASE and I can launch sysinstall from the
diskless machine and just work off that.



The OP's intention may warrant a diskless server.  I threw spinrite,
memtest and freebsd all as possible options to boot off the network.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org