Subject: Migrating 64bit- based host/guest System to a 32bit host-System
From: "Kurt Bendlin" <kurt@bendlin.biz>
Date: Thu, 3 Jul 2008 17:59:57 +0200

 Thu, 3 Jul 2008 17:59:57 +0200
Hello Folks, 

I have a 64bit host with a 64bit Guest-Sytem. Now I would like to migrate the Guest-System
to a new Host which is a 32Bit-System. 

When starting the guest on the 32bit-System I encounter the follwing error:

vserver -vvv 64bit-guest start
New network context is 1155
Adding 10.0.8.130
New security context is 1155
vcontext: execvp("/sbin/init"): Exec format error

... Failed to start because init failed. 


Is there a flag/dirty hack on the vserver-site to start up this guest? Or how can I
make a 64bit-Guest to a 32Bit and migrate it to the new location?

Many thanks in advance

Kurt Bendlin


vserver-info
Versions:
                   Kernel: 2.6.20.20-vs2.2.0.4
                   VS-API: 0x00020200
             util-vserver: 0.30.215; Jun  8 2008, 15:50:22

Features:
                       CC: gcc, gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
                      CXX: g++, g++ (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
                 CPPFLAGS: ''
                   CFLAGS: '-g -O2 -std=c99 -Wall -pedantic -W -funit-at-a-time'
                 CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W -fmessage-length=0 -funit-at-a-time'
               build/host: i686-pc-linux-gnu/i686-pc-linux-gnu
             Use dietlibc: yes
       Build C++ programs: yes
       Build C99 programs: yes
           Available APIs: v13,net,v21,v22,v23,netv2
            ext2fs Source: kernel
    syscall(2) invocation: alternative
      vserver(2) syscall#: 273/glibc
               crypto api: beecrypt

Paths:
                   prefix:
        sysconf-Directory: ${prefix}/etc
            cfg-Directory: ${prefix}/etc/vservers
         initrd-Directory: $(sysconfdir)/init.d
       pkgstate-Directory: ${prefix}/var/run/vservers
          vserver-Rootdir: /vservers