Re: Upgrading 5.3-Beta1 to 5.3-RELEASE

2004-11-18 Thread Curtis Vaughan
So basically:
 o  update from cvs
  # cd /usr/src
  # make update
 o  build world/kernel in your normal or single-user mode
  # cd /usr/obj
  # rm -rf *
  # cd /usr/src
  # make buildworld
  # make buildkernel KERNCONF=YOURKERNEL
Adam!
Sorry to bother you again, but I got as for as make buildworld, after 
which I typed make buildkernel KERNCONF=MYKERNEL
and I got:

cod# make buildkernel KERNCONF=MYKERNEL
ERROR: Missing kernel configuration file(s) (MYKERNEL).
false
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
Any ideas why?
Curtis

 o  install kernel/world in single user mode
  # reboot [ Choose single User Mode ]
  # cd /usr/src
  # make installkernel KERNCONF=YOURKERNEL
  # make installworld
 o  run mergemaster -p
  # mergemaster -p
 o  reboot
  # reboot
It's fairly straight-forward once you get the gist :)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading 5.3-Beta1 to 5.3-RELEASE

2004-11-18 Thread Curtis Vaughan
Maybe you can disregard that. Looking at The Complete FreeBSD I see 
that you can just use GENERIC, if you want. So, I typed:

make buildworld KERNCONF=GENERIC
and off it went.
Any reason why I wouldn't want to use GENERIC?  I haven't compiled 
anything special for my kernel.

On 18 Nov, 2004, at 12:12, Curtis Vaughan wrote:
So basically:
 o  update from cvs
  # cd /usr/src
  # make update
 o  build world/kernel in your normal or single-user mode
  # cd /usr/obj
  # rm -rf *
  # cd /usr/src
  # make buildworld
  # make buildkernel KERNCONF=YOURKERNEL
Adam!
Sorry to bother you again, but I got as for as make buildworld, after 
which I typed make buildkernel KERNCONF=MYKERNEL
and I got:

cod# make buildkernel KERNCONF=MYKERNEL
ERROR: Missing kernel configuration file(s) (MYKERNEL).
false
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
Any ideas why?
Curtis

 o  install kernel/world in single user mode
  # reboot [ Choose single User Mode ]
  # cd /usr/src
  # make installkernel KERNCONF=YOURKERNEL
  # make installworld
 o  run mergemaster -p
  # mergemaster -p
 o  reboot
  # reboot
It's fairly straight-forward once you get the gist :)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading 5.3-Beta1 to 5.3-RELEASE

2004-11-18 Thread Peter Risdon
Curtis Vaughan wrote:
On 18 Nov, 2004, at 12:12, Curtis Vaughan wrote:
So basically:
 o  update from cvs
  # cd /usr/src
  # make update
 o  build world/kernel in your normal or single-user mode
  # cd /usr/obj
  # rm -rf *
  # cd /usr/src
  # make buildworld
  # make buildkernel KERNCONF=YOURKERNEL
Adam!
Sorry to bother you again, but I got as for as make buildworld, after 
which I typed make buildkernel KERNCONF=MYKERNEL
and I got:

cod# make buildkernel KERNCONF=MYKERNEL
ERROR: Missing kernel configuration file(s) (MYKERNEL).
false
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
Any ideas why?
Curtis

Maybe you can disregard that. Looking at The Complete FreeBSD I see 
that you can just use GENERIC, if you want. So, I typed:
make buildworld KERNCONF=GENERIC
and off it went.
Any reason why I wouldn't want to use GENERIC?  I haven't compiled 
anything special for my kernel.
It's worth reading:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
But basically, if you want to use the GENERIC kernel, just type:
#make buildkernel
The KERNCONF thingy is only necessary if you want to use a custom kernel 
and, as you've discovered, this won't work unless you have first 
generated a custom kernel configuration file, while is normally done by:

#cd /usr/src/sys/i386/conf
#cp GENERIC MYKERNELNAME
#vi MYKERNELNAME
Then add/delete as appropriate and when you run make buildkernel add 
KERNCONF=MYKERNELNAME

It helps, in the long run, to give your kernel a meaningful name.
Regards,
Peter.
--
the circle squared
network systems and software
http://www.circlesquared.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading 5.3-Beta1 to 5.3-RELEASE

2004-11-18 Thread Curtis Vaughan
 o  update from cvs
  # cd /usr/src
  # make update
 o  build world/kernel in your normal or single-user mode
  # cd /usr/obj
  # rm -rf *
  # cd /usr/src
  # make buildworld
  # make buildkernel KERNCONF=YOURKERNEL
 o  install kernel/world in single user mode
  # reboot [ Choose single User Mode ]
  # cd /usr/src
  # make installkernel KERNCONF=YOURKERNEL
  # make installworld
 o  run mergemaster -p
  # mergemaster -p
 o  reboot
  # reboot
It's fairly straight-forward once you get the gist :)

Following Adam's suggestion, I have now gotten to the point where I 
rebooted into Single-User Mode, entered the /usr/src directory and then 
entered the command:
make installkernel KERNCONF=MYKERNEL

But it almost immediately comes back with errors about the fact that 
certain directories don't exist and problems with the fact that the 
file system is read only.

Perhaps I entered Single User Mode wrong?  On a reboot, I chose not to 
boot into any system, but to go directly to the loader prompt 
(something like that). Then I entered the command: boot -s

Curtis
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading 5.3-Beta1 to 5.3-RELEASE

2004-11-18 Thread Ed Budd
Curtis Vaughan wrote:
 o  update from cvs
  # cd /usr/src
  # make update
 o  build world/kernel in your normal or single-user mode
  # cd /usr/obj
  # rm -rf *
  # cd /usr/src
  # make buildworld
  # make buildkernel KERNCONF=YOURKERNEL
 o  install kernel/world in single user mode
  # reboot [ Choose single User Mode ]
  # cd /usr/src
  # make installkernel KERNCONF=YOURKERNEL
  # make installworld
 o  run mergemaster -p
  # mergemaster -p
 o  reboot
  # reboot
It's fairly straight-forward once you get the gist :)

Following Adam's suggestion, I have now gotten to the point where I 
rebooted into Single-User Mode, entered the /usr/src directory and then 
entered the command:
make installkernel KERNCONF=MYKERNEL

But it almost immediately comes back with errors about the fact that 
certain directories don't exist and problems with the fact that the file 
system is read only.

Perhaps I entered Single User Mode wrong?  On a reboot, I chose not to 
boot into any system, but to go directly to the loader prompt (something 
like that). Then I entered the command: boot -s

Curtis
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

Did you remember to mount the partitions after logging in single-user mode?
mount -a
cd /usr/src
make installkernel KERNCONF=MYKERNEL
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading 5.3-Beta1 to 5.3-RELEASE

2004-11-18 Thread Ed Budd
Ed Budd wrote:
Curtis Vaughan wrote:
 o  update from cvs
  # cd /usr/src
  # make update
 o  build world/kernel in your normal or single-user mode
  # cd /usr/obj
  # rm -rf *
  # cd /usr/src
  # make buildworld
  # make buildkernel KERNCONF=YOURKERNEL
 o  install kernel/world in single user mode
  # reboot [ Choose single User Mode ]
  # cd /usr/src
  # make installkernel KERNCONF=YOURKERNEL
  # make installworld
 o  run mergemaster -p
  # mergemaster -p
 o  reboot
  # reboot
It's fairly straight-forward once you get the gist :)

Following Adam's suggestion, I have now gotten to the point where I 
rebooted into Single-User Mode, entered the /usr/src directory and 
then entered the command:
make installkernel KERNCONF=MYKERNEL

But it almost immediately comes back with errors about the fact that 
certain directories don't exist and problems with the fact that the 
file system is read only.

Perhaps I entered Single User Mode wrong?  On a reboot, I chose not to 
boot into any system, but to go directly to the loader prompt 
(something like that). Then I entered the command: boot -s

Curtis
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

Did you remember to mount the partitions after logging in single-user mode?
mount -a
cd /usr/src
make installkernel KERNCONF=MYKERNEL
___

Oops that should have read:
make installworld KERNCONF=MYKERNEL
Sorry...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading 5.3-Beta1 to 5.3-RELEASE

2004-11-18 Thread Peter Risdon
Ed Budd wrote:
Oops that should have read:
make installworld KERNCONF=MYKERNEL

This is the second time I've seen this in this thread. Is the KERNCONF 
argument meaningful with a make installworld?

Peter.
--
the circle squared
network systems and software
http://www.circlesquared.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading 5.3-Beta1 to 5.3-RELEASE

2004-11-18 Thread Ed Budd
Peter Risdon wrote:
Ed Budd wrote:
Oops that should have read:
make installworld KERNCONF=MYKERNEL

This is the second time I've seen this in this thread. Is the KERNCONF 
argument meaningful with a make installworld?

Peter.

lol, no. I shouldn't bother responding to posts when I'm busy doing a 
hundred other things at once! Sorry for the confusion.

If anyone is looking for me I'll be in my corner...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading 5.3-Beta1 to 5.3-RELEASE

2004-11-18 Thread Adam Smith
On Thu, Nov 18, 2004 at 12:15:02PM -0800, Curtis Vaughan said:
 Maybe you can disregard that. Looking at The Complete FreeBSD I see 
 that you can just use GENERIC, if you want. So, I typed:

Oh!  I had just answered, too :-)

 make buildworld KERNCONF=GENERIC
 
 and off it went.
 
 Any reason why I wouldn't want to use GENERIC?  I haven't compiled 
 anything special for my kernel.

None at all, except that using GENERIC gives you a base-line kernel to go
back to if you have any problems.  It's a good habit to use a different
file name as your main kernel if you are going to do any kernel changes.


-- 
Adam Smith
Internode   : http://www.internode.on.net
Phone   : (08) 8228 2999

Dog for sale: Eats lots and is fond of children.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading 5.3-Beta1 to 5.3-RELEASE

2004-11-18 Thread Adam Smith
On Thu, Nov 18, 2004 at 12:12:36PM -0800, Curtis Vaughan said:
 
 So basically:
 
  o  update from cvs
   # cd /usr/src
   # make update
  o  build world/kernel in your normal or single-user mode
   # cd /usr/obj
   # rm -rf *
   # cd /usr/src
   # make buildworld
   # make buildkernel KERNCONF=YOURKERNEL
 
 Adam!
 
 Sorry to bother you again, but I got as for as make buildworld, after 
 which I typed make buildkernel KERNCONF=MYKERNEL
 and I got:

This would look for a custom kernel file called
/usr/src/sys/i386/conf/MYKERNEL.  It has to exist before it can be
compiled.  Usually I name my kernel after my machine; in my case it's
gremlin, so 'make buildkernel KERNCONF=GREMLIN'.

 
 cod# make buildkernel KERNCONF=MYKERNEL
 ERROR: Missing kernel configuration file(s) (MYKERNEL).
 false
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 
 Any ideas why?
 
 Curtis
 
 
  o  install kernel/world in single user mode
   # reboot [ Choose single User Mode ]
   # cd /usr/src
   # make installkernel KERNCONF=YOURKERNEL
   # make installworld
  o  run mergemaster -p
   # mergemaster -p
  o  reboot
   # reboot
 
 It's fairly straight-forward once you get the gist :)
 

-- 
Adam Smith
Internode   : http://www.internode.on.net
Phone   : (08) 8228 2999

Dog for sale: Eats lots and is fond of children.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading 5.3-Beta1 to 5.3-RELEASE

2004-11-18 Thread Adam Smith
On Thu, Nov 18, 2004 at 01:15:15PM -0800, Curtis Vaughan said:
 
  o  update from cvs
   # cd /usr/src
   # make update
  o  build world/kernel in your normal or single-user mode
   # cd /usr/obj
   # rm -rf *
   # cd /usr/src
   # make buildworld
   # make buildkernel KERNCONF=YOURKERNEL
  o  install kernel/world in single user mode
   # reboot [ Choose single User Mode ]
   # cd /usr/src
   # make installkernel KERNCONF=YOURKERNEL
   # make installworld
  o  run mergemaster -p
   # mergemaster -p
  o  reboot
   # reboot
 
 It's fairly straight-forward once you get the gist :)
 
 
 Following Adam's suggestion, I have now gotten to the point where I 
 rebooted into Single-User Mode, entered the /usr/src directory and then 
 entered the command:
 make installkernel KERNCONF=MYKERNEL
 
 But it almost immediately comes back with errors about the fact that 
 certain directories don't exist and problems with the fact that the 
 file system is read only.
 
 Perhaps I entered Single User Mode wrong?  On a reboot, I chose not to 
 boot into any system, but to go directly to the loader prompt 
 (something like that). Then I entered the command: boot -s

Single user mode will, by default, leave you with only your / partition
mounted as read-only.  It does this to protect itself.  You'll need to
remount your partitions with 'mount -a'.  Sorry, I forgot to include that
step :)

-- 
Adam Smith
Internode   : http://www.internode.on.net
Phone   : (08) 8228 2999

Dog for sale: Eats lots and is fond of children.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fwd: Upgrading 5.3-Beta1 to 5.3-RELEASE

2004-11-17 Thread Curtis Vaughan

Begin forwarded message:
From: Adam Smith [EMAIL PROTECTED]
Date: 17 November, 2004 16:10:29 PST
To: Curtis Vaughan [EMAIL PROTECTED]
Subject: Re: Upgrading 5.3-Beta1 to 5.3-RELEASE
On Wed, Nov 17, 2004 at 03:50:03PM -0800, Curtis Vaughan said:
Thanks!
You say, go to /usr/src and enter the command make update. But there 
is
nothing in my /usr/src directory. So, either I've done something wrong
at some point, or I need to issue the command from a different
directory.
You didn't install the FreeBSD source code when you first installed 
your
system.  But I'm not sure how you install it once the system has been
installed :(

Maybe check it out on the FreeBSD site...  You may just be able to 
download
it as a tgz file an then extract it.  Then run make update.

Can anyone help me with this? Where do I go to get the source code to 
put in /usr/src ?

Curtis
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading 5.3-Beta1 to 5.3-RELEASE

2004-11-17 Thread unixadmin99
On Wed, 17 Nov 2004 16:42:18 -0800, Curtis Vaughan [EMAIL PROTECTED] wrote:

 Can anyone help me with this? Where do I go to get the source code to
 put in /usr/src ?

Run /stand/sysinstall as root; choose Configure, then Distributions,
then src, then ALL.
Its all in the Handbook ;)

-- 
~michael
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fwd: Upgrading 5.3-Beta1 to 5.3-RELEASE

2004-11-15 Thread Curtis Vaughan
On 08 Nov, 2004, at 17:38, Adam Smith wrote:
On Mon, Nov 08, 2004 at 04:49:42PM -0800, Curtis Vaughan said:
Just want to be sure that I do the right thing.
So, my version at present is 5.3-BETA1 and I want to install 5.3.
I supposed I could just install 5.3 over my current version, but
wouldn't an upgrade work just as well?
Finally, want to make sure I have the procedure right:
 ??? go to: /usr/local/etc/cvsup
 ??? issue the following command: /usr/local/bin/cvsup -g -L 2
stable-supfile
 ??? once finished, then go to: /usr/src
 ??? enter the commands:
There are some nicer ways to do this.  Check 
http://www.bugman.cx/cvsup/
for my make.conf, release-supfile and ports-supfile for examples.  You
can
copy these three files into your /etc directory, and using the 
make.conf
file, you can now just 'cd /usr/src' and then issue a 'make update'.
Your
make.conf flags will tell CVSup what to do.

Make sure you edit the three files carefully, as you'll want to specify
a
local CVSup server *and* you'll want to make sure the make.conf flags
are
correct.  Remember that whenever you run 'make', the commands in
make.conf
are passed as options to the make command.  That means if you have
'WITHOUT_X11=true' in your make.conf file, that will get passed to 
every
single port build you perform.

If you already have a make.conf file you might want to just copy out 
the
MASTER_ lines and all of the SUP lines (including PORTSSUPFILE) and put
them into your own make.conf.

Based on information Adam Smith wrote in his last letter to my request 
on this subject I just wanted to be sure that I have done everything 
correctly.

I have edited 2 of the files, but am not certain about whether I have 
edited them right.
So, here they are one by one:

make.conf
MASTER_SITE_BACKUP?=\

ftp://ftp2.au.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
MASTER_SITE_OVERRIDE?=  ${MASTER_SITE_BACKUP}
MASTER_SORT_REGEX?= ^file: 
^ftp://ftp\.FreeBSD\.org/pub/FreeBSD/ports/local-distfiles/ 
://[^/]*\.au/ ://[^/]*\.au\.
SUP_UPDATE=yes
SUP=/usr/local/bin/cvsup
SUPFLAGS=-g -L 2 -r 0
SUPHOST=mirror.internode.on.net
SUPFILE=/etc/release-supfile
PORTSSUPFILE=/etc/ports-supfile
WITHOUT_GUI=true
WITHOUT_X11=true
WITHOUT_CUPS=false

[In the make.conf file I edited only the last line as I wanted CUPS on 
the server.  Was that a mistake.  Also, I am uncertain where to put the 
CVS server in this file.]

-
ports-supfile
*default host=cvsup10.us.FreeBSD.org
*default base=/usr/local/etc/cvsup
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
ports-all tag=.
[I have removed all the commented out stuff. I have made this reflect 
my ports-supfile, which works. Hence I changed default base, default 
release. I think those are the only changes I made]


release-supfile
*default host=cvsup10.us.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_5_3
*default delete use-rel-suffix
src-all
[Now I have never used such a supfile before, but I made changes 
similar to those in the ports-supfile: i.e., I changed the default 
host. But I wasn't sure about the default base. Then as for default 
release, I assume it is now 5_3?]

I really appreciate your input and help.
Curtis Vaughan
PS. You have no link to your release-supfile on your site, but do a 
link to a src-supfile, which doesn't work. However, by typing in 
release-supfile in my browser I was able to get your release-supfile.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading 5.3-Beta1 to 5.3-RELEASE

2004-11-09 Thread messmate
On Tue, 9 Nov 2004 12:08:14 +1030
Adam Smith [EMAIL PROTECTED] wrote:

On Mon, Nov 08, 2004 at 04:49:42PM -0800, Curtis Vaughan said:
 Just want to be sure that I do the right thing.
 
 So, my version at present is 5.3-BETA1 and I want to install 5.3.
 I supposed I could just install 5.3 over my current version, but 
 wouldn't an upgrade work just as well?
 
 Finally, want to make sure I have the procedure right:
 
  ??? go to: /usr/local/etc/cvsup
  ??? issue the following command: /usr/local/bin/cvsup -g -L 2 
 stable-supfile
  ??? once finished, then go to: /usr/src
  ??? enter the commands:

There are some nicer ways to do this.  Check
http://www.bugman.cx/cvsup/ for my make.conf, release-supfile and
ports-supfile for examples.  You can copy these three files into your
/etc directory, and using the make.conf file, you can now just 'cd
/usr/src' and then issue a 'make update'.  Your make.conf flags will
tell CVSup what to do.

Make sure you edit the three files carefully, as you'll want to specify
a local CVSup server *and* you'll want to make sure the make.conf flags
are correct.  Remember that whenever you run 'make', the commands in
make.conf are passed as options to the make command.  That means if you
have'WITHOUT_X11=true' in your make.conf file, that will get passed to
every single port build you perform.

If you already have a make.conf file you might want to just copy out
the MASTER_ lines and all of the SUP lines (including PORTSSUPFILE) and
put them into your own make.conf.

 make buildworld KERNCONF=yourkernelname (for name, look to config
file  found in /usr/src/sys/i386/conf/)

Just 'make buildworld' is fine here.  You don't need to specify a
kernel name when issuing a buildworld.

  make buildkernel KERNCONF=yourkernelname (look to / )
  make installkernel KERNCONF=yourkernelname
  reboot

You can do a 'make buildworld' and a 'make buildkernel
KERNCONF=yourkernel' while you're booted into multi-user (ie normal)
FreeBSD.  You can even install the kernel from here before rebooting,
but after you've built the two, you should switch to single user mode
and then run:

make installkernel KERNCONF=yourkernelname
make installworld

Then follow with:

 mergemaster -p ?

*snip*

  reboot

So basically:

 o  update from cvs
  # cd /usr/src
  # make update
 o  build world/kernel in your normal or single-user mode
  # cd /usr/obj
  # rm -rf *
  # cd /usr/src
  # make buildworld
  # make buildkernel KERNCONF=YOURKERNEL
 o  install kernel/world in single user mode
  # reboot [ Choose single User Mode ]
  # cd /usr/src
  # make installkernel KERNCONF=YOURKERNEL
  # make installworld
 o  run mergemaster -p
  # mergemaster -p
 o  reboot 
  # reboot

It's fairly straight-forward once you get the gist :)

-- 
Adam Smith
Hummm, after that all i reconsider if i did the rigth thing ??
I upgrade from 5.3-beta7 to 5.3-RELEASE as follows :
-Changed in /stand/sysinstall.. Options: 5.3-7 to 5.3-RELEASE
-Then did simply an upgrade.
And all was downloaded and installed, but not xorg where xorg-librairies
won't install :(
A uname -a chows effectively 5.3-RELEASE .
Anybody can confirm this method of upgrading ?
mess-mate
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Upgrading 5.3-Beta1 to 5.3-RELEASE

2004-11-08 Thread Curtis Vaughan
Just want to be sure that I do the right thing.
So, my version at present is 5.3-BETA1 and I want to install 5.3.
I supposed I could just install 5.3 over my current version, but 
wouldn't an upgrade work just as well?

Finally, want to make sure I have the procedure right:
     go to: /usr/local/etc/cvsup
     issue the following command: /usr/local/bin/cvsup -g -L 2 
stable-supfile
     once finished, then go to: /usr/src
     enter the commands:

make buildworld KERNCONF=yourkernelname (for name, look to config file 
found in /usr/src/sys/i386/conf/)
 make buildkernel KERNCONF=yourkernelname (look to / )
 make installkernel KERNCONF=yourkernelname
 reboot

     You should boot in single user mode (using boot -s from loader 
prompt for example). Then continue with:

mergemaster -p  
 go to /usr/src and type: make installworld
 mergemaster
 update /dev (for 4.x only)
 reboot
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading 5.3-Beta1 to 5.3-RELEASE

2004-11-08 Thread Adam Smith
On Mon, Nov 08, 2004 at 04:49:42PM -0800, Curtis Vaughan said:
 Just want to be sure that I do the right thing.
 
 So, my version at present is 5.3-BETA1 and I want to install 5.3.
 I supposed I could just install 5.3 over my current version, but 
 wouldn't an upgrade work just as well?
 
 Finally, want to make sure I have the procedure right:
 
  ??? go to: /usr/local/etc/cvsup
  ??? issue the following command: /usr/local/bin/cvsup -g -L 2 
 stable-supfile
  ??? once finished, then go to: /usr/src
  ??? enter the commands:

There are some nicer ways to do this.  Check http://www.bugman.cx/cvsup/
for my make.conf, release-supfile and ports-supfile for examples.  You can
copy these three files into your /etc directory, and using the make.conf
file, you can now just 'cd /usr/src' and then issue a 'make update'.  Your
make.conf flags will tell CVSup what to do.

Make sure you edit the three files carefully, as you'll want to specify a
local CVSup server *and* you'll want to make sure the make.conf flags are
correct.  Remember that whenever you run 'make', the commands in make.conf
are passed as options to the make command.  That means if you have
'WITHOUT_X11=true' in your make.conf file, that will get passed to every
single port build you perform.

If you already have a make.conf file you might want to just copy out the
MASTER_ lines and all of the SUP lines (including PORTSSUPFILE) and put
them into your own make.conf.

 make buildworld KERNCONF=yourkernelname (for name, look to config file 
 found in /usr/src/sys/i386/conf/)

Just 'make buildworld' is fine here.  You don't need to specify a kernel
name when issuing a buildworld.

  make buildkernel KERNCONF=yourkernelname (look to / )
  make installkernel KERNCONF=yourkernelname
  reboot

You can do a 'make buildworld' and a 'make buildkernel KERNCONF=yourkernel'
while you're booted into multi-user (ie normal) FreeBSD.  You can even
install the kernel from here before rebooting, but after you've built the
two, you should switch to single user mode and then run:

make installkernel KERNCONF=yourkernelname
make installworld

Then follow with:

 mergemaster -p ?

*snip*

  reboot

So basically:

 o  update from cvs
  # cd /usr/src
  # make update
 o  build world/kernel in your normal or single-user mode
  # cd /usr/obj
  # rm -rf *
  # cd /usr/src
  # make buildworld
  # make buildkernel KERNCONF=YOURKERNEL
 o  install kernel/world in single user mode
  # reboot [ Choose single User Mode ]
  # cd /usr/src
  # make installkernel KERNCONF=YOURKERNEL
  # make installworld
 o  run mergemaster -p
  # mergemaster -p
 o  reboot 
  # reboot

It's fairly straight-forward once you get the gist :)

-- 
Adam Smith
Internode   : http://www.internode.on.net
Phone   : (08) 8228 2999

Dog for sale: Eats lots and is fond of children.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]