[Fwd: Re: [Fwd: Re: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE]]

2009-01-31 Thread Akenner

*snipped*

OK, so right now I've been reading this, and I had a look at the 
configuration file for FreeBSD-update, and it seems I could use that to 
test it out since I haven't really used it before, by basically running 
it with -r RELEASE and it would upgrade everything to that?


also being from the Linux world, I'm having a slight bit of trouble 
understanding one part, which is what "upgrades" mean in BSD VS Linux.


For example, on my Slackware boxes, I can do this to update / upgrade 
when a security problem is found and patched:


upgradepkg name-of-package-slack12.tgz and it upgrades it.

On here they have a different meaning though I THINK... I'm not positive 
yet if I'm understanding this right, or if I've gotten confused.


I'm not giving up because I'm really enjoying how FreeBSD works, and 
always have loved it, and this time I've decided to take the time to 
learn how to run it properly, which is why the last two weeks, I've 
spent most of my time using it, asking questions on here, and reading my 
library of books on BSD, and reading the BSD web site in the handbook 
area so to not ask questions I can find easy.


So, am I confusing these terms with how they work? Or..?

Really I just want to make sure I have the security patches installed by 
running something I could maybe add to cron later, or make a very simple 
perl script, but if that isn't the best solution, at least I'd like to 
have security patches installed and have my machine up to date as much 
as possible with fixes.


So, for making sure my machine is updated with the latest security 
patches and bug fixes, would CVS maybe be better, or FreeBSD-update? Or 
both?


Also if I'm not getting annoying yet, which I may very well be heh, when 
it asks for RELEASE in FreeBSD-update,  I know that STABLE is the stable 
and trusted one, and RELEASE is the latest one but is tested enough to 
be used, and then the bleeding edge one you shouldn't use Which 
would one pick who wanted to keep updated to do this with and not be 
totally insane?


Thanks all, and apologies on length / number of questions. I'm just 
tryign to understand how it works so I can take some notes and remember 
for myself how it works without breaking it/
--- Begin Message ---

Akenner wrote:

Hi,

I've continued reading to keep myself updated with info used, and I 
have a few questions about what I've seen about freebsd-update:


I've read not to use FreeBSD-update AND cvsup together, and so I've 
decided to go along with this as to not cause problems for myself.


Does FreeBSD-update have any benefit over the cvsup method? I've heard 
you don't have to go single user and a few other things, but does it 
have any actual benefit?


Thanks,

-Allen


You don't have to recompile  anything (can be lengthy esp. on older 
machines), the mergemaster step is usually a lot simpler and less 
tedious. Very useful for people tracking RELEASE and the security 
branch. You still need csup / cvsup to track STABLE or CURRENT though.


--- End Message ---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: [Fwd: Re: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE]

2009-01-30 Thread Manolis Kiagias

Akenner wrote:

Hi,

I've continued reading to keep myself updated with info used, and I 
have a few questions about what I've seen about freebsd-update:


I've read not to use FreeBSD-update AND cvsup together, and so I've 
decided to go along with this as to not cause problems for myself.


Does FreeBSD-update have any benefit over the cvsup method? I've heard 
you don't have to go single user and a few other things, but does it 
have any actual benefit?


Thanks,

-Allen


You don't have to recompile  anything (can be lengthy esp. on older 
machines), the mergemaster step is usually a lot simpler and less 
tedious. Very useful for people tracking RELEASE and the security 
branch. You still need csup / cvsup to track STABLE or CURRENT though.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


[Fwd: Re: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE]

2009-01-30 Thread Akenner

Hi,

I've continued reading to keep myself updated with info used, and I have 
a few questions about what I've seen about freebsd-update:


I've read not to use FreeBSD-update AND cvsup together, and so I've 
decided to go along with this as to not cause problems for myself.


Does FreeBSD-update have any benefit over the cvsup method? I've heard 
you don't have to go single user and a few other things, but does it 
have any actual benefit?


Thanks,

-Allen
--- Begin Message ---

Zbigniew Szalbot wrote:

Hi all,

On Thu, Jan 29, 2009 at 07:34, Tim Judd  wrote:
  

Akenner wrote:


RW wrote:
  

On Wed, 28 Jan 2009 05:07:46 -0700
Tim Judd  wrote:





Nothing really beats the CVS way.  And when I tried a 7.0 to a 7.1,
it wanted like >30,000 updates and was taking forever.

  

