BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 17th, 2001, 01:57 AM
mezz mezz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 310 mezz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 12
problem with merge /etc during buildworld

The CVSUP, recompile Kernel, buildworld and installworld have been successful! I was surpised, it's very long one!! It was almost six hours to finish. Is there any way, I can make it more quickly? Hopeful, you are glad to change what I had done. I already wrote it down on note and put in here. It's below..

Anyway, it went so smoothly, but I have a very simple problem. I am sure, it's my fault by incorrect the merge in /etc.. Now, everything have been overwritten and whole my old setting are gone such as rc.conf and others. I am wondering, what have I done wrong?

Here, what I had done...

-=Update CVSUP=-
# cd /usr/ports/net/cvsup && make && make install && make clean

Create /usr/local/etc/cvsup/stable-supfile with the following context:
*default host=cvsup8.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_4
*default delete use-rel-suffix
*default compress
src-all

# /usr/local/bin/cvsup -g -L 2 /usr/local/etc/cvsup/stable-supfile

-=Recompile Kernel=-
# cd /usr/src/sys/i386/conf
# cp GENERIC MYKERNEL
# cd /usr/src
# make buildkernel KERNCONF=MYKERNEL
# make installkernel KERNCONF=MYKERNEL

-=Reboot=-
# shutdown -r now

-=Buildworld=-
# mount -u /
# mount -a -t ufs
# swapon -a
# cp /etc/defaults/make.conf /etc/make.conf

Edit /etc/make.conf
CFLAGS= -O -pipe
NOPROFILE= true
USA_RESIDENT= yes

# cd /usr/obj
# chflags -R noschg *
# rm -rf *

# cd /usr/src
# make buildworld

-=Installworld=-
# cd /usr/src
# make installworld

-=Update /etc=-
# cp -Rp /etc /etc.old
# /usr/sbin/mergemaster -v -w 132

-=Update /dev=-
# cd /dev
# /bin/sh MAKEDEV all

-=Update /stand=-
# cd /usr/src/release/sysinstall && make clean && make all install

-=Reboot=-
# shutdown -r now

-=DONE=-

Reply With Quote
  #2  
Old November 17th, 2001, 03:12 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> it's my fault by incorrect the merge in /etc

Here is what the handbook says:

You need to build a dummy set of directories to install the new /etc and other files into. /var/tmp/root is a reasonable choice, and there are a number of subdirectories required under this as well.

# mkdir /var/tmp/root
# cd /usr/src/etc
# make DESTDIR=/var/tmp/root distrib-dirs distribution

Personally, I don't trust mergemaster and I would compare the diffs and merge the change by hand.

Reply With Quote
  #3  
Old November 17th, 2001, 03:36 PM
mezz mezz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 310 mezz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 12
Thanks freebsd for help!

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > problem with merge /etc during buildworld

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap