1) Make sure /etc/apt/sources.list is pointing to the RH8 apt repositories for "os", "updates", and "freshrpms" then do an "apt-get update" and an "apt-get dist-upgrade".
2) Change /etc/apt/sources.list to point to RH9 repositories for "os", "updates", and "freshrpms" (make sure the RH8 repos are commented out). Then you should be able to just do an "apt-get update" and "apt-get dist-upgrade" and it should upgrade you to RH9.
The kernel will not update automatically so if you want to upgrade it (and you will) you will have to download it from the RH9 installation and install it using the "rpm -ivh" command (don't use "-Uvh"). Set /etc/grub.conf to use the new kernel (it will add a menu entry for the new kernel but it will net set it to be the default). Now reboot your system and you should be up on RH9. After verifying the new kernel works you can remove the old one (don't forget to include the version number of the old kernel in the "rpm -e" command).
That's pretty much it.
[update]
Instead of downloading and installing the new kernel manually you can do it with apt-get, I didn't realize it until now. Just type:
- Code: Select all
# apt-get install kernel
which should give you a list similar to this:
- Code: Select all
Package kernel is a virtual package provided by:
kernel-smp#2.4.20-9 2.4.20-9
kernel-smp#2.4.20-13.9 2.4.20-13.9
kernel-bigmem#2.4.20-13.9 2.4.20-13.9
kernel-BOOT#2.4.20-9 2.4.20-9
kernel-BOOT#2.4.20-13.9 2.4.20-13.9
kernel#2.4.20-9 2.4.20-9
kernel#2.4.20-9 2.4.20-9
kernel#2.4.20-9 2.4.20-9
kernel#2.4.20-13.9 2.4.20-13.9
kernel#2.4.20-13.9 2.4.20-13.9
kernel#2.4.20-13.9 2.4.20-13.9
kernel-smp#2.4.20-8 2.4.20-8
kernel-bigmem#2.4.20-8 2.4.20-8
kernel-BOOT#2.4.20-8 2.4.20-8
kernel#2.4.20-8 2.4.20-8
kernel#2.4.20-8 2.4.20-8
kernel#2.4.20-8 2.4.20-8
You should explicitly select one to install.
You might then want to do this:
- Code: Select all
apt-get install kernel#2.4.20-13.9
Which will install the kernel and leave the original kernel as the default giving you a chance to check it out prior to making it the default. So boot the new kernel and if it works then make it the default by editing the /boot/grub/grub.conf (or /etc/grub.conf which is a symlink to the former). Change the "default=" to whichever one you want to be the default ("default=0" means the first kernel in the list will be the default).
[/update]





