|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|
|||
Swift upgrade
I remember reading somewhere, about downloading the succeeding version (to ramdisk?) and commence upgrading from there. But I have failed to find the resource, and I can't remember the details.
I'd be happy to learn a trick like that. It's not in the official FAQ. |
|
|||
Update:
I found this faq4.html#bsd.rd, but I.m afraid it will take a while to understand. |
|
|||
I am using OpenBSD 4.7 right now, and I want to move to OpenBSD 4.8. The question though, is a bit more generic.
As I read in the bsd.rd FAQ, the transition without the installmedia was not the preferred one, but I am very interested in not burning CD:s, and in managing systems remotely. It was in a forum I think, that I read a comment about how easy the upgrade process was. Reading the FAQ, I don't recognize the ease that I recall. I am not certain about my use for OpenBSD as a workstation, but I want to get a grip enough to be comfortable in administering a webserver. |
|
||||
Ugrades via the installation/rescue ramdisk kernel (bsd.rd) are simple when you have access to the console. On remote machines, however, such access can be complicated, or impossible.
The upgrade guide describes remote installation procedures. Upgrade guides are unique to each release, and for 4.8, the guide can be found here: http://www.openbsd.org/faq/upgrade48.html Follow the instructions for Upgrading without install kernel. |
|
|||
It may be unique, but it does look very similar to the previous version. Anyway, here are a few things that confuse me:
I already tried to mount the iso. But as user I was not permitted and as root a block device was needed. |
|
||||
It is helpful to understand the upgrade process, and therefore, it is recommended that those attempting to do remote upgrades duplicate the remote infrastructure locally, and test thoroughly.
At least you are working locally, but it is unclear from your posts that you have ever run a standard, recommend upgrade, using an upgrade kernel. Understanding what that does, and how that works, will be an asset. It is not clear you understand either the installation or upgrade processes. Let me level set: The files that are installed during installation or upgrade are:
There are several .iso files available to aid with installations and upgrades. If above your are referring to install48.iso, this is a "...boot and installation CD-ROM image, which contains the base and X sets, so that install or upgrade can be done without network connectivity." This file is designed to be burned to optical media and booted. You will need access to the console, as described above. It is not designed or intended for remote use. It contains the filesets and kernels, on a CD9660 filesysetem. It is not a CD. You can mount the image file and extract the filesets and kernels, using vnconfig(8) and mount(8) or mount_cd9660(8) per FAQ 14.11. Or you can burn and mount the CD. Or you can download the individual filesets and kernels, which is what is commonly expected for those who are doing remote installations. The other .iso files are used for CD image booting as well, but do not contain the filesets or kernels. (Well, they contain a bsd.rd kernel that is booted but that is all.) Last edited by jggimi; 10th November 2010 at 02:30 PM. |
|
||||||
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
|
||||
Step 0: BACK UP YOUR CURRENT SYSTEM.
Step 0.1: Conduct an automated upgrade before attempting any manual upgrades. You can then restore, and do things manually. The upgrade without a kernel procedure is entirely manual, and prone to error if you do not have an excellent understanding of every step, in order. Step 0.2: Before embarking on a manual upgrade, boot a ramdisk kernel and look through the shell scripts that run when you select the upgrade option. Quote:
It is assumed that those doing this understand the process completely. Quote:
There are a multitude of methods for conducting an installation or upgradewhen you have local control of your system, and access to the console. Booting the ramdisk kernels from optical media, diskette, or network interfaces. The installation/upgrade content can be on the network, optical media, hard disk, or tape. Some architectures limit those choices, of course. On any system where you can obtain remote access to the system console, you can conduct a remote installation or upgrade. But in general, that is NOT the case with the most popular two architectures: i386 or amd64. (Yes, it is possible to do this with these architectures, with proper planning and with customized configurations. Unsupported, of course.) The manual process described in the upgrade guide is NOT recommended, but explained, for those who are forced to conduct a remote upgrade/installation without access to the console. Practice locally, of course. That is one good thing you have elected to do. Last edited by jggimi; 10th November 2010 at 03:58 PM. |
|
|||
Indeed, the upgrade is a bit messy. I had to reinstall 4.7 in order to perform the upgrade to 4.8 a second time. The association to easy and swift that I once got, is now entirely gone. But I have gained some insight and I will keep on practicing.
Thanks for all help! |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
7.2 upgrade to 7.3 no network now | carpman | FreeBSD Installation and Upgrading | 2 | 1st October 2010 04:07 PM |
6.1 RC upgrade | climby | FreeBSD Installation and Upgrading | 2 | 30th September 2010 12:51 PM |
Upgrade FreeBSD7.0 to 7.1 | Ofloo | FreeBSD Installation and Upgrading | 2 | 10th October 2008 03:24 AM |
How do I upgrade? | wubrgamer | FreeBSD Ports and Packages | 2 | 27th August 2008 07:18 PM |
upgrade from 5.5 to 6.3 | keithlybsd | FreeBSD Installation and Upgrading | 9 | 27th May 2008 06:21 PM |