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 12th July 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default Upgrade and reinstall - choices when booting

In another thread, bsd-keith asked:
Quote:
Originally Posted by bsd-keith View Post
I'd be tempted to grab the install disk/image & do an 'upgrade' - would that be wrong?
There's nothing wrong with booting installation media. But it isn't strictly necessary. That's because once you have boot blocks on a disk drive, you can use it to boot any valid kernel. The boot.conf(5) man page for your architecture explains how to select an alternate kernel.

Installation media -- CD-ROM, diskette, USB stick -- have boot blocks which boot the RAMDISK kernel. This is bsd.rd or, if on diskette, the same kernel with a smaller set of device drivers so it will fit in the space required. Even your local network can act as bootable installation "media", see diskless(8), and for amd64 or i368, see pxeboot(8).

The RAMDISK kernel contains a root filesystem in RAM, and the install and upgrade scripts, and can be used for reinstallation, upgrade, rescue, or root filesystem maintenance that cannot be performed while the "real" root filesystem is mounted. The bsd.rd kernel is installed along with any other kernels during installation, so it is always available for rescue, maintenance, or reinstallation.

To conduct an upgrade to the next sequential -release, or to a snapshot, you only need to download the appropriate bsd.rd and select it at boot time. On i386 or amd64, you can even switch architectures, if the CPU supports both, but you would need to reinstall. You cannot upgrade and switch architectures at the same time. Binary executables will not run on multiple architectures.

Last edited by jggimi; 12th July 2015 at 11:39 AM. Reason: grammar, added network boot "media"
Reply With Quote
  #2   (View Single Post)  
Old 12th July 2015
bsd-keith bsd-keith is offline
Real Name: Keith
Open Source Software user
 
Join Date: Jun 2014
Location: Surrey/Hants Border, England
Posts: 343
Default

Thanks for the conformation & explaination.
__________________
Linux since 1999, & also a BSD user.
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
Reinstall OpenBSD 5.7 automatically (vps without KVM) wesley Guides 0 1st June 2015 11:07 AM
reinstall all packages installed by pkg_add mfaridi OpenBSD Packages and Ports 4 5th March 2015 12:47 PM
A plan for a remote install and reinstall of FreeBSD J65nko FreeBSD Installation and Upgrading 4 14th February 2010 02:46 PM
System messed up, should I just reinstall? AncientDragonfly FreeBSD Ports and Packages 22 22nd April 2009 04:33 AM
different booting bsd.rd & bsd Hihihi OpenBSD General 3 15th July 2008 10:34 PM


All times are GMT. The time now is 10:05 AM.


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