Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
1  
What does the fact that you're installing on an SSD have to do with this question? –  EEAA Jul 5 '11 at 16:40
    
Did you mean install to flash drive rather than install to SSD? –  Michael Lowman Jul 5 '11 at 16:50
    
PXEBoot seems like a good way to do it. –  Tom O'Connor Jul 5 '11 at 17:16
    
Well there are multiple downloads, and I am not sure which one to grab. I believe that the only way to install to an SSD is by downloading an image file, but not sure which one to install that is bootable, since I do not have a CD Drive, or any other method of installing onto this box. This might be a dumb question, but im a router guy, and not used to working with Server software, or hardware. –  Zen Master Jul 5 '11 at 17:18
    
From my limited understanding, I believe that this is a SATADOM 4GB SSD flash drive –  Zen Master Jul 5 '11 at 17:24
show 1 more comment

4 Answers

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.

share|improve this answer
add comment

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:

  1. PXE-boot network install.
  2. Direct install to the flash/SSD drive from another computer.

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!

share|improve this answer
add comment

First go to the download area of openbsd (example : http://ftp.heanet.ie/pub/OpenBSD/4.9/amd64/) you'll need two files :

  • pxeboot
  • bsd.rd (rd stands for ramdisk)

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 :

host soekris {

          hardware ethernet 00:00:AB:CD:EF:1c;
          fixed-address 192.168.0.150;
          filename "pxeboot";
          next-server 192.168.0.98;

}

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:"

share|improve this answer
add comment

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!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.