Andrew McGill on Thu, 1 Feb 2001 09:02:33 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: GLUG: Upgrading


Eugene!  Some lateral thinking for you:

A fun thing you can do, if you have the hard disk space, is to install the
new distro fresh onto the same partition -- but move all the files first
-- ie, as soon as the redhat installer has booted, switch to tty02 and
type

	mount /dev/hda1 /mnt
	cd /mnt
	mkdir oldsystem
	mv * oldsystem
	cd /
	umount /mnt

Then you can pick and choose which settings you want to keep and which you
want to change.  If you don't like redhat, you can do something like this,
and go back to your old system:

	mount /dev/hda1 /mnt
	cd /mnt
	for a in * ; do [ $a != oldsystem ] && echo   $a ; done
	for a in * ; do [ $a != oldsystem ] && rm -rf $a ; done
	mv oldsystem/* .
	cd /
	chroot /mnt
	lilo
	exit
	umount /mnt

&:-)

On Jan 30 at 12:32, my computer said Eugene Grimsdell said:

> I have a stupic question.
An image of Stuart.

> I have a system with Slackware 2.0 and I want to upgrade it to say Red
> Hat 6.2.
I used Red Hat 6.1 today.  Didn't like it.  I hope 6.2 is better for you.

> Question:
> 
> Will Red Hat keep my ppp and sendmail scripts ie:
> 
> /etc/ppp/pppscripts.dailup
> and 
> /etc/sendmail.cf ........
If upgrading from Office 97 to Office 2000 can be done while preserving
your preferred animated paperclip settings, then this is possible.  But
theconfig file from sendmail 8.5 won't REALLY work with sendmail 8.11.

> Will I be able to use the upgrade selection or do I have to do a
> complete instalation - then add the users and reconfigure sendmail and
> dailup settings.
It may be easier to do it from scratch.  Really.  The newer admin tool is
probably better too ... if there are users, cut and paste from the old
passwd and group files.

> I know I'm lazy and just want to do a easy upgrade for one of my
> friends. I have done this from Mandrake 7.01 to Red Hat 7. with little
> or no problems, but then they both use .rpm formats and keep most of the
> files in the same places.
To really impress your friend, erase his/her personal data.

-- 
LINUX TRAINING
     Course:  Introduction to Linux                           -o)
       Date:  Tuesday 27 February 2001                        /\\
       Cost:  R2120.00 incl. VAT                             _\_v
   Duration:  5 evenings, 7:00 p.m. - 9:00 p.m.
   Includes:  Copy of SuSE Linux 7.0, course notes, refreshments
    Details:  http://www.ledge.co.za/training.phtml
    Contact:  training@xxxxxxxxxxx, or fax 011-803-7928

Leading Edge Business Solutions - www.ledge.co.za - 011-807-0453

How many times have you heard the phrase "scientists now agree"?
Strange how they can vote for reality, don'tcha think?