Upgrading to 6.1 (cvsup)

2006-05-09 Thread John Cruz
So I want to upgrade to 6.1, but I've never used cvsup before and all 
the documentation is confusing as can be. Would it be easier to download 
the install mediums and do an upgrade install or is cvsup the better 
way? if so how do I go about it? the hanbook page on this is somewhat 
confusing, which is why i'm resorting to posts.


Thanks,

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


Upgrading to 6.1 (cvsup)

2006-05-09 Thread Robert Huff

John Cruz writes:

  So I want to upgrade to 6.1, but I've never used cvsup before and all 
  the documentation is confusing as can be.

What particularly of cvsup do you find confusing?
On the larger question: it /may/ be easier to do a binary
upgrade.  On the other hand, learning about the
cvsup/build{world.kernal} process will teach you new and interesting
things about FreeBSD, and make it easier to recover should something
go Horribly Wrong.


Robert Huff

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


Re: Upgrading to 6.1 (cvsup)

2006-05-09 Thread Daniel A.

Which one of the handbook pages are you looking at?
Well, anyway. This is what I did (Mind you, my way might have been the
wrong way. This is my first time upgrading a FreeBSD installation,
too).

# cp /usr/share/examples/cvsup/stable-supfile /root/
- Edit the /root/stable-supfile file to use a mirror near you.
# cvsup /root/stable-supfile
# cd /usr/src/sys/i386/conf/
# cp GENERIC MYKERNEL
- Edit MYKERNEL to reflect your needs (You could remove some of the
device drivers you dont need)
# cd /usr/src
# make buildworld
# make buildkernel KERNCONF=MYKERNEL
# make installkernel
# reboot
Now, boot into single-user mode and
# mergemaster -p
# make installworld
# mergemaster
# reboot

For more details, read
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html


On 5/9/06, John Cruz [EMAIL PROTECTED] wrote:

So I want to upgrade to 6.1, but I've never used cvsup before and all
the documentation is confusing as can be. Would it be easier to download
the install mediums and do an upgrade install or is cvsup the better
way? if so how do I go about it? the hanbook page on this is somewhat
confusing, which is why i'm resorting to posts.

Thanks,

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


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


Re: Upgrading to 6.1 (cvsup)

2006-05-09 Thread John Cruz

Robert Huff wrote:

John Cruz writes:

  
 So I want to upgrade to 6.1, but I've never used cvsup before and all 
 the documentation is confusing as can be.



What particularly of cvsup do you find confusing?
On the larger question: it /may/ be easier to do a binary
upgrade.  On the other hand, learning about the
cvsup/build{world.kernal} process will teach you new and interesting
things about FreeBSD, and make it easier to recover should something
go Horribly Wrong.


Robert Huff
  
Specifically it would be the supfile stuff, everything I've been reading 
says if you put in the wrong thing here, you can screw the whole system 
up, and there aren't a lot of concrete examples, just stuff you can add 
to it. So I guess what I need is a supfile example of everything I need 
to upadate my kernel and library sources and what not, then I can do a 
make world on it later.


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


Re: Upgrading to 6.1 (cvsup)

2006-05-09 Thread John Nielsen
On Tuesday 09 May 2006 13:06, John Cruz wrote:
 So I want to upgrade to 6.1, but I've never used cvsup before and all
 the documentation is confusing as can be. Would it be easier to download
 the install mediums and do an upgrade install or is cvsup the better
 way? if so how do I go about it? the hanbook page on this is somewhat
 confusing, which is why i'm resorting to posts.

cvsup is definitely the preferred way to upgrade, and is very easy to use, 
especially once you get it set up the first time.

You need to:

1) Make sure you have cvsup installed
pkg_add -r cvsup-without-gui
OR
cd /usr/ports/net/cvsup-without-gui  make install clean
(the latter assumes you have a ports tree on your system)

2) Create a supfile appropriate for your situation (and location).  Here is 
mine:

