Hi,
On Wed, Apr 28, 2010 at 12:58:50PM +0000, Andy Smith wrote:
Secondly, if you are considering upgrading an Ubuntu
VPS to 10.04 I
would recommend waiting until after the weekend. I haven't tried it
yet myself, though I do hope to do so.
The first attempt earlier today seems to have gone well.
I started with a clean 8.04 LTS image, did a dist-upgrade to get all
the updates, and then followed the instructions at:
http://www.ubuntu.com/getubuntu/upgrading#Network%20Upgrade%20for%20Ubuntu%…
to upgrade it to 10.04.
I allowed it to do everything it wanted to do, but at the end when
it wanted to reboot I told it no.
I made an /etc/init/hvc0.conf file that looks like this:
#----8<---------------------------------------------------------------------
# hvc0 - getty
#
# This service maintains a getty on hvc0 from the point the system is
# started until it is shut down again.
start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]
respawn
exec /sbin/getty -8 38400 hvc0
#----8<---------------------------------------------------------------------
I found that update-grub wouldn't find linux-image-2.6.32-21-generic
as it kept saying it was a non-Xen kernel while I'm on Xen (probably
because at this point I was still booted in the 8.04 Xen kernel) so
I made sure there was a manual stanza in /boot/grub/menu.lst that
looked like:
#----8<---------------------------------------------------------------------
title Ubuntu 10.04 LTS, kernel 2.6.32-21-generic-pae
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-21-generic-pae
root=UUID=d8affdac-b42e-42da-9faf-a54b4ad3a31d ro console=hvc0
initrd /boot/initrd.img-2.6.32-21-generic-pae
#----8<---------------------------------------------------------------------
I made sure not to have any clocksource=jiffies of xencons=tty there
in the kernel parameters.
I then shut down and booted from the xen shell into this kernel and
it seems OK so far. After boot I was able to update-grub to get a
proper generated menu.lst.
This was done on faustino which is Debian Lenny; other servers are
older and using backported stuff so it may not work (the same|at
all); I still have to test that. The following servers have the
same versions of host kernel and Xen stuff so I expect them to work
similarly:
barbar
dunkel
faustino
So if you are brave you may wish to try this. I would still
recommend you put in a support ticket for a snapshot to be done so
you can easily roll back should you need to.
Alternatively if you're interested in moving to Lucid then for a
limited time (and subject to capacity) I am willing to set you up a
new Lucid VPS that you can run concurrently with your existing VPS
for 2 weeks at no charge, to migrate things over.
I'll report back with further findings.
Cheers,
Andy
--
http://bitfolk.com/ -- No-nonsense VPS hosting
"When the Opposition's here, you tell them nothing except where the toilets
are, and you lie about that." -- Malcolm Tucker