It seems to me that most people that come to this list with base-system
update problems are using  freebsd-update.
___




This is going to seem stupid, but instead of making a new topic, can
someone link to me a working link of the handbook where you update your CVS
and so on?  I know that on the FreeBSD page there is a handbook that has
exactly what I'm looking for, and for some reason I'm having trouble finding
it even though I used to have it saved but I don't anymore and I wanted to
get CVS sources updated so I can do some updating.

Thanks

  

csup -g -L 1 -h cvs#.cc.freebsd.org
/usr/share/examples/cvsup/standard-supfile

i.e: cvs17.us.freebsd.org

This will update to your uname -r latest patchlevel.  Copy and replace (for
you): RELENG_7_0 with RELENG_7_1 to get the latest patchlevel for 7.1


Original doc seems either replaced by the freebsd-update method (while
excellent, there are a few things that CVS really triumphs on).

csup is part of base.

I'd be glad to help you through.  The canonical update method is still
listed in the handbook (SS. 24.7.1) used after retrieving the sources.



Thank you Tim for the answers! So far I have used freebsd-update to
apply updates. I seem to recall that it is never good to mix the two
systems (freebsd-updates and csup) to avoid trouble. Is that true?

Also, the documentation you mention (24.7.1) says this:

After installkernel finishes successfully, you should boot in single
user mode (i.e. using boot -s from the loader prompt).

How can this be done with a remote machine?

  
NO without serial access or some kind of ALOM card eg DELL DRAC CARD, as 
you will have no ip up

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

--- End Message ---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE

2009-01-29 Thread k...@snaffler.net
I have done that many times without hitch but would never recommend it 
on a production box even though i have never seen an issue in real world 
situations.


Note the mergemaster -p should be done before the installword as it 
sometimes add new accounts and things that the installworld needs to 
complete.


Artem Kuchin wrote:



Mike Clarke ?:

On Thursday 29 January 2009, Akenner wrote:

 

For some reason if you follow along line by line in the book "FreeBSD
Unleashed Second edition" which was written and came with 5.0 on CD,
it doesn't work at all for some reason. I think there must have been
a few changes in the way things are done between these versions but I
couldn't get those instructions to work at all. I'm sure it works
great on 5.0 but I kind of fell for 7.1 like a school kid lol.




  


I have never had a single problem updating system remotely via 
internet like this:


doing a sup file like this:

*default host=cvsup4.FReeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_7
*default delete use-rel-suffix
*default compress

src-all
doc-all tag=.
ports-all tag=.

Then

csup supfile

Then
cd /usr/local/src
make buildworld >& bw
check the end of bw
make buildkernel KERNCONF=MYKERN >&bk
check what's in bk

i redirect output to save the bandwidth and traffic
stop as many thing as i can stop

make installkernel KERNCONF=MYKERN
make installworld >&iw

check what's in iw

mergemaster -p
mergemaster

disable everything in /local/etc/rc.d and as many as possible in rc.conf

shutdown -r now

and then it's up and it's a new version!

as i said - it never failed!

--
Artem




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE

2009-01-29 Thread Artem Kuchin



Mike Clarke ?:

On Thursday 29 January 2009, Akenner wrote:

  

For some reason if you follow along line by line in the book "FreeBSD
Unleashed Second edition" which was written and came with 5.0 on CD,
it doesn't work at all for some reason. I think there must have been
a few changes in the way things are done between these versions but I
couldn't get those instructions to work at all. I'm sure it works
great on 5.0 but I kind of fell for 7.1 like a school kid lol.




  


I have never had a single problem updating system remotely via internet 
like this:


doing a sup file like this:

*default host=cvsup4.FReeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_7
*default delete use-rel-suffix
*default compress

src-all
doc-all tag=.
ports-all tag=.

Then

csup supfile

Then
cd /usr/local/src
make buildworld >& bw
check the end of bw
make buildkernel KERNCONF=MYKERN >&bk
check what's in bk

i redirect output to save the bandwidth and traffic
stop as many thing as i can stop

make installkernel KERNCONF=MYKERN
make installworld >&iw

check what's in iw

mergemaster -p
mergemaster

disable everything in /local/etc/rc.d and as many as possible in rc.conf

shutdown -r now

and then it's up and it's a new version!

as i said - it never failed!

--
Artem




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE

2009-01-29 Thread Mike Clarke
On Thursday 29 January 2009, Akenner wrote:

