Re: [bitfolk] Upgrading to Lenny

Top Page
Author: Andy Smith
Date:  
To: users
Subject: Re: [bitfolk] Upgrading to Lenny

Reply to this message
gpg: Signature made Sun Feb 15 14:33:29 2009 UTC using DSA key ID BF15490B
gpg: Good signature from "Andy Smith <andy@strugglers.net>"
gpg: aka "Andrew James Smith <andy@strugglers.net>"
gpg: aka "Andy Smith (UKUUG) <andy.smith@ukuug.org>"
gpg: aka "Andy Smith (BitFolk Ltd.) <andy@bitfolk.com>"
gpg: aka "Andy Smith (Linux User Groups UK) <andy@lug.org.uk>"
gpg: aka "Andy Smith (Cernio Technology Cooperative) <andy.smith@cernio.com>"
Hi Iain,

On Sun, Feb 15, 2009 at 02:17:28PM +0000, Iain Lane wrote:
> So, the time has come with the Lenny release for me to consider
> upgrading my VPS from etch. I remember a thread a few months ago where
> it was mentioned that Lenny's kernel had problems acting as a Xen domU.
> Is this still the case? Any other gotchas that I should be aware of?


In January I upgraded all the hypervisors and so you shouldn't have
any issues.

I would advise keeping a known working grub.conf with an Etch kernel
in it as one of the boot options, though, to begin with.

A Lenny boot stanza needs to look like this:

title Debian GNU/Linux, kernel 2.6.26-1-xen-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.26-1-xen-686 root=UUID=2ffd4d00-8acb-4f0d-b188-a612392c3678 console=hvc0 ro
initrd /boot/initrd.img-2.6.26-1-xen-686

Note the "console=hvc0"

Likewise in /etc/inittab you need:

co:2345:respawn:/sbin/getty 38400 hvc0

Also "hvc0" in /etc/securetty, but I think the normal package
upgrade does that.

And finally make sure udev is installed, but I think it is on Etch
so should remain there.

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting
Encrypted mail welcome - keyid 0x604DE5DB