Re: Installing FreeBSD-6.2 & Xorg-7.2

2007-06-13 Thread John Nielsen
On Tuesday 12 June 2007 10:47:24 am John Nielsen wrote:
> On Tuesday 12 June 2007 08:55:54 am Gerard wrote:
> > I have had nothing but grief since updating to the new Xorg-7.2
> > version on my PC. Unexplained crashes, lockups, etc. No doubt, some of
> > the problems are my fault; however I cannot seem to get them corrected.
> >
> > Now, I was wondering how this would work.
> >
> > 1) Download a fresh ISO of FreeBSD-6.2 on to another PC
> > 2) Erase my HDs on the PC presently running FBSD
> > 3) Reformat the HDs
> > 4) Install the fresh copy of FBSD
> >
> > Will that give me a system that I can directly install Xorg-7.2 on to
> > or do I still have to go through the procedure shown in the "UPDATING"
> > file? Suppose I install Xorg-7.2 doing the actual install of FBSD;
> > will that make any difference? In any case, I would build a new kernel
> > ASAP after the new install.
>
> That should work fine, as long as you remember to run mergebase.sh on the
> new system. It's counterintuitive and won't have much work to do, but it
> will do useful things like create the /usr/X11R6 -> /usr/local symlink and
> change some defaults in /etc so (e.g.) rc.d and periodic scripts won't run
> twice.
>
> If it's just your ports you're trying to refresh and don't have any worries
> about your base system, you could also try something like this:
>
> 0) Back up your entire system. Also make a note of what packages you have
> installed (pkg_info > /root/pkg-list.txt, for example).
>
> 1) Delete ALL ports from your system. I find it's most efficient to do
> something like this:
>   a) make backups, esp of files in /usr/local/etc
>   b) # pkg_info | awk -F ' ' '{print $1}' | xargs pkg_delete -f

For the archives, this works better with "xargs -n 1" in place of "xargs" 
above.

JN

>   c) review remaining files under /usr/X11R6 and /usr/local, if any
>   d) # rm -r /usr/X11R6/* /usr/local/*
>
> 2) Update your base system. csup, buildworld, etc.
>
> 3) Update your ports tree. portsnap, etc.
>
> 4) Run mergebase.sh
>   # sh /usr/ports/Tools/scripts/mergebase.sh
>
> 5) Reinstall everything you want installed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Installing FreeBSD-6.2 & Xorg-7.2

2007-06-12 Thread John Nielsen
On Tuesday 12 June 2007 12:47:59 pm Gerard wrote:
> On June 12, 2007 at 10:47AM John Nielsen wrote:
> > That should work fine, as long as you remember to run mergebase.sh on the
> > new system. It's counterintuitive and won't have much work to do, but it
> > will do useful things like create the /usr/X11R6 -> /usr/local symlink
> > and change some defaults in /etc so (e.g.) rc.d and periodic scripts
> > won't run twice.
> >
> > If it's just your ports you're trying to refresh and don't have any
> > worries about your base system, you could also try something like this:
> >
> > 0) Back up your entire system. Also make a note of what packages you have
> > installed (pkg_info > /root/pkg-list.txt, for example).
> >
> > 1) Delete ALL ports from your system. I find it's most efficient to do
> > something like this:
> > a) make backups, esp of files in /usr/local/etc
> > b) # pkg_info | awk -F ' ' '{print $1}' | xargs pkg_delete -f
> > c) review remaining files under /usr/X11R6 and /usr/local, if any
> > d) # rm -r /usr/X11R6/* /usr/local/*
> >
> > 2) Update your base system. csup, buildworld, etc.
> >
> > 3) Update your ports tree. portsnap, etc.
> >
> > 4) Run mergebase.sh
> > #
> >
> > 5) Reinstall everything you want installed.
> >
> > Have fun,
>
> Having way too much fun. The system crashed again, causing me to get
> really annoyed. I decided I had, had enough and totally erased the
> HD's after coping any config files I would need to another PC first. I
> am in the process of reformatting the two 72G HDs now.
>
> Now, just so I get this straight.
>
> 1) I do a minimal install of FBSD.
> 2) Update the ports, in my case using portsnap.
> 3) Update the system files
> 4) Do a BuildWorld with custom kernel installation
> 5) Run: sh /usr/ports/Tools/scripts/mergebase.sh
> 6) Start the installation of Xorg-7.2 and other program.
>
> I am assuming that I should have the VAR as stated in the "UPDATING"
> file set prior to to actually attempting to update the system. After
> it is completed I can remove it. Is that correct?

