I'm searching for an OpenBSD bootable image that I can install on SSD to run pf on. I've found these images for m0n0wall and pfSense but not for OpenBSD alone.
Can somebody link me to an image with instructions on how to install it directly to a SSD?
Thanks in advance.
This web page at bsdgurl.org looks to be offering what you're looking for. You'll need to write the image to a USB drive, boot from USB, then install to your DOM (ssd). Use method 2 if you don't have another BSD box laying around.
First go to the download area of openbsd (example : http://ftp.heanet.ie/pub/OpenBSD/4.9/amd64/) you'll need two files :
With these two files,you need to setup a pxe boot environment.
Next you need to set up a DHCP server that recognize the MAC address of the card and set the option filename and next-server.
Here is a example for a linux dhcpd :
Where your nextserver is a tftp server serving the files /pxeboot and /bsd.rd
On Windows I use the excellent tftpd32d (http://tftpd32.jounin.net/)
You need to activate only the TFTP option and set the directory to the one containing both of your files and start it.
Now boot your machine with PXE enabled. Make sure your dhcp daemon is serving the right address and the right information (check for DHCPACK in the logs)
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 wait or just enter bsd.rd. This file will be downloaded from the TFTP server also and will starts the installation procedure.
You may also consult the official documentation at http://ftp.heanet.ie/pub/OpenBSD/4.9/amd64/INSTALL.amd64
and look for the section "Creating a PXE network bootable setup using OpenBSD or other Un*x-like system:"
if your doing this multiple times, pxe booting is easiest.
if its only a couple times, just mount your flash drive on another machine as the root in a virtual machine. for example, if your using qemu/kvm on linux and the flash drive shows up as /dev/sdc
youll have to do this as root for raw access to /dev/sdc. also, dont worry about virtio. it works fine in openbsd and the install will still work if the drive is ide, sata, scsi or whatever. ive even done it with drives that boot from usb on soekris.
The Atom processor is supported according to the OpenBSD i386 platform web page. You will have to verify the rest of the devices on the board.
I recommend trying a regular install of OpenBSD for both testing as well as ongoing operation. Avoid the other "image" options out there if you want support from the OpenBSD developers and user community.
Installation to SSD should not be any different from installation to a hard drive. Read the installation guide within the FAQ for detailed instructions. The trick for you is getting the board to boot. Provided the BIOS supports it, you could try booting and installing from an external USB CD-ROM using the install media (Installation Guide section 4.3) you've purchased or downloaded. The cd49.iso file is what you want to download from the i386 directory of any official mirror server.
If an external CD-ROM is absolutely not an option, PXE booting is your best alternative. However, this one takes a little leg work to setup DHCP, TFTP, etc.
Best regards!
Most of the ready-baked bootable OpenBSD images that I'm familiar with are (or were) geared towards embedded single board computers such as the Soekris and Alix devices. The primary objective was to pare down the operating system to fit onto smaller flash cards.
These days, now that flash storage devices have gotten larger, most people just install the entire OpenBSD operating system directly onto the flash media.
I can think of two main installation options for your situation:
The least complicated by far is the direct install method.
Here's what I would suggest. Connect the SSD to an internet connected computer. Boot that computer with the OpenBSD installer cd-rom. Install OpenBSD onto the recently connected SSD drive.
After the installation, modify the /etc/fstab file as necessary. You can do this manually at the end of the install before rebooting. Or you can boot to the install disk again and select shell, mount the newly installed filesystem, and modify with the sed command. Usually this means changing all the /dev/wd1x entries to /dev/wd0x for example.
Remove the SSD drive and insert into the destination machine. Try to boot it up. If there are problems booting, it's usually because the /etc/fstab entries are incorrect. Check the dmesg output as the kernel boots to see what the destination machines hard drive devices are detected as. They should be either sd0 or wd0.
Good luck!
PXE boot an OpenBSD kernel is simple; PXE installing OpenBSD is a bit more complex.
You can PXE install the last OpenBSD install55.iso with Serva (I'm related to Serva development) or with some other PXE server following Serva instructions
See here for full details and requirements: http://vercot.com/~serva/an/NonWindowsPXE3.html
When the environment is set you can see here the step-by-step procedure from the PXE client boot until the install is finished.