Re: Upgrading from 6.0 to 6.1

2006-05-12 Thread Kevin Kinsey

[EMAIL PROTECTED] wrote:



Thanks for the input, Eric and Kevin!  I guess I'll start the process 
this evening and

maybe everything will be through compiling by Monday in time for work! :)

Thanks again!



I've got the process in 2 scripts, and a brief evening is generally
all that's required for the cvsup/buildworld and friends.  Buildworld
is two hours plus, IIRC, on my 1.7924 GHz desktop; buildkernel about
35 minutes on GENERIC, installkernel 1 minute.  Since installworld is
after the break/reboot, I don't know the exact time.  It appears the
last cycle was about 4 hours total, judging from the email timestamps,
but that's with (probably), me working in X in the background, a pause
between finishing kernel build and the reboot, etc.

Now, "portupgrade -arR", OTOH, is a two-day+ to-do, at least
if you only do it every 50-60 days or so.  But that's a whole
'nother thread

Kevin Kinsey

--
Parallel lines never meet, unless you bend one or both of them.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Upgrading from 6.0 to 6.1

2006-05-12 Thread Derek Ragona
I have done both the binary upgrade and cvsup'd many times.  Which is 
better depends on your time and what version you are moving from and 
to.  If you do a binary upgrade, you will only be at the  release of the 
version, say 6.1, but with any current security releases.  I typically 
upgrade a system to the base release using a binary upgrade, then will 
cvsup then build world, etc. to have it be current.


-Derek

At 12:15 PM 5/12/2006, [EMAIL PROTECTED] wrote:

This has possibly been discussed a number of times, and if it has, I
apologize.  Here is my situation:

I would like to upgrade my existing 6.0-SECURITY system to 6.1-RELEASE
and continue using freebsd-update to keep my system on the up and up.
I read through the upgrade instructions on disk #1 of the 6.1 release
CD and wondered if that would be the easiest way to upgrade?

From what I read, all of the configuration files for 6.1 would be in
the /etc/upgrade folder.  Would they have to stay there?  Would 6.1,
from this point forward, always have the /etc folder in /etc/upgrade?
Do I copy new pieces back to /etc for the production system?  I read
about merging but does it merge from /etc to /etc/upgrade?

Is another scenario to do the cvsup method and go that route?  If I
did, would I be able to use freebsd-update from that point forward or
would I be limited to only using the cvsup method?

I know both require merging config files and what not, which makes me
a little nervous, but I would like the easiest method available.  I
love using FreeBSD and use it primarily on my laptop so compiling the
entire OS on there may take a while so obviously the binary upgrade
looks good.  I am just unsure about the /etc/upgrade folder and how I
get all of that back to /etc.

I am somewhat a "noobert" in FreeBSD... I have been using it for less
than a year and really enjoy it over my past Linux experiences.
However, things like this make me nervous.  This is my first upgrade
of a machine I use *all* the time.

Thanks in advance!

Jeff Cross
http://www.averageadmins.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.




--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Upgrading from 6.0 to 6.1

2006-05-12 Thread jeff . cross

Quoting "Zimmerman, Eric" <[EMAIL PROTECTED]>:


Freebsd-update works on my box (but theres been no updates as of yet).

As long as you track RELEASE it should work fine


-Original Message-
From: [EMAIL PROTECTED]