Looks good, except I don't know what you mean by VAR. If you're talking about 
the XORG_UPGRADE environment variable you shouldn't need it as long as you 
run mergebase before trying to install xorg.

> Well, the next few days should be fun!

Indeed. I have an older laptop that's chugging through the upgrade now..

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


Re: Installing FreeBSD-6.2 & Xorg-7.2

2007-06-12 Thread John Nielsen
On Tuesday 12 June 2007 08:55:54 am Gerard wrote:
> I have had nothing but grief since updating to the new Xorg-7.2
> version on my PC. Unexplained crashes, lockups, etc. No doubt, some of
> the problems are my fault; however I cannot seem to get them corrected.
>
> Now, I was wondering how this would work.
>
> 1) Download a fresh ISO of FreeBSD-6.2 on to another PC
> 2) Erase my HDs on the PC presently running FBSD
> 3) Reformat the HDs
> 4) Install the fresh copy of FBSD
>
> Will that give me a system that I can directly install Xorg-7.2 on to
> or do I still have to go through the procedure shown in the "UPDATING"
> file? Suppose I install Xorg-7.2 doing the actual install of FBSD;
> will that make any difference? In any case, I would build a new kernel
> ASAP after the new install.

That should work fine, as long as you remember to run mergebase.sh on the new 
system. It's counterintuitive and won't have much work to do, but it will do 
useful things like create the /usr/X11R6 -> /usr/local symlink and change 
some defaults in /etc so (e.g.) rc.d and periodic scripts won't run twice.

If it's just your ports you're trying to refresh and don't have any worries 
about your base system, you could also try something like this:

0) Back up your entire system. Also make a note of what packages you have 
installed (pkg_info > /root/pkg-list.txt, for example).

1) Delete ALL ports from your system. I find it's most efficient to do 
something like this:
a) make backups, esp of files in /usr/local/etc
b) # pkg_info | awk -F ' ' '{print $1}' | xargs pkg_delete -f
c) review remaining files under /usr/X11R6 and /usr/local, if any
d) # rm -r /usr/X11R6/* /usr/local/*

2) Update your base system. csup, buildworld, etc.

3) Update your ports tree. portsnap, etc.

4) Run mergebase.sh
# sh /usr/ports/Tools/scripts/mergebase.sh

5) Reinstall everything you want installed.

Have fun,

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


Re: Installing FreeBSD-6.2 & Xorg-7.2

2007-06-12 Thread RW
On Tue, 12 Jun 2007 08:55:54 -0400
Gerard <[EMAIL PROTECTED]> wrote:

> I have had nothing but grief since updating to the new Xorg-7.2
> version on my PC. Unexplained crashes, lockups, etc. No doubt, some of
> the problems are my fault; however I cannot seem to get them
> corrected.

I had a few problems like that, but they went away after a week or so of
picking-up upgrades. In particular doing a forced update of
nvidia-driver and its dependencies fixed a few of the problems.

> Now, I was wondering how this would work.
> 
> 1) Download a fresh ISO of FreeBSD-6.2 on to another PC
> 2) Erase my HDs on the PC presently running FBSD
> 3) Reformat the HDs
> 4) Install the fresh copy of FBSD
> 
> Will that give me a system that I can directly install Xorg-7.2 on to
> or do I still have to go through the procedure shown in the "UPDATING"
> file? Suppose I install Xorg-7.2 doing the actual install of FBSD;
> will that make any difference? 

Before you install xorg, create a /usr/X11R6 directory and run the
mergebase script which will update any references to /usr/X11R6 that
are in the base system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"