Vault9 Modding Vault9 Graphics Vault9 Code Vault9 Net Vault9 OS Vault9 Gaming Vault9 ChillZone Vault9 Tech Vault9 Archives       Vault9 Global9       Vault9 Fusion     Vault9 Blog     Vault9 Network          
 

Please Note!

This is a read-only board, no new topics or registrations are allowed. The OS Vault has moved to http://forums.vault9.net - Be sure to find more information there!


 
Reply to this topicStart new topic
> Build World, 5.1 stable
post Jul 24 2003, 11:37 PM
Post #1


wild bastard
Group Icon

Group: Administration
Posts: 1,405
Joined: 4-June 02
From: Johannesburg South Africa
Member No.: 1

Sex: Male



how does one do a proper buildworld to upgrade to 5.1 stable?

can you post a complete step by step guide for me please?


--------------------
User is offlineProfile CardPM
+Quote PostGo to the top of the page
post Jul 24 2003, 11:37 PM
Post #


Member


Group: Administration

Joined: Today, 07:52 PM





Quote PostGo to the top of the page
post Jul 25 2003, 12:10 AM
Post #2


GO NINJA GO NINJA GO!
Group Icon

Group: Regular Member
Posts: 1,568
Joined: 11-November 02
From: Randburg, South Africa
Member No.: 720

Sex: Male



there's a complete step by step guide installed with your installation. its called the freebsd handbook. But since its so easy, i'll enlighten you.

First cvsup your sources. For some stupid reason, the stable-supfile in freebsd5 by default, will try to cvsup the 4.X source, efectively deleting the 5.X source. idoits. anyways, to fix this, copy the /usr/share/examples/cvsup/stable-supfile to /root/ (or any other directory), and open it with your fav editor. Go the the line that reads
CODE
*default release=cvs tag=RELENG_4

and change it to read
CODE
*default release=cvs tag=RELENG_5_1

also change the default host.

save and exit and run cvsup stable-supfile. It will take a while to complete.

after this, do the following:
CODE

cd /usr/src
make cleandir
make buildworld
make buildkernel
make installkernel
make installworld
reboot

and you will have the latest stable release available.


--------------------
"I felt powerful for 5 minutes..."
User is offlineProfile CardPM
+Quote PostGo to the top of the page
post Jul 25 2003, 01:43 AM
Post #3


wild bastard
Group Icon

Group: Administration
Posts: 1,405
Joined: 4-June 02
From: Johannesburg South Africa
Member No.: 1

Sex: Male



ta shweet, I had already edited my stable-supfile to include
QUOTE
tag=RELENG_5_1


someone told me to edit it as such;
QUOTE
tag=*
to get teh cutting, bleeding edge...
but I just want my box running stable. shweet!

oh and should i cvsup ports tree before I begin?
User is offlineProfile CardPM
+Quote PostGo to the top of the page
post Jul 25 2003, 02:35 AM
Post #4


Banned
Group Icon

Group: Regular Member
Posts: 374
Joined: 16-January 03
From: Durban
Member No.: 855




ahh cool.

I did a build world for jails... it wasnt much more than "make world DEST_DIR=/jails/192.168.0.7" or something
User is offlineProfile CardPM
+Quote PostGo to the top of the page
post Jul 25 2003, 05:32 AM
Post #5


wild bastard
Group Icon

Group: Administration
Posts: 1,405
Joined: 4-June 02
From: Johannesburg South Africa
Member No.: 1

Sex: Male



errrr APPARENTLY to get 5.1 stable your tag files are supposed to be RELENG_5 and not RELENG_5_1
User is offlineProfile CardPM
+Quote PostGo to the top of the page
post Jul 25 2003, 05:45 AM
Post #6


GO NINJA GO NINJA GO!
Group Icon

Group: Regular Member
Posts: 1,568
Joined: 11-November 02
From: Randburg, South Africa
Member No.: 720

Sex: Male



RELENG_5 is for 5.0 apparently
so RELENG_5_1 is for 5.1

and the tag=* is for -CURRENT. not recommended unless you really know what you are doing. Not even i want to bother with that. Whats the use anyhow.
User is offlineProfile CardPM
+Quote PostGo to the top of the page
post Jul 28 2003, 03:13 AM
Post #7


Phreakin' Hacker
Group Icon

Group: Regular Member
Posts: 15
Joined: 18-May 02
From: Johannesburg
Member No.: 253




aquadog seems to have forgotten mergemaster. It is not 100% necessary, however there might be some changes in the /etc tree which would make your system missbehave(not boot?). So read the man page first because it can be a bit tricky to use.

Oh and btw, if you are upgrading between major release versions (4.x to 5.x) you need to run mergemaster -p in order to make changes in /etc necessary for the successful completion of a buildworld.
User is offlineProfile CardPM
+Quote PostGo to the top of the page
post Jul 28 2003, 03:24 AM
Post #8