> For some reason if you follow along line by line in the book "FreeBSD
> Unleashed Second edition" which was written and came with 5.0 on CD,
> it doesn't work at all for some reason. I think there must have been
> a few changes in the way things are done between these versions but I
> couldn't get those instructions to work at all. I'm sure it works
> great on 5.0 but I kind of fell for 7.1 like a school kid lol.

It's well worth getting yourself a copy of Michael Lucas's "Absolute 
FreeBSD" 2nd edition. It's an excellent companion for 7.x.

-- 
Mike Clarke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE

2009-01-29 Thread Manolis Kiagias

Zbigniew Szalbot wrote:

Hello,

On Thu, Jan 29, 2009 at 10:40, k...@snaffler.net  wrote:
  

After installkernel finishes successfully, you should boot in single
user mode (i.e. using boot -s from the loader prompt).

How can this be done with a remote machine?


  

NO without serial access or some kind of ALOM card eg DELL DRAC CARD, as you
will have no ip up




Then correct me if I am wrong but if I do not have such a card, then I
am better off using freebsd-update since it does not require me to
boot in single user mode?

Thanks!

  
Yes, freebsd-update does not require single user mode. Just follow the 
updated handbook instructions:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html#FREEBSDUPDATE-UPGRADE

As an additional precaution, edit the /etc/rc.conf file and comment out 
all non essential services when rebooting with the GENERIC kernel in the 
intermediate step (assuming you were using a custom kernel).  Re-enable 
them when you rebuild your custom kernel.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE

2009-01-29 Thread Ricardo Jesus

k...@snaffler.net wrote:

here is howto rebuild you system via cvs

dump this into a file

--->8

*default host=cvsup.uk.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_7
*default delete use-rel-suffix
src-all

--->8

add these lines to /etc/make.conf

SUP_UPDATE= yes
SUPFILE=   

then

cd /usr/src
make update && make buildworls && make buildkernel && make installkernel

( if you are multicore do a -j 8 or something on the build lines, 
anything upto 32 should build ok )


reboot

cd /usr/src
mergmaster -p
make installworld
mergmaster

reboot

i theory tou should rebuild all your ports now as well, but generally i 
never both and havent had trouble


if you dont have anything in /usr/src or dont have one just install the 
base src distribution from sysinstall


or

download install.sh, sbase.aa, sbase.inf from you favorite freebsd 
mirror and do a


./install.sh base

eg mine is here

http://www.mirrorservice.org/sites/ftp.freebsd.org/pub/FreeBSD/releases/i386/7.1-RELEASE/src/ 





Akenner wrote:

RW wrote:

On Wed, 28 Jan 2009 05:07:46 -0700
Tim Judd  wrote:


 

Nothing really beats the CVS way.  And when I tried a 7.0 to a 7.1,
it wanted like >30,000 updates and was taking forever.



It seems to me that most people that come to this list with base-system
update problems are using  freebsd-update.
___

  
This is going to seem stupid, but instead of making a new topic, can 
someone link to me a working link of the handbook where you update 
your CVS and so on?  I know that on the FreeBSD page there is a 
handbook that has exactly what I'm looking for, and for some reason 
I'm having trouble finding it even though I used to have it saved but 
I don't anymore and I wanted to get CVS sources updated so I can do 
some updating.


Thanks

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"


Not sure if the OP wants to track the errata ou the stable branch so 
little heads up:


tag=RELENG_7_1 to follow the errata branch
tag=RELENG_7 to follow stable

Regards,
Ricardo Jesus.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE

2009-01-29 Thread Akenner

*Snip to keep simple to read*

Thanks all for the replies. I wanted to send a formal thank you instead 
of replying to each of the people who responded to me so I wouldn't be 
spamming the list, as I think that would be a much more polite way of 
doing it than sending a bunch of messages in filling everyone's inbox up :)


The last time I used the CVSup method was I think 6.0 and at the time I 
had read through the docs on the FreeBSD page and made sure to have them 
not only ready, but I opened it up on another machine so I could check 
what I was doing off as I went along, and kept a book handy that was 
published around 5.0 but for some reason or another, probably do to my 
newbieness to BSD, it not only didn't work, I couldn't seem to boot 
anymore, which, as I said, I'm almost certain was do to my ignorance.