*default host=cvsup12.freebsd.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_6
*default delete use-rel-suffix
*default compress
src-all

Change the host to a mirror close to you, and change the base to wherever you 
want the cvsup metadata files stored.  Also change the tag to RELENG_6_1 if 
you want the 6.1 branch instead of 6-STABLE.  For more details, see the 
examples in /usr/share/examples/cvsup and the handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

All that the above really says is to put the RELENG_6 branch of 
the src-all collection into /usr (and actually into /usr/src).

3) Run it
cvsup /path/to/your/supfile

That's it!  In the future, you just have to repeat step 3 to get the latest 
sources from your selected CVS branch.  If you want to move to a different 
branch in the future (6-STABLE or 6.2 when that happens), it's just a matter 
of changing the tag in your supfile.

Once you have the sources, you have to build and reinstall your kernel and 
world to actually update your system, but that's covered pretty well in the 
handbook and elsewhere.

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


Re: Upgrading to 6.1 (cvsup)

2006-05-09 Thread John Cruz

John Nielsen wrote:
cvsup is definitely the preferred way to upgrade, and is very easy to use, 
especially once you get it set up the first time.


You need to:

1) Make sure you have cvsup installed
pkg_add -r cvsup-without-gui
OR
cd /usr/ports/net/cvsup-without-gui  make install clean
(the latter assumes you have a ports tree on your system)

2) Create a supfile appropriate for your situation (and location).  Here is 
mine:


*default host=cvsup12.freebsd.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_6
*default delete use-rel-suffix
*default compress
src-all

Change the host to a mirror close to you, and change the base to wherever you 
want the cvsup metadata files stored.  Also change the tag to RELENG_6_1 if 
you want the 6.1 branch instead of 6-STABLE.  For more details, see the 
examples in /usr/share/examples/cvsup and the handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

All that the above really says is to put the RELENG_6 branch of 
the src-all collection into /usr (and actually into /usr/src).


3) Run it
cvsup /path/to/your/supfile

That's it!  In the future, you just have to repeat step 3 to get the latest 
sources from your selected CVS branch.  If you want to move to a different 
branch in the future (6-STABLE or 6.2 when that happens), it's just a matter 
of changing the tag in your supfile.


Once you have the sources, you have to build and reinstall your kernel and 
world to actually update your system, but that's covered pretty well in the 
handbook and elsewhere.


JN
Aah, thank you! I just need to learn what all that stuff means in the 
supfile but it's an example I can work with. So that will over-write 
everything in /usr/src with the new versions then? I'll start the 
download now, and tomorrow when I get my new server MoBo i'll to the 
build world thing and should be all set. gracias.

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


RE: Upgrading to 6.1 (cvsup)

2006-05-09 Thread Zimmerman, Eric
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of John Cruz
 Sent: Tuesday, May 09, 2006 12:06 PM
 Cc: freebsd-questions@freebsd.org
 Subject: Upgrading to 6.1 (cvsup)
 
 So I want to upgrade to 6.1, but I've never used cvsup before and all
 the documentation is confusing as can be. Would it be easier to
download
 the install mediums and do an upgrade install or is cvsup the better
 way? if so how do I go about it? the hanbook page on this is somewhat
 confusing, which is why i'm resorting to posts.
 
 Thanks,

Here is the process I use (just did it this morning).  I gathered this
from a few places and wrote it up for my own reference. Hope it helps

http://mikestammer.com/doku.php?id=updateos
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading to 6.1 (cvsup)

2006-05-09 Thread Nikolas Britton

On 5/9/06, John Cruz [EMAIL PROTECTED] wrote:

So I want to upgrade to 6.1, but I've never used cvsup before and all
the documentation is confusing as can be. Would it be easier to download
the install mediums and do an upgrade install or is cvsup the better
way? if so how do I go about it? the hanbook page on this is somewhat
confusing, which is why i'm resorting to posts.



You can use ether method but cvsup is best. Use my cvsup file for an example:

# more ~/standard-supfile
*default host=cvsup12.us.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_6_1
*default delete use-rel-suffix
*default compress
src-all

After you have your cvsup file done run cvsup:

cvsup -g -L 2 ~/standard-supfile

Then cd into /usr/src and run:
make buildworld  make buildkernel  make installkernel

Note1: unless you've edited /etc/make.conf  it will build the generic
kernel, this is a good thing...

now reboot. when the system comes back up login and run mergemaster
-p, then go into single user mode by typing 'shutdown now'.

Now install world:
# cd /usr/src
# make installworld

The last step is to run mergemaster again, without the -p flag. now
reboot, your done. It's becomes simple after you've done it a few
times... this was just my high level overview so reread the handbook
for all the details:

http://www.freebsd.org/handbook/cvsup.html
http://www.freebsd.org/handbook/synching.html
http://www.freebsd.org/handbook/makeworld.html



--
BSD Podcasts @:
http://bsdtalk.blogspot.com/
http://freebsdforall.blogspot.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 to 6.1 (cvsup)

2006-05-09 Thread Nikolas Britton

On 5/9/06, John Nielsen [EMAIL PROTECTED] wrote:

[snipped]



2) Create a supfile appropriate for your situation (and location).  Here is
mine:

*default host=cvsup12.freebsd.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_6
*default delete use-rel-suffix
*default compress
src-all


If he cvsups using that release tag he will get 6-STABLE, not 6.1-RELEASE.



--
BSD Podcasts @:
http://bsdtalk.blogspot.com/
http://freebsdforall.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fwd: Upgrading to 6.1 (cvsup)

2006-05-09 Thread Bryan Curl

John,
Sorry I think I sent this direct only this is being sent to list.

-- Forwarded message --
From: Bryan Curl [EMAIL PROTECTED]
Date: May 9, 2006 11:20 AM
Subject: Re: Upgrading to 6.1 (cvsup)
To: [EMAIL PROTECTED]

I found this tutorial very helpfull on my first upgrade.

http://www.taosecurity.com/keeping_freebsd_applications_up-to-date.html

But I must warn you that this process can take hours-days to complete after
compiling the entire system from source code and installing, depending of
course on how big your setup is and how fast your box is.

On the other hand, a two hour download and a week of configuring can be just
as grueling.

Your choice.


On 5/9/06, John Cruz [EMAIL PROTECTED] wrote:


So I want to upgrade to 6.1, but I've never used cvsup before and all
the documentation is confusing as can be. Would it be easier to download
the install mediums and do an upgrade install or is cvsup the better
way? if so how do I go about it? the hanbook page on this is somewhat
confusing, which is why i'm resorting to posts.

Thanks,

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





--
--
Bryan
bc3910 'at' gmail 'dot' com


--
--
Bryan
bc3910 'at' gmail 'dot' com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fwd: Upgrading to 6.1 (cvsup)

2006-05-09 Thread RW
On Tuesday 09 May 2006 19:33, Bryan Curl wrote:

 I found this tutorial very helpfull on my first upgrade.

 http://www.taosecurity.com/keeping_freebsd_applications_up-to-date.html

 But I must warn you that this process can take hours-days to complete after
 compiling the entire system from source code and installing, depending of
 course on how big your setup is and how fast your box is.


Unless UPDATING say otherwise, or you are updating across a major version 
change, there is no particular need to rebuild ports. Building the base 
system should take hours rather than days.


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


Re: Upgrading to 6.1 (cvsup)

2006-05-09 Thread Miguel

Nikolas Britton wrote:


On 5/9/06, John Nielsen [EMAIL PROTECTED] wrote:

[snipped]



2) Create a supfile appropriate for your situation (and location).  
Here is

mine:

*default host=cvsup12.freebsd.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_6
*default delete use-rel-suffix
*default compress
src-all



If he cvsups using that release tag he will get 6-STABLE, not 
6.1-RELEASE.





