DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 7th May 2008
keithlybsd keithlybsd is offline
Port Guard
 
Join Date: May 2008
Posts: 10
Thanked 0 Times in 0 Posts
Default upgrade from 5.5 to 6.3

Anyone tried this?

Ya I know it is probably noobish, but still could save me some time.
Reply With Quote
  #2   (View Single Post)  
Old 7th May 2008
DrJ DrJ is offline
ISO Quartermaster
 
Join Date: Apr 2008
Location: Gold Country, CA
Posts: 506
Thanked 39 Times in 39 Posts
Default

Ages ago I updated from 5.4 to an early 6.0 beta. It went fine. Dru Lavigne has an article where she did the same:

http://www.oreillynet.com/sysadmin/b..._60_beta1.html

It should be very similar for you.
Reply With Quote
  #3   (View Single Post)  
Old 7th May 2008
keithlybsd keithlybsd is offline
Port Guard
 
Join Date: May 2008
Posts: 10
Thanked 0 Times in 0 Posts
Default

note I am not asking how, but rather did it work for them.
Reply With Quote
  #4   (View Single Post)  
Old 7th May 2008
keithlybsd keithlybsd is offline
Port Guard
 
Join Date: May 2008
Posts: 10
Thanked 0 Times in 0 Posts
Default

seems like the best bet will be to upgrade to 6 then upgrade again to 6.3.

Will give ago tomorrow.
Reply With Quote
  #5   (View Single Post)  
Old 8th May 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

The only really supported upgrade path between major versions is: upgrade to the latest X.y release, then update to Z.0, then update to Z.a.

IOW, go from 5.x to 5.5, then to 6.0, then to 6.3.

That's the only upgrade path that is guaranteed to work. You can skip over the upgrade to the x.0 release, but you do so at your own risk.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #6   (View Single Post)  
Old 26th May 2008
hitete hitete is offline
New User
 
Join Date: May 2008
Posts: 7
Thanked 0 Times in 0 Posts
Default Feedback keithlybsd ?

keithlybsd, have your upgraded yet ? Did it go smoothly ?.

I have a FreeBSD 5.5 mail server which I have to upgrade before May 31st. I have a custom kernel, do you think I can follow Dru's upgrade guide from 5.5 to 6.0 ?. Then upgrade from 6.0 to 6.3 ?.

Do you think the custom kernel would make these upgrades a little more tricky ?

Best regards
/HItete
Reply With Quote
  #7   (View Single Post)  
Old 27th May 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

When doing upgrades across major versions, always install the GENERIC kernel first and make sure things run with that. Once you have the OS installed fully (build|installworld, build|installkernel, mergemaster, reboot), then you can edit your kernel config file and build a custom kernel.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #8   (View Single Post)  
Old 27th May 2008
hitete hitete is offline
New User
 
Join Date: May 2008
Posts: 7
Thanked 0 Times in 0 Posts
Default Upgrade didn't go so well

Ok thanks for your reply.... But unfortunately I didn't come back to a generic kernel. I deactivated most of the options I had put in my custom kernel except for the pf ones and rebuilded world, then rebooted.


After that I tried Dru's howto (http://www.oreillynet.com/sysadmin/b..._60_beta1.html) and tried to update from 5.5 to RELENG_6, but I got this :


--------------------------------------------
===> sbin/ipf/libipf (obj)
/usr/obj/usr/src/sbin/ipf/libipf created for /usr/src/sbin/ipf/libipf
===> sbin/ipf/ipf (obj)
mkdir: /usr/obj/usr/src/sbin/ipf/ipf: File exists
*** Error code 1
Stop in /usr/src/sbin/ipf/ipf.
*** Error code 1
Stop in /usr/src/sbin/ipf.
*** Error code 1
Stop in /usr/src/sbin.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.



So I did this :

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


Then I did a cvsup again with RELENG_6_1 and rebuilded world and all went OK.

But I haven't rebooted yet. So my question is : do you think everything is ok so I can reboot or is there something I forgot ?.

And since I didn't come back to a GENERIC kernel before updating do you think I should start all over again ? thatis :

Go back to 5.5 GENERIC,
Upgrade to 6.1


/Hitete
Reply With Quote
  #9   (View Single Post)  
Old 27th May 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

When crossing major version boundaries *always* upgrade to the .0 release first, before going to the last .x release. That's the *only* method that is supported and guaranteed to work. Going from X.y to A.b will almost certainly failed (as you discovered).

Doesn't anyone read what I post anymore? I mentioned this at the beginning of this thread.

To upgrade from 5.x to 6.x you *have* to go to 5.5, then 6.0, then 6.whatever.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
Old 27th May 2008
hitete hitete is offline
New User
 
Join Date: May 2008
Posts: 7
Thanked 0 Times in 0 Posts
Default

OK thanks.

Well it's the case, I had read thatyou advised to upgrade to X.0 first and so I modified my cvsup file to RELENG_6.

And that updated me to 6.3.

That's why I didn't upgrade first to 6.0.

So to start over here are the steps I have to follow right ? :

modify cvsup file to RELENG_6_0,
cvsup
makebuildworld and make build kernel and make install kernel
reboot.

And that should go smoothly right ? (although I've already rebuilded 6_1 and haven't rebooted).

/hitete
Reply With Quote
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
upgrade installworld error carpman FreeBSD Installation and Upgrading 11 8th February 2009 05:36 PM
checking upgrade worked? carpman FreeBSD Installation and Upgrading 2 6th February 2009 11:37 PM
Upgrade FreeBSD7.0 to 7.1 Ofloo FreeBSD Installation and Upgrading 2 10th October 2008 03:24 AM
How do I upgrade? wubrgamer FreeBSD Ports and Packages 2 27th August 2008 07:18 PM
Do I need to Upgrade my Kernel yet Marred FreeBSD Ports and Packages 10 19th June 2008 05:33 PM


All times are GMT. The time now is 10:24 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick