Disclaimer: test this yourself first, this has only been tested on a default lenny install, i have yet to test with the ksplice mods (should be ok though) - Update ksplice seems to work fine with this.
fully update your lenny system (recommended to avoid some gpg errors)
apt-get update && apt-get upgrade
i recommend rebooting here just as a safety measure
reboot
reconnect then:
change sources list
nano /etc/apt/sources.list
your sources list should look like this (for UK servers)
deb http://ftp.uk.debian.org/debian/ squeeze main deb-src http://ftp.uk.debian.org/debian/ squeeze main deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/ squeeze/updates main deb http://ftp.uk.debian.org/debian squeeze-updates main deb-src http://ftp.uk.debian.org/debian squeeze-updates main
update package lists
apt-get update
install locales update (to stop lots of annoying errors while upgrading)
apt-get install locales
update the kernel and install udev first
apt-get update && apt-get install linux-image-`uname -r|sed 's,[^-]*-[^-]*-,,'` udev
when asked for change to UUID's - select NO
now edit your /boot/grub/menu.lst and edit any reference of sda1 to xvda1 (should be 3)
also edit your /etc/fstab file to edit any references to sdaN to xvdaN (generally just 2)
reboot again
reboot
check your kernel version
uname -r
should return something starting with 2.6.32 similar to:
2.6.32-5-xen-amd64
then the final upgrade
apt-get dist-upgrade
when you are asked for options
change to dash - doesnt matter which is chosen
chainload grub 2 - NO
change to dependancy based sequencing (i selected yes and its fine)
restart services just hit enter
reboot for good luck (isnt actually needed because kernel is already up to date but better to eliminate issues ahead of crunch time
reboot
This post has been edited by anthonysomerset: 07 June 2011 - 12:56 PM

Help
This topic is locked














