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 13th April 2011
Daffy Daffy is offline
Fdisk Soldier
 
Join Date: Jun 2010
Posts: 73
Thanked 0 Times in 0 Posts
Default Following -current for the first time...

There comes a time in a man's life to follow -current... So for the first time, I carefully read the FAQ, some things I found in mailing lists and everything in general I could find about following -current. The reason I'm posting here is to check if I did all things correctly.

First things first. A few notes:

- I have no custom kernel.
- I made a clean installation from the previous -current snapshot.
- I installed the ports tree that came with the snapshot (same date).

The steps I followed:

- booted from cd (newest -current) and followed instructions for update.
- rebooted.
- as root, I did the following (ftp is just a matter of preference):
Code:
sysmerge -s ftp://ftp.cc.uoc.gr/mirrors/OpenBSD/snapshots/i386/etc49.tgz -x ftp://ftp.cc.uoc.gr/mirrors/OpenBSD/snapshots/i386//xetc49.tgz
- installed the temporary files
- updated ports with
Code:
cd /usr/
cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -P ports
- And for the final touch, I did a
Code:
pkg_add -u

So far, the system's looking nice and smooth. All files are there. I'm just asking because with no previous experience on this, I need to know if the steps I followed were correct.

Thank you.
Reply With Quote
  #2   (View Single Post)  
Old 13th April 2011
rocket357's Avatar
rocket357 rocket357 is offline
Real Name: Jonathon
Wannabe OpenBSD porter
 
Join Date: Jun 2010
Location: 127.0.0.1
Posts: 336
Thanked 9 Times in 9 Posts
Default

That's the beauty of OpenBSD...if you follow the docs, you're in good shape.

Sounds to me like you have a shiny new -current machine that's all in working order.
Reply With Quote
  #3   (View Single Post)  
Old 13th April 2011
Daffy Daffy is offline
Fdisk Soldier
 
Join Date: Jun 2010
Posts: 73
Thanked 0 Times in 0 Posts
Default

Thank you very much rocket357.

And a last question about current. Let's say that the next snapshot is in 4 days and the after that in 8. If I miss the first, am I able to proceed to update with the second without messing things up?
Reply With Quote
  #4   (View Single Post)  
Old 13th April 2011
rocket357's Avatar
rocket357 rocket357 is offline
Real Name: Jonathon
Wannabe OpenBSD porter
 
Join Date: Jun 2010
Location: 127.0.0.1
Posts: 336
Thanked 9 Times in 9 Posts
Default

Quote:
Originally Posted by Daffy View Post
If I miss the first, am I able to proceed to update with the second without messing things up?
Yeah, the snapshot installers (bsd.rd, cd49.iso, and install49.iso) all operate exactly like -RELEASE versions of the same installers...you can't produce an inconsistent system using those installers if you use them properly and completely (i.e. you don't reboot in the middle of the upgrade, etc...).

And, as you've already stated, make sure you sysmerge and pkg_add -u after each snapshot upgrade.
Reply With Quote
  #5   (View Single Post)  
Old 13th April 2011
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,930
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by Daffy View Post
If I miss the first, am I able to proceed to update with the second without messing things up?
Yes, this scenario is covered in the table shown in Section 5.3.2 of the FAQ.
Reply With Quote
  #6   (View Single Post)  
Old 20th July 2011
Daffy Daffy is offline
Fdisk Soldier
 
Join Date: Jun 2010
Posts: 73
Thanked 0 Times in 0 Posts
Default

Resurrecting the thread with a question about -current.

So far, I'm updating with bsd.rd and the laptop still survives.

Now, with the 5.0 release, I'm somehow confused with the sysmerge utility (even if now it's automated at the end of each update). Let's say that I want to update from 4.9 -current to 5.0 and I choose to manually sysmerge /etc. Im going to give
Code:
sysmerge -s ftp://ftp.address/arch/etc50.tgz -x ftp://ftp.address/arch/xetc50.tgz
?

I read sysmerge man page, but I cannot understand completely the comparison. It compares the new /etc against the old one. But why do we need to specify two etc (etc/xetc) paths?

Perhaps a noob question, but I feel the urge to learn that...
Reply With Quote
  #7   (View Single Post)  
Old 20th July 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,886
Thanked 214 Times in 189 Posts
Default

It isn't two paths, it is two filesets. Both have content for /etc (and /var) that needs to be merged with your local provisioning.
Reply With Quote
  #8   (View Single Post)  
Old 20th July 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,886
Thanked 214 Times in 189 Posts
Default

Allow me to add, on my -current build machine, since I maintain from source, I just use this command:

# sysmerge

The default is to use /usr/src rather than fileset(s).

I also build a release(8), for installation on other platforms, and there i use -s and -x.
Reply With Quote
  #9   (View Single Post)  
Old 20th July 2011
Daffy Daffy is offline
Fdisk Soldier
 
Join Date: Jun 2010
Posts: 73
Thanked 0 Times in 0 Posts
Thumbs up

Quote:
Originally Posted by jggimi View Post
It isn't two paths, it is two filesets. Both have content for /etc (and /var) that needs to be merged with your local provisioning.
Thank you very much for the info.
Reply With Quote
Old 21st July 2011
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,930
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by Daffy View Post
Now, with the 5.0 release...
For those coming to this thread later, Daffy is currently referring to 5.0-beta. OpenBSD 5.0-release will not be officially available until 1 November 2011 as currently scheduled. The OpenBSD project attempts to release new public releases every May & November as mentioned in Section 1.7 of the FAQ.
Reply With Quote
Reply

Tags
current, openbsd

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
OpenBSD4.5 current to current... valorisa OpenBSD Installation and Upgrading 7 6th June 2009 09:26 AM
NFS time outs trilog General software and network 1 5th May 2009 07:21 AM
Real Time OS corey_james Off-Topic 2 11th July 2008 02:56 PM
Time drift cajunman4life FreeBSD General 4 18th June 2008 07:21 AM


All times are GMT. The time now is 12:31 PM.


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