Anyway, thanks again everyone, and now instead of risking it, I have set 
up FreeBSD 7.1-RELEASE on another machine I can use for testing as I 
feel this will help me learn more without worrying about messing up as I 
can always reinstall on that one.


I've started using FreeBSD more in the last month or so and I've 
actually started to get the hang of it. I've always like it, which is 
why I show my appreciation financially whenever possible. I also like 
buying books, CD-ROM sets, Tee Shirts, stickers, pins, and whatever else 
from the FreeBSDMall and book stores which helps show people that they 
sell good and that more should get written or at least updated versions.


For some reason if you follow along line by line in the book "FreeBSD 
Unleashed Second edition" which was written and came with 5.0 on CD, it 
doesn't work at all for some reason. I think there must have been a few 
changes in the way things are done between these versions but I couldn't 
get those instructions to work at all. I'm sure it works great on 5.0 
but I kind of fell for 7.1 like a school kid lol.


Anyway thanks again, sorry for the length of this message, and I'm glad 
I've susbscribed to this list again as I've gotten answers to many of my 
questions I couldn't quite find an answer for by googling it.


-Allen. Promoting FreeBSD since 4.0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE

2009-01-29 Thread Zbigniew Szalbot
Hello,

On Thu, Jan 29, 2009 at 10:40, k...@snaffler.net  wrote:
>> After installkernel finishes successfully, you should boot in single
>> user mode (i.e. using boot -s from the loader prompt).
>>
>> How can this be done with a remote machine?
>>
>>
>
> NO without serial access or some kind of ALOM card eg DELL DRAC CARD, as you
> will have no ip up
>

Then correct me if I am wrong but if I do not have such a card, then I
am better off using freebsd-update since it does not require me to
boot in single user mode?

Thanks!

-- 
Zbigniew Szalbot
www.slowo.pl
www.fairtrade.net.pl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE

2009-01-29 Thread k...@snaffler.net

Zbigniew Szalbot wrote:

Hi all,

On Thu, Jan 29, 2009 at 07:34, Tim Judd  wrote:
  

Akenner wrote:


RW wrote:
  

On Wed, 28 Jan 2009 05:07:46 -0700
Tim Judd  wrote:





Nothing really beats the CVS way.  And when I tried a 7.0 to a 7.1,
it wanted like >30,000 updates and was taking forever.

  

It seems to me that most people that come to this list with base-system
update problems are using  freebsd-update.
___




This is going to seem stupid, but instead of making a new topic, can
someone link to me a working link of the handbook where you update your CVS
and so on?  I know that on the FreeBSD page there is a handbook that has
exactly what I'm looking for, and for some reason I'm having trouble finding
it even though I used to have it saved but I don't anymore and I wanted to
get CVS sources updated so I can do some updating.

Thanks

  

csup -g -L 1 -h cvs#.cc.freebsd.org
/usr/share/examples/cvsup/standard-supfile

i.e: cvs17.us.freebsd.org

This will update to your uname -r latest patchlevel.  Copy and replace (for
you): RELENG_7_0 with RELENG_7_1 to get the latest patchlevel for 7.1


Original doc seems either replaced by the freebsd-update method (while
excellent, there are a few things that CVS really triumphs on).

csup is part of base.

I'd be glad to help you through.  The canonical update method is still
listed in the handbook (SS. 24.7.1) used after retrieving the sources.



Thank you Tim for the answers! So far I have used freebsd-update to
apply updates. I seem to recall that it is never good to mix the two
systems (freebsd-updates and csup) to avoid trouble. Is that true?

Also, the documentation you mention (24.7.1) says this:

After installkernel finishes successfully, you should boot in single
user mode (i.e. using boot -s from the loader prompt).

How can this be done with a remote machine?

  
NO without serial access or some kind of ALOM card eg DELL DRAC CARD, as 
you will have no ip up

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE

2009-01-29 Thread k...@snaffler.net

here is howto rebuild you system via cvs

dump this into a file

--->8

*default host=cvsup.uk.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_7
*default delete use-rel-suffix
src-all

--->8

add these lines to /etc/make.conf

SUP_UPDATE= yes
SUPFILE=   

then

cd /usr/src
make update && make buildworls && make buildkernel && make installkernel

( if you are multicore do a -j 8 or something on the build lines, 
anything upto 32 should build ok )


reboot

cd /usr/src
mergmaster -p
make installworld
mergmaster

reboot

i theory tou should rebuild all your ports now as well, but generally i 
never both and havent had trouble


