DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 7th April 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Default upgrading openbsd from sets located in / .. is it possible ?

Hi

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 ..

Thank you.
Reply With Quote
  #2   (View Single Post)  
Old 8th April 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

See the manual upgrade process described in the most recent upgrade guide.

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

Last edited by jggimi; 8th April 2012 at 12:07 AM. Reason: typo
Reply With Quote
  #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
  #4   (View Single Post)  
Old 21st May 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

There are two major points when it comes to installing/upgrading:
  • How to boot the (newer) bsd.rd kernel. Be this through copying locally, PXE. booting the cd51.iso or install51.iso images, or from a USB drive, until this newer kernel is booted, nothing else is important.
  • Once the bsd.rd is booted, installation of the filesets can be done through any means supported by the installation kernel -- ftp(1), locally from a CD or USB drive, etc.
Reply With Quote
  #5   (View Single Post)  
Old 22nd May 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Default

Thank you so much , jgimmi,comet--berkeley,ocicat !!!!
Quote:
For the install sets pick "disk"
Thank you , I kept asking what the 'disk' option is for.I'll put that into practice as soon a I can.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
new system - recommend chip sets / motherboards jsmith6134 OpenBSD Installation and Upgrading 6 9th August 2011 03:04 AM
Upgrading CPU Calderon FreeBSD General 3 29th March 2009 06:22 PM
Upgrading from KDE 3.5 to KDE 4.1 ebzzry FreeBSD Ports and Packages 15 28th January 2009 05:03 AM
upgrading/new hardware from 4.0 knasbas OpenBSD Installation and Upgrading 1 7th January 2009 02:55 AM
Problems with ntfs partition located on a SATA driver. disappearedng FreeBSD General 3 21st May 2008 10:29 AM


All times are GMT. The time now is 02:50 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick