OpenBSD Journal

OpenBSD Upgrade Documentation

Contributed by jose on from the big-upgrade-steps dept.

Brent Graveland writes: "If anybody would like to upgrade OpenBSD 3.3 to -current, but would like to do it over the net, here is a document on how I did it.

Remember that this is NOT the approved or supported method of upgrading, but it's worked on 3 different boxes for me.

Make backups!" This looks more or less like a pretty straightforward way to upgrade, and one which may preserve a lot of your home directory files. Try this out, the worst you'll have to do is reinstall from scratch.

(Comments are closed)

  1. By Anonymous Coward () on

    I had a recent experience trying to upgrade to 3.3-current on a Compaq 2500. I tried all three floppy images and they booted, but the scsi disks were not recognized, so I though I was out of luck. I had tried ftping a copy of the snapshot bsd.rd, but when the machine booted and I typed "boot hd0a:/bsd.rd" it started the load and loacked up, due to the differences between a.out and ELF format.

    I thought of trying to burn a cd with bsd.rd on it, but came up with a shortcut:

    On a running a.out system, ftp the 3.3-current ELF image of bsd.rd to /
    Get and create a floppy with the 3.3-current floppy33.fs image on it (it doesn't matter which one you use, all it need to do is run the boot loader).
    Boot the floppy disk, and a the boot prompt> enter:
    "boot hd0a:/bsd.rd" and vola! you are off and running an install based on the more complete cd installation kernel. I think the only way to go is to (I)nstall rather than (U)pgrade, when going from a.out to ELF. You also have to specify /pub/OpenBSD/snapshots/i386 as the directory, since the 3.3/3.4 directory is not what you want.

    Simple, no need to compile, you get to go through the install process and tweak partitions if you want, etc. OF course, if the install fails, you have a wrecked system, but you were trying to install a snapshot - bleeding edge, remember-? One additional benefit is the opportunity to check the dmesg to see if everything is recognized by the kernel.

  2. By Michael () on

    Hmmm, this looks like an interesting upgrade method. Going to give it a shot and see if I can learn anything!

  3. By Oblek () on

    A few week a go, I get too excited to upgrade to the new ELF format, after downloading -current the night before, like I always do to upgrade the tarball with simple command:

    tar xpzf -C /

    unbelievably, I did it with the new ELF tarball format!, a few seconds later, I got my system panicked and unbootable, few hours later, I successfully cleaned the mess :)

Latest Articles


Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]