Perfect XEN Setup on Debian Lenny (i386 keeps creating 64bit kernels!)

Discussion in 'HOWTO-Related Questions' started by indiehead, Mar 27, 2009.

  1. indiehead

    indiehead New Member

    hi, followed your guide at http://www.howtoforge.com/virtualization-with-xen-on-debian-lenny-amd64 and worked fine.

    the server is running debian lenny, with a 64-bit xen host and I now want to create some 32-bit client machines.

    problem is when i do ....

    xen-create-image --hostname=xen01.mybox.com --size=10Gb --swap=256Mb --ip=myip --memory=256Mb --arch=i386 --role=udev

    it creates the client but with a 64-bit kernel, not 32-bit as i specified => --arch=i386

    any ideas?

    i'm using Installation method "debootstrap" would that cause the problem?
     
  2. indiehead

    indiehead New Member

    plot thickens,

    tried...

    file /bin/ls
    which gives me...
    /bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, stripped

    so imagine it really is a 32-bit image

    found that out here...
    http://www.debian-administration.org/users/GhostR/weblog/4

    any views on this?
     
  3. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    I'm not sure if this works, but you can try to install linux-image-2.6.26-1-xen-686 on the host and then use the 686 kernel for the guest.
     

Share This Page