is that info (tags meaning) available somewhere in the handbook?, im 
running 6.1-RC1 and want to upgrade to 6.1-RELEASE, or better to 
6.1-STABLE, what tag should i use?

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


RE: Upgrading to 6.1 (cvsup)

2006-05-09 Thread Zimmerman, Eric
 is that info (tags meaning) available somewhere in the handbook?, im
 running 6.1-RC1 and want to upgrade to 6.1-RELEASE, or better to
 6.1-STABLE, what tag should i use?
 RELENG???
 ---

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


Re: Upgrading to 6.1 (cvsup)

2006-05-09 Thread John Nielsen
On Tuesday 09 May 2006 15:48, Miguel wrote:
 Nikolas Britton wrote:
  On 5/9/06, John Nielsen [EMAIL PROTECTED] wrote:
  2) Create a supfile appropriate for your situation (and location).
  Here is
  mine:
 
  *default host=cvsup12.freebsd.org
  *default base=/var/db
  *default prefix=/usr
  *default release=cvs tag=RELENG_6
  *default delete use-rel-suffix
  *default compress
  src-all
 
  If he cvsups using that release tag he will get 6-STABLE, not
  6.1-RELEASE.

 is that info (tags meaning) available somewhere in the handbook?, im
 running 6.1-RC1 and want to upgrade to 6.1-RELEASE, or better to
 6.1-STABLE, what tag should i use?
 RELENG???

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html

RELENG_6_1 == tag for FreeBSD 6.1 security branch
RELENG_6 == tag for FreeBSD 6-STABLE development branch.

If you want 6.1-RELEASE use the first one.  If you want 6.1-STABLE use the 
second one.

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


Re: Upgrading to 6.1 (cvsup)

2006-05-09 Thread Robert Huff

John Cruz writes:

  What particularly of cvsup do you find confusing?
   
  Specifically it would be the supfile stuff, everything I've been
  reading says if you put in the wrong thing here, you can screw
  the whole system up,

A bad supfile will mess up _the source tree_; one could
possibly screw up the system by setting prefix=/ ... but that's
rather farfetched.
And the cure for a garbled source tree is a) put the right
stuff in the supfile then b) rm -rf /usr/src/* and c) re-run cvsup.


Robert Huff

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


Re[2]: Upgrading to 6.1 (cvsup)

2006-05-09 Thread Daniel Gerzo
Hello Miguel,

Tuesday, May 9, 2006, 9:48:00 PM, you typed the following:

 Nikolas Britton wrote:

 is that info (tags meaning) available somewhere in the handbook?, im 
 running 6.1-RC1 and want to upgrade to 6.1-RELEASE, or better to 
 6.1-STABLE, what tag should i use?
 RELENG???

RELENG_6 = 6.1-STABLE
RELENG_6_1 = 6.1-RELEASE

-- 
Sincerely,
  Daniel Gerzo

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


Re: Upgrading to 6.1 (cvsup)

2006-05-09 Thread Miguel

John Nielsen wrote:


On Tuesday 09 May 2006 15:48, Miguel wrote:
 


Nikolas Britton wrote:
   


On 5/9/06, John Nielsen [EMAIL PROTECTED] wrote:
 


2) Create a supfile appropriate for your situation (and location).
Here is
mine:

*default host=cvsup12.freebsd.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_6
*default delete use-rel-suffix
*default compress
src-all
   


If he cvsups using that release tag he will get 6-STABLE, not
6.1-RELEASE.
 


is that info (tags meaning) available somewhere in the handbook?, im
running 6.1-RC1 and want to upgrade to 6.1-RELEASE, or better to
6.1-STABLE, what tag should i use?
RELENG???
   



http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html

RELENG_6_1 == tag for FreeBSD 6.1 security branch
RELENG_6 == tag for FreeBSD 6-STABLE development branch.

If you want 6.1-RELEASE use the first one.  If you want 6.1-STABLE use the 
second one.


JN
 



Great, i will upgrade today,
regards,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]