Re: How to upgrade an exist freebsd to freebsd6.2 ?

2007-02-01 Thread youshi10

On Thu, 1 Feb 2007, Roland Smith wrote:


On Thu, Feb 01, 2007 at 04:02:33PM -0500, Dak Ghatikachalam wrote:

This worked great  but  on mergemaster -cv in single user , at  one point it
asked me these questions , I got nervous and puzzled

Use 'd' to delete the temporary ."x"
 Use 'i' to install the temporary ."x"
 Use 'm' to merge the temporary and installed versions
 Use 'v' to view the diff results again

# xxx refers to path for config files,  I running on default freebsd mode
and did not made any change


Config files can be enhanced/updated in between versions.


I just presses ENTER key the default ( because it advised to be left for
later consideration"

DO I just not bother any more.


If it is a file where you are certain you haven't made changes, choose
'i'. (E. g. the scripts in /etc/rc.d)

For some files it is better to keep your version, like /etc/rc.conf, or
/etc/hosts. So it's probably best to choose 'd', or save for later.

In other files, like /etc/group, you want to keep your modifications,
but you probably also want to keep the changes that the new version
makes. Sometimes the new groups are essential for the running of the
systems. In this case you can either use merge, or save it for later.

What I tend to do is to keep copies of all the config files that I have
changed in a subdirectory ~/settings. If I want to make changes
to one of those files, I make the changes in the file in ~/settings, and
then copy them to /etc. The files in ~/settings are kept under revision
control (e.g. RCS), so that I retain previous versions. This enables me
to repair things if I screw something up.

Roland
--
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


Did fry me a bit though when I moved one of my machines from 6.2-release to 
7. mergemaster toasted my /etc/group file -_-...
Isn't there a file or directive (like .keep) that tells mergemaster not to 
check or replace a file?
-Garrett

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


Re: How to upgrade an exist freebsd to freebsd6.2 ?

2007-02-01 Thread Roland Smith
On Thu, Feb 01, 2007 at 04:02:33PM -0500, Dak Ghatikachalam wrote:
> This worked great  but  on mergemaster -cv in single user , at  one point it
> asked me these questions , I got nervous and puzzled
> 
> Use 'd' to delete the temporary ."x"
>  Use 'i' to install the temporary ."x"
>  Use 'm' to merge the temporary and installed versions
>  Use 'v' to view the diff results again
> 
> # xxx refers to path for config files,  I running on default freebsd mode
> and did not made any change

Config files can be enhanced/updated in between versions.

> I just presses ENTER key the default ( because it advised to be left for
> later consideration"
> 
> DO I just not bother any more.

If it is a file where you are certain you haven't made changes, choose
'i'. (E. g. the scripts in /etc/rc.d)

For some files it is better to keep your version, like /etc/rc.conf, or
/etc/hosts. So it's probably best to choose 'd', or save for later.

In other files, like /etc/group, you want to keep your modifications,
but you probably also want to keep the changes that the new version
makes. Sometimes the new groups are essential for the running of the
systems. In this case you can either use merge, or save it for later.

What I tend to do is to keep copies of all the config files that I have
changed in a subdirectory ~/settings. If I want to make changes
to one of those files, I make the changes in the file in ~/settings, and
then copy them to /etc. The files in ~/settings are kept under revision
control (e.g. RCS), so that I retain previous versions. This enables me
to repair things if I screw something up.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpeIfH3OFGJb.pgp
Description: PGP signature


Re: How to upgrade an exist freebsd to freebsd6.2 ?

2007-02-01 Thread Dak Ghatikachalam

On 2/1/07, Dak Ghatikachalam <[EMAIL PROTECTED]> wrote:




On 1/27/07, Eric <[EMAIL PROTECTED]> wrote:
>
> Dak Ghatikachalam wrote:
> >
> >
> > On 1/26/07, *Eric* <[EMAIL PROTECTED]
> > > wrote:
> >
> > Dak Ghatikachalam wrote:
> > >
> > >
> > > On 1/26/07, *Eric* <[EMAIL PROTECTED]
> > 
> > > >>
> wrote:
> > >
> > > Halid Faith wrote:
> > > > I have a machine 6.0-RELEASE. How do I upgrade it to
> > Freebsd6.2
> > > without any problem?
> > > > Could you advise a useful site about that ?
> > > > After upgrade, May a problem like cannot login the system
> > be ?
> > > >
> > > >
> > > people seem to like my instruction set:
> > >
> > > http://mikestammer.com/dokuwiki/bsd:updateos
> > >
> > >
> > > no issues reported yet! =)
> > >
> > >
> > >
> > > I could not access ?
> > >
> > >
> > >   Permission Denied
> > >
> > > Sorry, you don't have enough rights to continue. Perhaps you
> > forgot to
> > > login?
> > >
> > >
> > >
> > >
> > >
> > sorry about that, give it a whirl now
> >
> >
> > Hi
> >
> > I browsed the page understood most part  , I happened  to read
> > theupgrade chapter  in release notes, but I remember someone on this
> > list also mentioned to read from handbook, could not find that
> >
> > BTW: Does this upgrade procedure apply and can it be used   to go from
>
> > 6.1 to 6.2 freeBSD  too ?
> >
> > Thanks
> > DAk
> yes, it will work from any version of 6 and up. It should work fine in 7
> unless the technique changes for some reason.
>
> Hope it helps you! =)
>
> Eric
>

This worked great  but  on mergemaster -cv in single user , at  one point
it asked me these questions , I got nervous and puzzled

Use 'd' to delete the temporary ."x"
  Use 'i' to install the temporary ."x"
  Use 'm' to merge the temporary and installed versions
  Use 'v' to view the diff results again

# xxx refers to path for config files,  I running on default freebsd mode
and did not made any change

I just presses ENTER key the default ( because it advised to be left for
later consideration"

DO I just not bother any more.



Please also advise if you have anything like this to perform complete update
in /usr/ports, I think I may have to use portupgrade or portinstall command

Thanks

Dak



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


Re: How to upgrade an exist freebsd to freebsd6.2 ?

2007-02-01 Thread Dak Ghatikachalam

On 1/27/07, Eric <[EMAIL PROTECTED]> wrote:


Dak Ghatikachalam wrote:
>
>
> On 1/26/07, *Eric* <[EMAIL PROTECTED]
> > wrote:
>
> Dak Ghatikachalam wrote:
> >
> >
> > On 1/26/07, *Eric* <[EMAIL PROTECTED]
> 
> > >>
wrote:
> >
> > Halid Faith wrote:
> > > I have a machine 6.0-RELEASE. How do I upgrade it to
> Freebsd6.2
> > without any problem?
> > > Could you advise a useful site about that ?
> > > After upgrade, May a problem like cannot login the system
> be ?
> > >
> > >
> > people seem to like my instruction set:
> >
> > http://mikestammer.com/dokuwiki/bsd:updateos
> >
> >
> > no issues reported yet! =)
> >
> >
> >
> > I could not access ?
> >
> >
> >   Permission Denied
> >
> > Sorry, you don't have enough rights to continue. Perhaps you
> forgot to
> > login?
> >
> >
> >
> >
> >
> sorry about that, give it a whirl now
>
>
> Hi
>
> I browsed the page understood most part  , I happened  to read
> theupgrade chapter  in release notes, but I remember someone on this
> list also mentioned to read from handbook, could not find that
>
> BTW: Does this upgrade procedure apply and can it be used   to go from
> 6.1 to 6.2 freeBSD  too ?
>
> Thanks
> DAk
yes, it will work from any version of 6 and up. It should work fine in 7
unless the technique changes for some reason.

Hope it helps you! =)

Eric



This worked great  but  on mergemaster -cv in single user , at  one point it
asked me these questions , I got nervous and puzzled

Use 'd' to delete the temporary ."x"
 Use 'i' to install the temporary ."x"
 Use 'm' to merge the temporary and installed versions
 Use 'v' to view the diff results again

# xxx refers to path for config files,  I running on default freebsd mode
and did not made any change

I just presses ENTER key the default ( because it advised to be left for
later consideration"

DO I just not bother any more.

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


Re: How to upgrade an exist freebsd to freebsd6.2 ?

2007-01-27 Thread Eric

Zbigniew Szalbot wrote:

Hello,

Oliver Iberien wrote:
  

Would you be able to say what you *should* have told mergemaster? Were
there any other tricky mergemaster bits that you did correctly but are
worth pointing out?

in a nutshell take everything it offers you unless you KNOW you have 
changed it. this would include things like the group file and the 
master.passwd file. in almost every case you will NOT want to install 
those but rather want to merge them or add the new entries on your own.


Just make sure you backup before you start and you should be fine =)

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


Re: How to upgrade an exist freebsd to freebsd6.2 ?

2007-01-27 Thread Zbigniew Szalbot
Hello,

Oliver Iberien wrote:
> Would you be able to say what you *should* have told mergemaster? Were
> there any other tricky mergemaster bits that you did correctly but are
> worth pointing out?

I failed with mergemaster -cv

I have not repeated this step so I am not sure what exectly I did that
went wrong. I can only repeat what I wrote to the list:

"It was my first encounter with mergemaster and I was a bit unsure what to
do with files in /etc. For some that I know I have not customized, I
pressed i for install, for some I pressed m, then , then q and i to
install the merged files (although - shame on me I was not aware what is
acutally being merged - it was a bit too technical and I was a bit too
scared :). With some files I pressed d.

Anyway, when I rebooted the machine, I found a lot of warnings like this:

Loading configuration files
source_rc_confs: not found
Entropy harvesting:/etc/rc: Warning: $harvest_interrupt is not set
properly - see rc.conf(5)
/etc/rc: Warning: &harvest_ethernet is not set properly - see rc.conf(5)"

I had never used mergemaster before and I really need to be sure how to
merge changes as I think the problem occured during the step I described.
Sorry I can't be of more help here. I do not have a test machine to play
around and see what I did wrong.

-- 
Zbigniew Szalbot

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


Re: How to upgrade an exist freebsd to freebsd6.2 ?

2007-01-27 Thread Oliver Iberien
On Saturday 27 January 2007 11:37, [EMAIL PROTECTED] 
wrote:
> Message: 16
> Date: Sat, 27 Jan 2007 15:59:18 +0100 (CET)
> From: "Zbigniew Szalbot" <[EMAIL PROTECTED]>
> Subject: Re: How to upgrade an exist freebsd to freebsd6.2 ?
> To: freebsd-questions@freebsd.org
> Message-ID:
> <[EMAIL PROTECTED]>
> Content-Type: text/plain;charset=utf-8
>
> Hello,
>
> >> BTW: Does this upgrade procedure apply and can it be used   to go from
> >> 6.1 to 6.2 freeBSD  too ?
> >>
> >>
> >> Thanks
> >> DAk
> >
> > yes, it will work from any version of 6 and up. It should work fine in 7
> > unless the technique changes for some reason.
>
> I upgraded from 6.1 to 6.2 last week following Eric's points which I like
> for being clear and precise. The only issue you need to be cautious about
> is when using mergmaster to merge changes for files you may have modified
> in /etc/
>
> I messed it up and as a result had to recrate /etc from a back up that I
> accidentally (mind you!) made before upgrading.
>
> Good luck!
>
> --
> Zbigniew Szalbot

Would you be able to say what you *should* have told mergemaster? Were there 
any other tricky mergemaster bits that you did correctly but are worth 
pointing out? 

Thanks,

Oliver


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


Re: How to upgrade an exist freebsd to freebsd6.2 ?

2007-01-27 Thread Zbigniew Szalbot
Hello,

>> BTW: Does this upgrade procedure apply and can it be used   to go from
>> 6.1 to 6.2 freeBSD  too ?
>>
>>
>> Thanks
>> DAk
>>
> yes, it will work from any version of 6 and up. It should work fine in 7
> unless the technique changes for some reason.

I upgraded from 6.1 to 6.2 last week following Eric's points which I like
for being clear and precise. The only issue you need to be cautious about
is when using mergmaster to merge changes for files you may have modified
in /etc/

I messed it up and as a result had to recrate /etc from a back up that I
accidentally (mind you!) made before upgrading.

Good luck!

-- 
Zbigniew Szalbot

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


Re: How to upgrade an exist freebsd to freebsd6.2 ?

2007-01-27 Thread Eric

Dak Ghatikachalam wrote:



On 1/26/07, *Eric* <[EMAIL PROTECTED] 
> wrote:


Dak Ghatikachalam wrote:
>
>
> On 1/26/07, *Eric* <[EMAIL PROTECTED]

> >> wrote:
>
> Halid Faith wrote:
> > I have a machine 6.0-RELEASE. How do I upgrade it to
Freebsd6.2
> without any problem?
> > Could you advise a useful site about that ?
> > After upgrade, May a problem like cannot login the system
be ?
> >
> >
> people seem to like my instruction set:
>
> http://mikestammer.com/dokuwiki/bsd:updateos
>
>
> no issues reported yet! =)
>
>
>
> I could not access ?
>
>
>   Permission Denied
>
> Sorry, you don't have enough rights to continue. Perhaps you
forgot to
> login?
>
>
>
>
>
sorry about that, give it a whirl now


Hi

I browsed the page understood most part  , I happened  to read 
theupgrade chapter  in release notes, but I remember someone on this 
list also mentioned to read from handbook, could not find that


BTW: Does this upgrade procedure apply and can it be used   to go from 
6.1 to 6.2 freeBSD  too ?


Thanks
DAk
yes, it will work from any version of 6 and up. It should work fine in 7 
unless the technique changes for some reason.


Hope it helps you! =)

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


Re: How to upgrade an exist freebsd to freebsd6.2 ?

2007-01-26 Thread Dak Ghatikachalam

On 1/26/07, Eric <[EMAIL PROTECTED]> wrote:


Dak Ghatikachalam wrote:
>
>
> On 1/26/07, *Eric* <[EMAIL PROTECTED]
> > wrote:
>
> Halid Faith wrote:
> > I have a machine 6.0-RELEASE. How do I upgrade it to Freebsd6.2
> without any problem?
> > Could you advise a useful site about that ?
> > After upgrade, May a problem like cannot login the system be ?
> >
> >
> people seem to like my instruction set:
>
> http://mikestammer.com/dokuwiki/bsd:updateos
>
>
> no issues reported yet! =)
>
>
>
> I could not access ?
>
>
>   Permission Denied
>
> Sorry, you don't have enough rights to continue. Perhaps you forgot to
> login?
>
>
>
>
>
sorry about that, give it a whirl now



Hi

I browsed the page understood most part  , I happened  to read theupgrade
chapter  in release notes, but I remember someone on this list also
mentioned to read from handbook, could not find that

BTW: Does this upgrade procedure apply and can it be used   to go from 6.1to
6.2 freeBSD  too ?

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


Re: How to upgrade an exist freebsd to freebsd6.2 ?

2007-01-26 Thread Jerry McAllister
On Fri, Jan 26, 2007 at 10:26:51PM +0200, Halid Faith wrote:

> 
> I have a machine 6.0-RELEASE. How do I upgrade it to Freebsd6.2 without 
> any problem?
> Could you advise a useful site about that ? 
> After upgrade, May a problem like cannot login the system be ?

The first thing to do is read the handbook section on upgrading.
Once you have absorbed that as well as possible, you can then
ask more specific and useful questions that apply to your situation.
The general how to that you ask has already been written up quite
well and getting other general responses will just confuse you
rather than help.

So, study some first and then come back to the list.

The handbook is online at the FreeBSD web site as you probably
already know.

jerry

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


Re: How to upgrade an exist freebsd to freebsd6.2 ?

2007-01-26 Thread Eric

Dak Ghatikachalam wrote:



On 1/26/07, *Eric* <[EMAIL PROTECTED] 
> wrote:


Halid Faith wrote:
> I have a machine 6.0-RELEASE. How do I upgrade it to Freebsd6.2
without any problem?
> Could you advise a useful site about that ?
> After upgrade, May a problem like cannot login the system be ?
>
>
people seem to like my instruction set:

http://mikestammer.com/dokuwiki/bsd:updateos


no issues reported yet! =)



I could not access ?


  Permission Denied

Sorry, you don't have enough rights to continue. Perhaps you forgot to 
login?



 




sorry about that, give it a whirl now
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to upgrade an exist freebsd to freebsd6.2 ?

2007-01-26 Thread Dak Ghatikachalam

On 1/26/07, Eric <[EMAIL PROTECTED]> wrote:


Halid Faith wrote:
> I have a machine 6.0-RELEASE. How do I upgrade it to Freebsd6.2 without
any problem?
> Could you advise a useful site about that ?
> After upgrade, May a problem like cannot login the system be ?
>
>
people seem to like my instruction set:

http://mikestammer.com/dokuwiki/bsd:updateos


no issues reported yet! =)




I could not access ?
Permission Denied

Sorry, you don't have enough rights to continue. Perhaps you forgot to
login?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to upgrade an exist freebsd to freebsd6.2 ?

2007-01-26 Thread Eric

Halid Faith wrote:

I have a machine 6.0-RELEASE. How do I upgrade it to Freebsd6.2 without any 
problem?
Could you advise a useful site about that ? 
After upgrade, May a problem like cannot login the system be ?


  

people seem to like my instruction set:

http://mikestammer.com/dokuwiki/bsd:updateos


no issues reported yet! =)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"