251c6 How to upgrade from 7.2 to 8.0 - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Installing & Upgrading

Installing & Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1  
Old December 8th, 2009, 20:32
SeaHag SeaHag is offline
Member
 
Join Date: Jul 2009
Posts: 119
Thanks: 3
Thanked 0 Times in 0 Posts
Default How to upgrade from 7.2 to 8.0

After spending lots of time searching the net I can't find any way to upgrade my system from 7.2 to 8.0. Can someone please point me in the right direction? I don't want to do a binary upgrade but want to upgrade from source. I normally use portsnap. Can we use that or do we have to use cvsup?
Reply With Quote
  #2  
Old December 8th, 2009, 20:36
graudeejs's Avatar
graudeejs graudeejs is offline
Style(9) Addict
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 4,523
Thanks: 422
Thanked 607 Times in 475 Posts
Default

Tried looking at FreeBSD handbook: Chapter 24 Updating and Upgrading FreeBSD ?


portsnap is for ports only....
Reply With Quote
  #3  
Old December 8th, 2009, 21:13
SeaHag SeaHag is offline
Member
 
Join Date: Jul 2009
Posts: 119
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Yes, I have. couldn't find anything useful there. It only describes what cvsup is then goes on the say;

"24.7 Rebuilding “world”
Once you have synchronized your local source tree against a particular version of FreeBSD (FreeBSD-STABLE, FreeBSD-CURRENT, and so on) you can then use the source tree to rebuild the system."

But it never gave what commands to use to update the source. And again, do we have to use cvsup or can we use portsnap?

I didn't see anything there about how to update the source, only a description of what cvsup is.
Reply With Quote
  #4  
Old December 8th, 2009, 21:16
chalbersma chalbersma is offline
Junior Member
 
Join Date: Jan 2009
Posts: 92
Thanks: 63
Thanked 3 Times in 3 Posts
Default

Have you upgraded the base system yet?
Reply With Quote
  #5  
Old December 8th, 2009, 21:21
lumiwa
Guest
 
Posts: n/a
Default

Try this site:

http://www.daemonology.net/blog/2009...8.0-beta1.html
Reply With Quote
  #6  
Old December 8th, 2009, 21:49
graudeejs's Avatar
graudeejs graudeejs is offline
Style(9) Addict
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 4,523
Thanks: 422
Thanked 607 Times in 475 Posts
Default

a quick handbook search would return this:
http://www.freebsd.org/doc/en_US.ISO...k/mirrors.html

Here are interesting subsections
http://www.freebsd.org/doc/en_US.ISO...ook/cvsup.html
http://www.freebsd.org/doc/en_US.ISO.../cvs-tags.html

note that cvsup, is now in base system and i called csup


also csup(1)
Reply With Quote
  #7  
Old December 8th, 2009, 22:02
SeaHag SeaHag is offline
Member
 
Join Date: Jul 2009
Posts: 119
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Have you upgraded the base system yet?
Nope, don't know how.

That uses freebsd-update, does a binary update not from source, not what I want.

Quote:
a quick handbook search would return this:
http://www.freebsd.org/doc/en_US.ISO...k/mirrors.html

Here are interesting subsections
http://www.freebsd.org/doc/en_US.ISO...ook/cvsup.html
http://www.freebsd.org/doc/en_US.ISO.../cvs-tags.html

note that cvsup, is now in base system and i called csup


also csup(1)
Not helpful, doesn't say anything about upgrading from 7.2 to 8.0
Reply With Quote
  #8  
Old December 8th, 2009, 22:07
graudeejs's Avatar
graudeejs graudeejs is offline
Style(9) Addict
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 4,523
Thanks: 422
Thanked 607 Times in 475 Posts
Default

Quote:
Originally Posted by SeaHag View Post
Not helpful, doesn't say anything about upgrading from 7.2 to 8.0
It's actually very helpful after you read
Chapter 24 Updating and Upgrading FreeBSD

I know what I'm saying
Reply With Quote
  #9  
Old December 8th, 2009, 22:10
graudeejs's Avatar
graudeejs graudeejs is offline
Style(9) Addict
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 4,523
Thanks: 422
Thanked 607 Times in 475 Posts
Default

Also, forums search would return this:
https://forums.freebsd.org/showthread.php?t=8406
Reply With Quote
  #10  
Old December 9th, 2009, 03:18
SeaHag SeaHag is offline
Member
 
