View Single Post
  #3   (View Single Post)  
Old 21st May 2012
comet--berkeley comet--berkeley is offline
Real Name: Richard
Package Pilot
 
Join Date: Apr 2009
Location: California
Posts: 163
Default

Quote:
Originally Posted by daemonfowl View Post
is it possible to upgrade OpenBSD from / directory by just putting all necessary sets there and reboot on bsd.rd ? what option , then , must I choose ? the option 'disk' ?
if I'm missing a faq , please point at the dedicated section ..
To answer your question, yes.

I don't think I found the information about the sets in the FAQ either.

As jggimi says look in the Upgrade guide first as it has a guide to what else needs to change besides the upgrade of the binaries:

http://www.openbsd.org/faq/upgrade51.html

Here is what I do to upgrade the binaries from my / disk:

Create a directory in the / under the release number with a subdirectory of the architecture.

So for the 5.1 release for my 64 bit intel machine I created a directory called: /5.1/amd64

And ftp/rsync all the files from my local OpenBSD repository:

http://ftp5.usa.openbsd.org/pub/OpenBSD/5.1/amd64/

The .iso files are optional as they aren't needed here.

I boot as normal but stop the process at the boot prompt.

Pick up the bsd.rd for the new release at the boot prompt do a set image and boot
>set image /5.1/amd64/bsd.rd
>boot

For the install sets pick "disk" and for "mounted already?" I usually say "yes" as the upgrade process has already done an fsck and mount as /mnt.

The directory for the sets would be /5.1/amd64

CD disks are becoming obsolete and I use them less and less.

Instead of buying them, I donate money directly to OpenBSD.
Reply With Quote