if you dont have anything in /usr/src or dont have one just install the 
base src distribution from sysinstall


or

download install.sh, sbase.aa, sbase.inf from you favorite freebsd 
mirror and do a


./install.sh base

eg mine is here

http://www.mirrorservice.org/sites/ftp.freebsd.org/pub/FreeBSD/releases/i386/7.1-RELEASE/src/



Akenner wrote:

RW wrote:

On Wed, 28 Jan 2009 05:07:46 -0700
Tim Judd  wrote:


 

Nothing really beats the CVS way.  And when I tried a 7.0 to a 7.1,
it wanted like >30,000 updates and was taking forever.



It seems to me that most people that come to this list with base-system
update problems are using  freebsd-update.
___

  
This is going to seem stupid, but instead of making a new topic, can 
someone link to me a working link of the handbook where you update 
your CVS and so on?  I know that on the FreeBSD page there is a 
handbook that has exactly what I'm looking for, and for some reason 
I'm having trouble finding it even though I used to have it saved but 
I don't anymore and I wanted to get CVS sources updated so I can do 
some updating.


Thanks

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE

2009-01-28 Thread Zbigniew Szalbot
Hi all,

On Thu, Jan 29, 2009 at 07:34, Tim Judd  wrote:
> Akenner wrote:
>>
>> RW wrote:
>>>
>>> On Wed, 28 Jan 2009 05:07:46 -0700
>>> Tim Judd  wrote:
>>>
>>>
>>>

 Nothing really beats the CVS way.  And when I tried a 7.0 to a 7.1,
 it wanted like >30,000 updates and was taking forever.

>>>
>>> It seems to me that most people that come to this list with base-system
>>> update problems are using  freebsd-update.
>>> ___
>>>
>>>
>>
>> This is going to seem stupid, but instead of making a new topic, can
>> someone link to me a working link of the handbook where you update your CVS
>> and so on?  I know that on the FreeBSD page there is a handbook that has
>> exactly what I'm looking for, and for some reason I'm having trouble finding
>> it even though I used to have it saved but I don't anymore and I wanted to
>> get CVS sources updated so I can do some updating.
>>
>> Thanks
>>
>
> csup -g -L 1 -h cvs#.cc.freebsd.org
> /usr/share/examples/cvsup/standard-supfile
>
> i.e: cvs17.us.freebsd.org
>
> This will update to your uname -r latest patchlevel.  Copy and replace (for
> you): RELENG_7_0 with RELENG_7_1 to get the latest patchlevel for 7.1
>
>
> Original doc seems either replaced by the freebsd-update method (while
> excellent, there are a few things that CVS really triumphs on).
>
> csup is part of base.
>
> I'd be glad to help you through.  The canonical update method is still
> listed in the handbook (SS. 24.7.1) used after retrieving the sources.

Thank you Tim for the answers! So far I have used freebsd-update to
apply updates. I seem to recall that it is never good to mix the two
systems (freebsd-updates and csup) to avoid trouble. Is that true?

Also, the documentation you mention (24.7.1) says this:

After installkernel finishes successfully, you should boot in single
user mode (i.e. using boot -s from the loader prompt).

How can this be done with a remote machine?

-- 
Zbigniew Szalbot
www.slowo.pl
www.fairtrade.net.pl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE

2009-01-28 Thread Tim Judd

Akenner wrote:

RW wrote:

On Wed, 28 Jan 2009 05:07:46 -0700
Tim Judd  wrote:


 

Nothing really beats the CVS way.  And when I tried a 7.0 to a 7.1,
it wanted like >30,000 updates and was taking forever.



It seems to me that most people that come to this list with base-system
update problems are using  freebsd-update.
___

  
This is going to seem stupid, but instead of making a new topic, can 
someone link to me a working link of the handbook where you update your 
CVS and so on?  I know that on the FreeBSD page there is a handbook that 
has exactly what I'm looking for, and for some reason I'm having trouble 
finding it even though I used to have it saved but I don't anymore and I 
wanted to get CVS sources updated so I can do some updating.


Thanks



csup -g -L 1 -h cvs#.cc.freebsd.org 
/usr/share/examples/cvsup/standard-supfile


i.e: cvs17.us.freebsd.org

This will update to your uname -r latest patchlevel.  Copy and replace 
(for you): RELENG_7_0 with RELENG_7_1 to get the latest patchlevel for 7.1