Join Date: Jul 2009
Posts: 119
Thanks: 3
Thanked 0 Times in 0 Posts
Default

I've read all that and don't have the slightest idea how to upgrade my 7.2 system to 8.0. Does anybody know who can tell me? The answer "read the manual" is not helpful.
Reply With Quote
  #11  
Old December 9th, 2009, 04:20
Dru's Avatar
Dru Dru is offline
Member
 
Join Date: Sep 2009
Posts: 186
Thanks: 17
Thanked 13 Times in 8 Posts
Default

http://support.microsoft.com/kb/221829
Reply With Quote
  #12  
Old December 9th, 2009, 04:33
zeiz's Avatar
zeiz zeiz is offline
Member
 
Join Date: Nov 2008
Location: Canada
Posts: 691
Thanks: 38
Thanked 54 Times in 52 Posts
Default

I do upgrade like I described here
Another info is here
If you don't want any explanations this is naked algorithm:
# ee /root/src-supfile
Copy the text below and paste it into your termal (new file):
Code:
*default host=cvsup.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_8
*default delete use-rel-suffix
src-all
Press Esc, then pres "a" and "a" again.
Then type one by one:
Code:
# cp -r /etc/ /etc.old
# cp -r /boot /boot.old
# csup -L 2 /root/src-supfile
# cd /usr/src
# make buildworld
# make buildkernel
# make installkernel
# reboot
On boot screen choose Single user mode (press 4 ).
Press Enter when asked for default shell.
Code:
# fsck
# mount -a -t ufs
# cd /usr/src
# make installworld
# mergemaster -Fi ## this is tricky: don't delete your password file! Watch for word "root" and your user name in files and pay maximum attention to that files.
Answer yes to delete temproot.
Reboot.
If you are lucky you now have 8-STABLE and you can update it daily if you want.

Have fun and don't blame me if you screw your system without reading what others recommended in this thread.

Last edited by DutchDaemon; December 9th, 2009 at 06:13.
Reply With Quote
  #13  
Old December 9th, 2009, 04:55
sixtydoses's Avatar
sixtydoses sixtydoses is offline
Member
 
Join Date: Nov 2008
Location: Near my dentist.
Posts: 400
Thanks: 14
Thanked 55 Times in 48 Posts
Default

FreeBSD upgrade can be done either by using freebsd-update tool or rebuilding it from the source. For the latter option there are detailed steps listed inside the /usr/src/Makefile as well.


The links given in earlier posts are useful.

Quote:
Originally Posted by lumiwa View Post
Quote:
Originally Posted by killasmurf86 View Post
Also, forums search would return this:
https://forums.freebsd.org/showthread.php?t=8406
Reply With Quote
  #14  
Old December 9th, 2009, 07:18
graudeejs's Avatar
graudeejs graudeejs is offline
Style(9) Addict
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 4,523
Thanks: 422
Thanked 607 Times in 475 Posts
Default

He's just lazy to read.
Reply With Quote
  #15  
Old December 9th, 2009, 07:39
SeaHag SeaHag is offline
Member
 
Join Date: Jul 2009
Posts: 119
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by lumiwa View Post
I tried this but after the first reboot the usb mouse doesn't work in X anymore but works in the shell. Any ideas how to fix it?
Reply With Quote
  #16  
Old December 9th, 2009, 07:51
graudeejs's Avatar
graudeejs graudeejs is offline
Style(9) Addict
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 4,523
Thanks: 422
Thanked 607 Times in 475 Posts
Default

check if you have
Code:
hald_enable="YES"
dbus_enable="YES"
in /etc/rc.conf

Did you build X with HAL enabled? If not comment out hald_enable="YES"
Reply With Quote
  #17  
Old December 9th, 2009, 08:00
SeaHag SeaHag is offline
Member
 
Join Date: Jul 2009
Posts: 119
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by sixtydoses View Post
FreeBSD upgrade can be done either by using freebsd-update tool or rebuilding it from the source. For the latter option there are detailed steps listed inside the /usr/src/Makefile as well.


The links given in earlier posts are useful.
How do I know which one to do, binary upgrade or from source? I always install ports from source not package so it's built on my system. Shouldn't I do upgrade the same way? How do you choose which way to do it? I think building on your own system is the preferred way, right?
Reply With Quote
  #18  
Old December 9th, 2009, 08:02
SeaHag SeaHag is offline
Member
 
Join Date: Jul 2009
Posts: 119
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by killasmurf86 View Post
check if you have
Code:
hald_enable="YES"
dbus_enable="YES"
in /etc/rc.conf

Did you build X with HAL enabled? If not comment out hald_enable="YES"
Yes, both of those are there but I don't remember if I built X with HAL enabled or not. Is there any way I can tell?
Reply With Quote
  #19  
Old December 9th, 2009, 08:03
graudeejs's Avatar
graudeejs graudeejs is offline
Style(9) Addict
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 4,523
Thanks: 422
Thanked 607 Times in 475 Posts
Default

Whatever you prefer...
I prefer to compile everything on my machine....
Others prefer not to waste time compiling and simply do binary update

If you have very old and slow pc, you probably will want binary update, because compiling sources on slow machine is ...... slow
Reply With Quote
  #20  
Old December 9th, 2009, 08:19
SeaHag SeaHag is offline
Member
 
Join Date: Jul 2009
Posts: 119
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by killasmurf86 View Post
Whatever you prefer...
I prefer to compile everything on my machine....
Others prefer not to waste time compiling and simply do binary update

If you have very old and slow pc, you probably will want binary update, because compiling sources on slow machine is ...... slow
I have AMD64, I prefer to compile everything on my machine too but I can't figure out how to upgrade by source so I tried the binary way. Of course it didn't work. In the boot up messages the text for the mouse is in brighter (bold?) white text. What does that mean? It says;

Code:
ums0: <Logitech USB-PS/2 Optical Mouse,class 0/0, rev 2.00/20.00, addr 2> on usb6
usm0: 4 buttons and [XYZ] coordinates ID=0
Reply With Quote
  #21  
Old December 9th, 2009, 08:22
graudeejs's Avatar
graudeejs graudeejs is offline
Style(9) Addict
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 4,523
Thanks: 422
Thanked 607 Times in 475 Posts
Default

it found your mouse
Reply With Quote
  #22  
Old December 9th, 2009, 08:23
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,848
Thanks: 30
Thanked 1,889 Times in 1,334 Posts
Default

Bright text is from the kernel, dim text is from userland.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #23  
Old December 9th, 2009, 08:48
sixtydoses's Avatar
sixtydoses sixtydoses is offline
Member
 
Join Date: Nov 2008
Location: Near my dentist.
Posts: 400
Thanks: 14
Thanked 55 Times in 48 Posts
Default

Quote:
Originally Posted by SeaHag View Post
I tried this but after the first reboot the usb mouse doesn't work in X anymore but works in the shell. Any ideas how to fix it?
I don't exactly remember everything I did but the first time I upgraded to FreeBSD 8.0 my mouse failed to work in my X as well. I managed to get it to work by adding Option "AllowEmptyInput" "off" under the ServerLayout section of my xorg.conf (you can find this mentioned in /usr/src/UPDATING). I've commented out that option though after removing my libusb and recompile my hal (I think).


@zeiz - isn't it supposed to be the following?

Code:
*default release=cvs tag=RELENG_8_0
Reply With Quote
  #24  
Old December 9th, 2009, 08:55
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

Quote:
Originally Posted by sixtydoses View Post
@zeiz - isn't it supposed to be the following?

Code:
*default release=cvs tag=RELENG_8_0
If you want to track 8.0-RELEASE. RELENG_8 tracks 8.0-STABLE.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
The Following User Says Thank You to SirDice For This Useful Post:
sixtydoses (December 9th, 2009)
  #25  
Old December 9th, 2009, 09:25
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,848
Thanks: 30
Thanked 1,889 Times in 1,334 Posts
Default

Quote:
Originally Posted by SirDice View Post
If you want to track 8.0-RELEASE. RELENG_8 tracks 8.0-STABLE.
8-STABLE to be exact
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
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 to KDE 4.3.4 from 4.3.1 alie Installation and Maintenance of FreeBSD Ports or Packages 3 December 7th, 2009 21:11
Upgrade 7.0 to 7.1 clinty Installing & Upgrading 3 August 4th, 2009 05:51
Upgrade 7.1 -> 7.2 icer Installing & Upgrading 4 May 25th, 2009 17:21
Can not upgrade 7.1 to 7.2 Darth_Vader Installing & Upgrading 17 May 5th, 2009 05:50
upgrade FreeBSD rainman82 Installing & Upgrading 1 February 5th, 2009 00:07


All times are GMT +1. The time now is 15:25.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0