[mailto:[EMAIL PROTECTED]

Sent: Friday, May 12, 2006 2:10 PM
To: Zimmerman, Eric
Subject: RE: Upgrading from 6.0 to 6.1

Quoting "Zimmerman, Eric" <[EMAIL PROTECTED]>:

> Try this
>
> https://mikestammer.com/doku.php?id=updateos
>
> its what I wrote up for myself when I update
>
> worked for me from 6 to 6.1 and should meet your needs just fine
>
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
>> [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
>> Sent: Friday, May 12, 2006 12:15 PM
>> To: [EMAIL PROTECTED]
>> Cc: [EMAIL PROTECTED]
>> Subject: Upgrading from 6.0 to 6.1
>>
>> This has possibly been discussed a number of times, and if it has,

I

>> apologize.  Here is my situation:
>>
>> I would like to upgrade my existing 6.0-SECURITY system to

6.1-RELEASE

>> and continue using freebsd-update to keep my system on the up and

up.

>> I read through the upgrade instructions on disk #1 of the 6.1

release

>> CD and wondered if that would be the easiest way to upgrade?
>>
>>  From what I read, all of the configuration files for 6.1 would be

in

>> the /etc/upgrade folder.  Would they have to stay there?  Would

6.1,

>> from this point forward, always have the /etc folder in

/etc/upgrade?

>> Do I copy new pieces back to /etc for the production system?  I

read

>> about merging but does it merge from /etc to /etc/upgrade?
>>
>> Is another scenario to do the cvsup method and go that route?  If I
>> did, would I be able to use freebsd-update from that point forward

or

>> would I be limited to only using the cvsup method?
>>
>> I know both require merging config files and what not, which makes

me

>> a little nervous, but I would like the easiest method available.  I
>> love using FreeBSD and use it primarily on my laptop so compiling

the

>> entire OS on there may take a while so obviously the binary upgrade
>> looks good.  I am just unsure about the /etc/upgrade folder and how

I

>> get all of that back to /etc.
>>
>> I am somewhat a "noobert" in FreeBSD... I have been using it for

less

>> than a year and really enjoy it over my past Linux experiences.
>> However, things like this make me nervous.  This is my first

upgrade

>> of a machine I use *all* the time.
>>
>> Thanks in advance!
>>
>> Jeff Cross
>> http://www.averageadmins.com/
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-
>> [EMAIL PROTECTED]"
>

Thanks!  I will give this a try. But, before I do, can I still use
freebsd-update to maintain my system from that point forward or will I
have to use the cvsup method of updating?

Jeff Cross
http://www.averageadmins.com/




Thanks for the input, Eric and Kevin!  I guess I'll start the process  
this evening and

maybe everything will be through compiling by Monday in time for work! :)

Thanks again!

Jeff Cross
http://www.averageadmins.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Upgrading from 6.0 to 6.1

2006-05-12 Thread Kevin Kinsey

[EMAIL PROTECTED] wrote:

This has possibly been discussed a number of times, and if it has, I 
apologize.  Here is my situation:




Apology accepted ;-)  :-D


I would like to upgrade my existing 6.0-SECURITY system to 6.1-RELEASE 
and continue using freebsd-update to keep my system on the up and up.  I 
read through the upgrade instructions on disk #1 of the 6.1 release CD 
and wondered if that would be the easiest way to upgrade?




The canonical way is via a cvsup/buildworld procedure as outlined
in the FreeBSD Handbook.

There is also a "binary upgrade" option in sysinstall(8); I've never
used it, never seen it discussed, and don't know how well it works.  I
have to assume it does until proven otherwise, though.

 From what I read, all of the configuration files for 6.1 would be in 
the /etc/upgrade folder.  Would they have to stay there?  Would 6.1, 
from this point forward, always have the /etc folder in /etc/upgrade?  
Do I copy new pieces back to /etc for the production system?  I read 
about merging but does it merge from /etc to /etc/upgrade?




mergemaster is the standard for upgrading /etc, though some other
options exist.  mergemaster, in general, takes the new source files
from /usr/src/etc, sets up a temporary /etc/ tree under /var/temproot,
and uses diff(1) to find/display differences between the two files.

Generally, you want to accept new files if you've never changed
the configuration file in question, and merge the old and new
files for those you have modified.  In some cases, the changes
to the new files are trivial, in which case you ignore the new
file or make the trivial changes manually later, if you're a
perfectionist.

IIRC, other tools exist to accomplish this, also.  You might search
the ports tree for "etcmerge", IIRC.

As for /etc/upgrade, it doesn't exist on my system.  Where
did you read about it?  Perhaps it's part of the sysinstall(8)
"binary upgrade" procedure?


Is another scenario to do the cvsup method and go that route?  If I did, 
would I be able to use freebsd-update from that point forward or would I 
be limited to only using the cvsup method?




I'm not yet familiar with Colin's fine update tool, but I don't
think that they would in any way conflict (unless you attempted
to use them simultaneously).  Please refer to freebsd-update
documentation for authoritative answers in this regard.

The difference is that freebsd-update is an attempt to replace
system binaries with a standard, secure set of newly-compiled
binaries.  cvsup/buildworld et al is an automated (well,
semi-automated) procedure for rebuilding the system from its
source code.


I know both require merging config files and what not, which makes me a 
little nervous, but I would like the easiest method available.  I love 
using FreeBSD and use it primarily on my laptop so compiling the entire 
OS on there may take a while so obviously the binary upgrade looks 
good.  I am just unsure about the /etc/upgrade folder and how I get all 
of that back to /etc.


Make a backup and go for it!

Kevin Kinsey

--
We should have a Vollyballocracy.  We elect a six-pack of presidents.
Each one serves until they screw up, at which point they rotate.
-- Dennis Miller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"