First off if you can just make a backup on the config and reinstall from the 
new 2.1 
disc that is the best. Do not do this unless you really have to!! If you have a 
development machine you shoudl really just start over. Go through the motions 
if you 
want to test out this method but in the end re-install so you have a clean 
base...[Don't say I didn't warn you!!]

Ok that out of the way I can confirm what Thomas Heimann wrote works ok.


> I have upgraded in place using this script:
> ---------------------------------------------------------------------------------------------
> rpm -Uvh audit-libs-1.0.14-1.EL4.endian0.i386.rpm --force --nodeps
> rpm -Uvh *.rpm --force --nodeps
> cd /boot
> rm System.map
> rm vmlinuz
> ln -s vmlinuz-2.6.9-42.0.3.EL.endian16 vmlinuz
> ln -s System.map-2.6.9-42.0.3.EL.endian16 System.map
> cp /boot/grub/grub.conf.rpmsave /boot/grub/grub.conf
> --------------------------------------------------------------------------------------------
> Note!!!
> 
> First you have to extract the new iso and copy all rpms
> to a location on the efw.
> Then you have to chdir to this location and start the script.
> 
> Thomas


However I would add a few steps.

1st if you are not running SMP delete all the SMP kernel modules and the SMP 
kernel. 
I did this in the rpm directory that I copied over from the ISO.

for i in `ls | grep smp`;do mv $i smp/ ; done

There is an empty smp directory which I just moved everything I did not need 
into.

Second you should grab the Devel RPMS tarball and copy these rpms into the rpm 
directory.

rpm
rpm-libs
sqlite
shadow-utils
coreutils
bash
beecrypt
findutils
pcre
bzip2-libs
neon
openssl
mktemp
expat
grep
tzdata
termcap
libgcc
ncurses
libtermcap
libstdc++
elfutils-libelf
popt
libselinux
zlib
glibc
glibc-common

Don't bother with anything else at this point AND DO NOT copy the openssh-4 it 
will 
break your sshd install. [It has no /etc/init.d/sshd and the config that 
efw-openssh 
installs will not work with it. Game over no working sshd]

Now you can just to the --force --nodeps to make it go. After it is done you 
can 
uninstall some off the orphans mostly kernel modules that you do not need 
anymore. 
You will have to reboot to get into the new kernel AND YOU DO HAVE to make the 
symbolic links to System.map and vmlinuz if you forget you will not be able to 
boot.

The orphans are most likely these

3cp4218-0.20031022-3.endian2_2.6.9_34.0.1.EL.endian14.i386.rpm
cnxADSL-6.1.2.007_PIM_2.6_1.4-5.endian2_2.6.9_34.0.1.EL.endian14.i386.rpm
eagle-usb-2.3.2-4.endian5_2.6.9_34.0.1.EL.endian14.i386.rpm
eciadsl-0.10-2.endian0.i386.rpm
gpg-pubkey-9cc2461f-4250553b.i386.rpm
kernel-module-3cp4218-0.20031022-3.endian2_2.6.9_34.0.1.EL.endian14.i386.rpm
kernel-module-cnxADSL-6.1.2.007_PIM_2.6_1.4-5.endian2_2.6.9_34.0.1.EL.endian14.i386.rpm
kernel-module-eagle-usb-2.3.2-4.endian5_2.6.9_34.0.1.EL.endian14.i386.rpm
kernel-module-pulsar-4.0.21pre2-2.endian2_2.6.9_34.0.1.EL.endian14.i386.rpm
kernel-module-unicorn-0.9.0-2.endian2_2.6.9_34.0.1.EL.endian14.i386.rpm
libidn-devel-0.5.6-2.endian0.i386.rpm
linesrv-2.1.21-0.endian9.i386.rpm
misdn-devel-0.20060601-1.endian3.2.6.9_34.0.1.EL.endian14.i386.rpm
pulsar-4.0.21pre2-2.endian2_2.6.9_34.0.1.EL.endian14.i386.rpm
unicorn-0.9.0-2.endian2_2.6.9_34.0.1.EL.endian14.i386.rpm


That's all I can think of. It worked for me on my test box but as always I 
could be 
wrong and if you can do a re-install you should. I'm going to Reinstall 2.0 
again and 
upgrade to 2.1 one more time to see if I missed anything before I do this for 
real on 
a production box. But after that I'm going wipe the devel box and install from 
2.1 
and start clean.

Good luck....


-Mike

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Efw-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/efw-user

Reply via email to