|
FreeBSD Installation and Upgrading Installing and upgrading FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
upgrade from 5.5 to 6.3
Anyone tried this?
Ya I know it is probably noobish, but still could save me some time. |
|
|||
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. |
|
|||
note I am not asking how, but rather did it work for them.
|
|
|||
seems like the best bet will be to upgrade to 6 then upgrade again to 6.3.
Will give ago tomorrow. |
|
|||
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 |
|
||||
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.
|
|
|||
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 |
|
||||
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. |
|
|||
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 |
|
|
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 |