Original doc seems either replaced by the freebsd-update method (while 
excellent, there are a few things that CVS really triumphs on).


csup is part of base.

I'd be glad to help you through.  The canonical update method is still 
listed in the handbook (SS. 24.7.1) used after retrieving the sources.


--Tim
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE

2009-01-28 Thread Akenner

RW wrote:

On Wed, 28 Jan 2009 05:07:46 -0700
Tim Judd  wrote:


  

Nothing really beats the CVS way.  And when I tried a 7.0 to a 7.1,
it wanted like >30,000 updates and was taking forever.



It seems to me that most people that come to this list with base-system
update problems are using  freebsd-update.
___

  
This is going to seem stupid, but instead of making a new topic, can 
someone link to me a working link of the handbook where you update your 
CVS and so on?  I know that on the FreeBSD page there is a handbook that 
has exactly what I'm looking for, and for some reason I'm having trouble 
finding it even though I used to have it saved but I don't anymore and I 
wanted to get CVS sources updated so I can do some updating.


Thanks

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE

2009-01-28 Thread RW
On Wed, 28 Jan 2009 05:07:46 -0700
Tim Judd  wrote:


> Nothing really beats the CVS way.  And when I tried a 7.0 to a 7.1,
> it wanted like >30,000 updates and was taking forever.

It seems to me that most people that come to this list with base-system
update problems are using  freebsd-update.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE

2009-01-28 Thread Tim Judd

Zbigniew Szalbot wrote:

Hello,

I would like to confirm the steps required to upgrade a 7.0 system
with a custom kernel to 7.1 so many thanks for all suggestions!

1/ Back up /etc (of course backups are regularly done, but based on
what I saw on the list I think such a backup just prior to upgrade may
be quite beneficial)
# cp -pR /etc/ /etc-7.0

2/ Go for the upgrade and merge files (if any)
# freebsd-update -r 7.1-RELEASE upgrade

3/ Install the updates
# freebsd-update install

4/ Reboot with a GENERIC kernel (I do have it)
# nextboot -k GENERIC


Make sure freebsd-update downloads the GENERIC kernel.  it typically 
leaves it completely alone when asked to update/upgrade a system with a 
custom kernel.


Nothing really beats the CVS way.  And when I tried a 7.0 to a 7.1, it 
wanted like >30,000 updates and was taking forever.


So because of this, you might want to:
download CVS source
	make buildkernel; freebsd-update -r 7.1-RELEASE upgrade; freebsd-update 
install; make installkernel;



5/ Reboot with a custom kernel
# shutdown -r now

6/ Finish the update process
# freebsd-update install

7/ Recompile the custom kernel
# cd /usr/src
# make buildkernel KERNCONF=MYKERNEL
# make installkernel KERNCONF=MYKERNEL


And remake your custom kernel here.  Personally, I try to keep an 
updated GENERIC in /boot/kernel.GENERIC always.



8/ Final reboot
# shutdown -r now

I was told earlier that 7.0 -> 7.1 journey is a minor one and so I do
not need to rebuild all the ports. Is that correct?

Once again, many thanks for your advice!



My 2 cents.

--Tim
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Steps to upgrade from 7.0-RELEASE to 7.1-RELEASE

2009-01-28 Thread Zbigniew Szalbot
Hello,

I would like to confirm the steps required to upgrade a 7.0 system
with a custom kernel to 7.1 so many thanks for all suggestions!

1/ Back up /etc (of course backups are regularly done, but based on
what I saw on the list I think such a backup just prior to upgrade may
be quite beneficial)
# cp -pR /etc/ /etc-7.0

2/ Go for the upgrade and merge files (if any)
# freebsd-update -r 7.1-RELEASE upgrade

3/ Install the updates
# freebsd-update install

4/ Reboot with a GENERIC kernel (I do have it)
# nextboot -k GENERIC

5/ Reboot with a custom kernel
# shutdown -r now

6/ Finish the update process
# freebsd-update install

7/ Recompile the custom kernel
# cd /usr/src
# make buildkernel KERNCONF=MYKERNEL
# make installkernel KERNCONF=MYKERNEL

8/ Final reboot
# shutdown -r now

I was told earlier that 7.0 -> 7.1 journey is a minor one and so I do
not need to rebuild all the ports. Is that correct?

Once again, many thanks for your advice!

-- 
Zbigniew Szalbot
www.slowo.pl
www.fairtrade.net.pl
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"