Upgrading Tao remotely
Patrice Guay <[email protected]> Wed, 16 Mar 2005 08:47:28 -0500
| Newsgroups | gmane.linux.tao.general |
|---|---|
| Message-ID | <[email protected]> |
I successfully upgraded Tao1 -> Tao4 with yum and a lot of patience.
Here is my receipe for a desktop installation:
0. Make sure you have sufficient space left on your partition. I needed
about 3 Gb to perform the upgrade.
1. Remove any kernel-module you may have installed (e.g. nvidia driver,
alsa-driver, ndiswrapper, etc.).
2. Install manually yum-2.2 (testing in tao-1.0) and
tao-yumconf (tao-4) with rpm.
3. Edit /etc/yum.repos.d/taolinux.repo and replace $releasever by "4".
4. Run "yum update". It takes several minutes...
5. Note all packages having a missing dependency problem. Remove them
with "rpm -e <package>".
6. Repeat until the only error you get is:
Error: udev conflicts with kernel < 0:2.6
7. Set the initdefault at 3 in /etc/inittab.
8. If present, remove rhgb option in /etc/grub.conf.
9. Reboot the system.
10. Retreive those rpm packages from tao-4 repository:
device-mapper
gd
glibc
glibc-common
glibc-headers
glibc-utils
kernel
libselinux
lvm2
mkinitrd
module-init-tools
nscd
11. Install them with "rpm -Uvh *.rpm". You may encounter some
package dependency problems. Get all the required RPM
packages until the last error is due to lvm2 conflicting
with lvm. Sometimes, removing an optional package may help.
I had to remove webalizer and glibc-devel.
12. From now on, you should not reboot the system until the upgrade
is completed. Force the installation with "rpm -Uvh --force *.rpm".
13. Install the Tao-4 GPG key
rpm --import http://dist.taolinux.org/tao-4/i386/dist/RPM-GPG-KEY-dlp
14. Perform the upgrade: "yum -y update"
15. Check for broken symlinks
/boot/System.map
/etc/alternatives
/etc/X11/X
/usr/bin
16. Recreate your initrd:
rm /boot/initrd-2.6.9-5.0.3.EL.img
mkinitrd /boot/initrd-2.6.9-5.0.3.EL.img 2.6.9-5.0.3.EL
17. Edit /etc/fstab and comment out any uneccessary mount point
(e.g. external USB drive).
18. Reboot
19. Remove yum and tao-yumconf with rpm.
20. Reinstall yum and tao-yumconf with rpm from Tao 4 repository.
21. Reinstall packages removed at step #5 and #11.
22. Reconfigure X
(e.g. /dev/psaux -> /dev/mouse0)
23. Test X with "/sbin/init 5". If successfull, edit /etc/inittab
and set initdefault at 5.
24. Restore /etc/fstab.
--
Patrice Guay