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 4th April 2012
tls tls is offline
Port Guard
 
Join Date: Feb 2012
Posts: 22
Default Booting install.iso from grub.

I was considering reducing my waste by installing grub and creating a partition just for syncing with -current.

I was wondering if anyone has tried it this way:

[grub] [install.iso partition] [OpenBSD]

This way I can boot the iso - update the box and boot into OpenBSD w/o having to burn a cd. Plus this is an older laptop and syncing from cvs tree is not ideal.

Thoughts?
Reply With Quote
  #2   (View Single Post)  
Old 4th April 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Default

Hi @tls !
Is it necessary ? Why wouldn't you upgrade via ftp simply ?
Reply With Quote
  #3   (View Single Post)  
Old 4th April 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Copy new bsd.rd to your root directory

Reboot.

Type the filename at the "boot>" prompt.
Reply With Quote
  #4   (View Single Post)  
Old 4th April 2012
tls tls is offline
Port Guard
 
Join Date: Feb 2012
Posts: 22
Default

Quote:
Originally Posted by jggimi View Post
Copy new bsd.rd to your root directory

Reboot.

Type the filename at the "boot>" prompt.
This seems a much saner route - thank you.
Reply With Quote
  #5   (View Single Post)  
Old 5th April 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by tls View Post
...was wondering if it is good practice to do a sysmerge even if the base install and -current is days old apart?
It sounds like you are thinking sysmerge(8) downloads files from elsewhere -- getting the latest available. This isn't what sysmerge does, nor is this the intended problem sysmerge addresses.

sysmerge(8) does all work locally. It saves changes to common configuration files (usually those residing in /etc...) in a temporary directory, & points out differences to those configuration files already in use. sysmerge also will merge the differences at your direction. The problem sysmerge addresses is that new configuration files may leave the system in an unknown state, so instead of the upgrade process leaving you with a non-working system, the Perl script points out what differences exist, & allows you to make the configuration changes whenever you choose.

So if you installed a snapshot three weeks ago, & tomorrow decide to deal with the differences in configuration files, everything that is needed already resides on your filesystem. Nothing more is going to be downloaded.
Reply With Quote
  #6   (View Single Post)  
Old 5th April 2012
tls tls is offline
Port Guard
 
Join Date: Feb 2012
Posts: 22
Default

Quote:
Originally Posted by ocicat View Post
It sounds like you are thinking sysmerge(8) downloads files from elsewhere -- getting the latest available. This isn't what sysmerge does, nor is this the intended problem sysmerge addresses.

sysmerge(8) does all work locally. It saves changes to common configuration files (usually those residing in /etc...) in a temporary directory, & points out differences to those configuration files already in use. sysmerge also will merge the differences at your direction. The problem sysmerge addresses is that new configuration files may leave the system in an unknown state, so instead of the upgrade process leaving you with a non-working system, the Perl script points out what differences exist, & allows you to make the configuration changes whenever you choose.

So if you installed a snapshot three weeks ago, & tomorrow decide to deal with the differences in configuration files, everything that is needed already resides on your filesystem. Nothing more is going to be downloaded.
Yes, I had already updated my system and my understanding was if any configuration changes it would be wise to run sysmerge after upgrading to -current in order to keep configurations correct?

But as you said I am free to make the adjustment when I deem fit, thank you.
Reply With Quote
  #7   (View Single Post)  
Old 5th April 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Quote:
But as you said I am free to make the adjustment when I deem fit, thank you.
In July and Aug 2011, sysmerge execution was an automated component of the bsd.rd upgrade script. These days, the script merely recommends running sysmerge before placing the upgraded system into production.

The reason for the recommendation is the possibility that a significant change will render extant /etc or /var configuration files inoperative. Major changes of this type will be documented, however, and therefore it is wise to review the Following -current FAQ prior to upgrading to a new snapshot or rebuilding from source.

Last edited by jggimi; 5th April 2012 at 12:58 PM. Reason: removed a duplicate sentence.
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
GRUB 1.99 enables booting from Btrfs and ZFS partitions J65nko News 1 24th June 2011 07:59 AM
grub on obsd dennky OpenBSD Packages and Ports 9 14th January 2010 08:21 PM
Booting netBSD 5 install failed dk_zero-cool NetBSD Installation and Upgrading 10 5th May 2009 12:23 PM
GRUB on previous Linux installation indiocolifa FreeBSD Installation and Upgrading 2 26th March 2009 06:50 AM
Having trouble adding 7.0 to GRUB 0.97 Arenlor FreeBSD General 4 26th June 2008 01:02 AM


All times are GMT. The time now is 10:17 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