BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
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:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old June 17th, 2002, 09:31 AM
blackbird's Avatar
blackbird blackbird is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Location: USA
Posts: 62 blackbird User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Question 4.5 to 4.6

update ports is easy and upgrade each package via ports is also easy. but I am still not clear about how to upgrade from one version to another? Is it safe?

Reply With Quote
  #2  
Old June 17th, 2002, 10:07 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
Go read Ch.19 of the handbook.

>> Is it safe?

Unlike binary upgrade in Linux which is somewhat unsafe and unreliable, in *BSDs it's relatively safe to upgrade from one version to another via so-called buildworld because of its flexibility.

If you don't have enough gut to give buildworld a try, then you don't qualify to use BSDs.

Reply With Quote
  #3  
Old June 20th, 2002, 03:42 PM
estrabd's Avatar
estrabd estrabd is offline
o0o.o0o
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: m00n
Posts: 184 estrabd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 4 m 48 sec
Reputation Power: 8
Send a message via ICQ to estrabd Send a message via AIM to estrabd Send a message via Yahoo to estrabd
Been in your shoes...

assuming you have cvsup'd the source and are in as root:

1) go into the src directory ...
% cd /usr/src

2) build the new componants (does not install)
% make buildworld

3) build new kernel (assuming GENERIC)
%cd sys/i386/ conf
%config GENERIC
%cd ../compile/GENERIC
%make depend
%make
%make install

4) reboot into single user mode
%reboot

5) on reboot, hit something OTHER than ENTER to get to the boot prompt.
> boot -s

6) choose shell (just hit ENTER)

7) make filesystem writeable
#mount -u /

8) run installworld
#make installworld

9) run mergemaster -- I do it with the -a flag so it doesn't try to diff the settings files
#mergemaster -a

10) reboot
#reboot

If you are doing this remotely, there is no way to do it in singal user mode. Boot normally and re-connect. I did this, for example, with a webserver, so I shutdown httpd and mysqld before running installworld.

Hope this helps.

Brett

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > 4.5 to 4.6


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway