Hi Andy,

thanks for the reply.

OK, so I purged all the xen-related packages and configs, and installed grub-legacy and linux-image-686-pae.  dpkg-query -l |grep xen returns nothing

/boot/grub/menu.lst looks OK, but to be safe I backed it up and generated a new one with update-grub, and zeroed out /boot/grub2/grub.cfg

still, same problem when I drop back into console, destroy the running instance, and try to boot.

Using config file "/etc/xen/travelkazoo.conf”.
Error: Boot loader didn't return any data!

Here are the non-default entries in /boot/grub/menu.lst:

title      Debian GNU/Linux, kernel 3.2.0-4-686-pae
root       
kernel     /boot/vmlinuz-3.2.0-4-686-pae root= ro 
initrd     /boot/initrd.img-3.2.0-4-686-pae

title      Debian GNU/Linux, kernel 3.2.0-4-686-pae (single-user mode)
root       
kernel     /boot/vmlinuz-3.2.0-4-686-pae root= ro single
initrd     /boot/initrd.img-3.2.0-4-686-pae

Anything else you can suggest for me to try?

Best,

-John

On 4Jul 2014, at 23:59, Andy Smith <andy@bitfolk.com> wrote:

Hi John,

On Fri, Jul 04, 2014 at 11:48:37PM +0200, John Morgan Salomon wrote:
Hi,

I’ve updated my VPS to Wheezy.  Unfortunately, I can’t get it to boot.

Xen console returns

Booting instance: travelkazoo
Using config file "/etc/xen/travelkazoo.conf".
Error: Boot loader didn't return any data!

This indicates that the /boot/grub/menu.lst file cannot be parsed.
Maybe it does not exist, or contains the wrong things. On wheezy it
would be provided by the package grub-legacy.

I am not very familiar with xen - am I supposed to run xm create in /etc/xen?

Nope, you don't even need an /etc/xen directory; the reference to
/etc/xen/travelkazoo.conf above is the config file of your VPS on
BitFolk's server.

My previous squeeze system’s backups do not have a travelkazoo.conf file in /etc/xen.  xm create /etc/xen/travelkazoo.conf doesn’t work.   xend does not exist, even though I have xen-linux-system-686-pae installed, which is supposed to include it.  So it obviously cannot run.

A guest virtual machine running under Xen does not require xend,
that's purely for the host (dom0) machine. In fact since Debian
lenny you require no Xen-specific software whatsoever.

For Debian wheezy the correct kernel package is linux-image-686-pae
which will pull in the specific kernel linux-image-3.2.0-4-686-pae.

xen utils installed is version 4.1, as is xen-hypervisor-4.1-i386 (arch is i386).  update-grub2 works fine, /boot/grub2/grub.cfg exists and looks plausible, I’ve moved /etc/grub.d/10_linux to 50_linux so 20_linux_xen is first in line once I run update-grub2.  I’ve been searching like mad and can’t seem to find anything else to try.

You should not be sing grub2, so this is probably the problem. You
need a /boot/grub/menu.lst which is provided by grub-legacy.
grub-legacy was probably removed during upgrade. If you install
grub-legacy it will probably want to remove grub2, which is fine.

It sounds like booting into rescue VM, chroot into install and
install grub-legacy will most likely fix things.

Can someone please give me a hint what I’m missing, or do I need to reinstall squeeze from scratch and restore from backup?  :(

Worst case would be to install Debian wheezy from scratch. Notes for
that are here:

   https://tools.bitfolk.com/wiki/Self-install

but I don't think it will come to that.

Here are all relevant packages installed:

ii  libc6-xen:i386                        2.13-38+deb7u1                i386
    Embedded GNU C Library: Shared libraries [Xen version]
ii  libxen-4.1                            4.1.4-3+deb7u1                i386
    Public libs for Xen
ii  libxenstore3.0                        4.1.4-3+deb7u1                i386
    Xenstore communications library for Xen
ii  linux-image-2.6-xen-686               2.6.32+29                     i386
    Linux 2.6 for modern PCs (meta-package), Xen dom0 support
ii  linux-image-2.6.32-5-xen-686          2.6.32-48squeeze4             i386
    Linux 2.6.32 for modern PCs, Xen dom0 support
rc  linux-modules-2.6.18-6-xen-686        2.6.18.dfsg.1-26etch2         i386
    Linux 2.6.18 modules on i686
ii  xen-hypervisor-4.0-amd64              4.0.1-5.11                    i386
    The Xen Hypervisor on AMD64
ii  xen-hypervisor-4.1-i386               4.1.4-3+deb7u1                i386
    Xen Hypervisor on i386
ii  xen-linux-system-3.2.0-4-686-pae      3.2.57-3+deb7u2               i386
    Xen system with Linux 3.2 on modern PCs (meta-package)
ii  xen-linux-system-686-pae              3.2+46                        i386
    Xen system with Linux for modern PCs (meta-package)
ii  xen-system-i386                       4.1.4-3+deb7u1                i386
    Xen System on i386 (meta-package)

None of the above are required. You can remove them all and install
linux-image-686-pae.

Cheers,
Andy

--
http://bitfolk.com/ -- No-nonsense VPS hosting
_______________________________________________
users mailing list
users@lists.bitfolk.com
https://lists.bitfolk.com/mailman/listinfo/users