Subject: Re: pxe headless install of netbsd?
To: Dick Davies <rasputnik@hellooperator.net>
From: David Laight <david@l8s.co.uk>
List: current-users
Date: 08/04/2004 21:31:27
On Wed, Aug 04, 2004 at 08:29:05AM +0100, Dick Davies wrote:
> 
> Hi, just a quick couple of questions.
> 
> I have a mini-itx headless box with no cdrom drive, but a 20Gb
> drive - so I don't need to run a diskless machine, but I *would*
> like to avoid having to buy a USB CDROM just to install NetBSD

You should be able to install the disk on a different system.

> (plus I'm having trouble with latest bootblocks on these boards
> and heard pxe still works).

This needs tracking down, and I don't have a failing board.

> Do I just have to uncomment :
> 
> # This option allows you to force a serial console at the specified
> # I/O address.
> #options        CONSDEVNAME="\"com\"",CONADDR=0x3f8,CONSPEED=9600
> 
> in the INSTALL kernel? If so, how do I get the install ramdisk into it
> without building a full release?

You should also be able to change the default console used by the boot
floppies!

The information is held in a table near the start of the floppy image:

00000400  eb 4a 89 f6 d1 b6 86 78  44 00 00 00 00 00 00 00  |.J.....xD.......|
00000410  05 00 00 00 00 00 00 00  80 25 00 00 00 00 00 00  |.........%......|
00000420  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

The 80 25 is the baud rate (0x2580 = 9600)
Byte 414 is the console, IIRC 'com0' is 1.
The IO addr seems to be taken for a bios table at 0x400

	David

-- 
David Laight: david@l8s.co.uk