GO NINJA GO NINJA GO!
Group Icon

Group: Regular Member
Posts: 1,568
Joined: 11-November 02
From: Randburg, South Africa
Member No.: 720

Sex: Male



o yeah. totally slipped my mind. Also, when running mergemaster, dont be a dolt and replace your master.passwd!
User is offlineProfile CardPM
+Quote PostGo to the top of the page
post Jul 29 2003, 03:40 AM
Post #9


wild bastard
Group Icon

Group: Administration
Posts: 1,405
Joined: 4-June 02
From: Johannesburg South Africa
Member No.: 1

Sex: Male



ok explain that over?

when do I run mergemaster and how do I prevent the master/passwd from being overwritten?

and I believe that mergemaster must be run in single user mode
when in the sequence do I run it?
User is offlineProfile CardPM
+Quote PostGo to the top of the page
post Jul 29 2003, 05:02 AM
Post #10


Phreakin' Hacker
Group Icon

Group: Regular Member
Posts: 15
Joined: 18-May 02
From: Johannesburg
Member No.: 253




It is preffered to run mergemaster in single user mode. When it asks you to Install new master.passwd, keep the old one or merge both, select merge.

Then it will show you line by line the differences between your file and the one from the sources. Use 'L' and 'R' to select weither you wish to use the line from the left or the right file (run it and you'll see what I am talking about).

There are a few other files I can think of that shouldn't be replaced but rather merged with the newer versions - groups, sshd_config, crontabs and anything else you might have customized.
User is offlineProfile CardPM
+Quote PostGo to the top of the page
post Jul 29 2003, 06:18 AM
Post #11


wild bastard
Group Icon

Group: Administration
Posts: 1,405
Joined: 4-June 02
From: Johannesburg South Africa
Member No.: 1

Sex: Male



so when do I run mergemaster?

after the buildworld? or before?
User is offlineProfile CardPM
+Quote PostGo to the top of the page
post Jul 29 2003, 06:21 AM
Post #12


Phreakin' Hacker
Group Icon

Group: Regular Member
Posts: 15
Joined: 18-May 02
From: Johannesburg
Member No.: 253




run mergemaster -p before a buildworld and mergemaster after.
mergemaster -p installs files in /etc that might be necessary for a successful buildworld
User is offlineProfile CardPM
+Quote PostGo to the top of the page
post Aug 27 2003, 01:28 AM
Post #13


Lilium Inter Spinas
Group Icon

Group: Administration
Posts: 270
Joined: 24-June 02
From: Johannesburg, ZA
Member No.: 383

Sex: Male



so, here it is on the silver platter for you.
Make your lives a lot easier when merging and yes, you should do a mergemaster -p before the build..

First run
mergemaster -a -i
That will delete all the stuff that matches your files id's from temproot, aswell as install any missing files (new shit) and delete them from the temproot.

Then you can
mergemaster -v

Say yes to using the existing temproot - means less work cuz half the shit is already gone - then go step by step through the files, merging/deleting/installing.
Afterwards make monkey love to a bitch and make her call you Dave.

RELENG tags work as follows (if I recall):
RELENG_5 probably will get you 5.1 - RELENG_5_1 should get you 5.1-RELEASE, RELENG_5 right now will probably get you 5.1-STABLE or 5.2-PRE or something along the lines. See, stable is a moving target, under development - changes get made.. RELEASE-p* only does patches, like sendmail vuln or something, I reckon you stick with RELEASE's, not STABLE. In order to get a release you just change the RELENG tag to its release - RELENG_4_7 = 4.7-RELEASE-p11

GOSU!@$#!
Don't reply to me - I never read this shit


--------------------
User is offlineProfile CardPM
+Quote PostGo to the top of the page

Reply to this topicStart new topic

Collapse

> Similar Topics

Topic Title Replies Topic Starter Views Last Action
Linux News->Linux Journal, January 2006: Build a Home Terabyte Back 0 Vault9 302 Nov 29 2005, 01:00 AM
Last post by: Vault9
Ibm Storage 'bricks' Build Toward Petabyte Level 0 Pan 288 Dec 19 2004, 04:19 PM
Last post by: Pan
Everything I Need To Build A Simple Website 17 pietertjie 696 Jul 15 2004, 10:41 AM
Last post by: Gorlock
You Want 2 Build What? 20 Ravilj 1,623 May 26 2004, 12:22 PM
Last post by: Ravilj
Wanna Build A Small Pc 2 solo 406 Apr 7 2004, 04:32 AM
Last post by: BaRoN


 



- Lo-Fi Version Time is now: 19th March 2010 - 07:52 PM
Privacy Policy
South Africa's Top Sites Kinetiq