Hi David,

You can setup TFTP and DHCP server to install OpenBSD using PXE
boot.

1.Setup the BIOS so that it will boot up from LAN as the first
priority.
2.Download these files below:
B B B  pxeboot
B B B  bsd.rd (rd
stands for ramdisk)

With these two files,you need to setup a pxe boot
environment.

2.Next step is,you need to set up a DHCP server that recognize
the MAC address of the card and set the option filename and next-server.

This
is an example for a linux dhcpd :

B B B  host app {
B B B B B B B B B B B B B  hardware ethernet 00:00:AB:CD:EF:1A;
B B B B B B B B B B B B B  fixed-address 192.168.1.100;
B B B B B B B B B B B B B  filename "pxeboot";
B B B B B B B B B B B B B 
next-server 192.168.1.99;

B B B  }

Note: your nextserver is a tftp server
serving the files /pxeboot and /bsd.rd
3.Prepare the TFTP Server for serving
the files pxeboot and bsd.rd
4.Activate only the TFTP option and set the
directory to the one containing both of your files and start it.
5.Now boot
your machine with PXE enabled. Make sure your dhcpd is serving the right
address and the right information (check for DHCPACK in the logs)
6.The
filename option will instructs your machine to load and run the pxeboot which
is the first stage (somewhat equivalent to grub). 
Then, at the prompt, you
may type bsd.rd and press enter. This file will be downloaded from the TFTP
server also and will starts the installation procedure.
7.Continue to install
OpenBSD (disk partition etc etc)

I hope it helps you.

Rgds,
Stefan
________________________________
From: "Li, David" <[email protected]>
To:
Stefan N <[email protected]>
Cc: "[email protected]" <[email protected]>
Sent: Thursday, November 10, 2011 6:58 AM
Subject: RE: Diskless Install using
PXEboot


Hi Stefan,
B 
No,B  the external storage is the DHCP server and the
OpenBSD machine can NFS-mount the directories from the DHCP server once itbs
booted - This is my plan.B  
B 
I am new to BSD. I have done this in Linux
(RedHat) but not sure if OpenBSD can be done the same way. In Redhat, I would
have to install it on a disk first and then copy the directory structure, the
kernel and ram disk file to the DHCP server. 
B 
David
B 
B 
From:Stefan N
[mailto:[email protected]] 
Sent: Wednesday, November 09, 2011 2:48 PM
To: Li, David
Cc: [email protected]
Subject: Re: Diskless Install using PXEboot
B 
Hi David,
B 
As you intend to boot up OpenBSD via PXE, I assume that you
have external storage.
Will you install the OpenBSD in the iSCSI Storage?
B 
Regards,
Stefan

________________________________

From:"Li, David"
<[email protected]>
To: "[email protected]" <[email protected]>
Sent:
Thursday, November 10, 2011 5:34 AM
Subject: Diskless Install using PXEboot
Hi,

My goal is to use pxeboot to boot up a diskless x86_64 machine with
openbsd.
I am aware of this page: http://www.openbsd.org/faq/faq6.html#PXE and
followed
the instructions.B  The bsd.rd was successfully downloaded. But the
kernel
crashed on booting up. I might have missed some steps here prior to
this.B  Do
I need to install it on a disk first and then use the bsd.rd from
the disk
install?

Anyone can give me any pointers?

Thanks.

David

Reply via email to