Forum Search:
HyperVM & Kloxo Support

Home » HyperVM » HyperVM Xen » 32 Bits VM on 64Bits Host
32 Bits VM on 64Bits Host [message #67097] Fri, 05 June 2009 15:13 Go to next message
feijao  is currently offline feijao
Messages: 13
Registered: February 2009
Location: Portugal
Member
Hi,

Can I have a 32 Bits VM on a 64Bits Host?

I can start VM's with 32bits HyperVM image but after install, I can't run yum.

The problem is we have 2 servers, the master with 64bits and the slave with 32bits.

Our idea was having 32bits VMS to be able to move them from server1 to server2 if something fails or if we need to upgrade the server.

We must keep the 32bits server because it is an old hardware.
Re: 32 Bits VM on 64Bits Host [message #67148 is a reply to message #67097] Fri, 05 June 2009 00:44 Go to previous messageGo to next message
lxbhargava  is currently offline lxbhargava  India
Messages: 597
Registered: May 2009
Masters

Hello,

There is no problem in using 32bit guest OS.



Thanks and Regards

S Bhargava
Lxlabs Support
Re: 32 Bits VM on 64Bits Host [message #67149 is a reply to message #67097] Sat, 06 June 2009 02:07 Go to previous messageGo to next message
feijao  is currently offline feijao
Messages: 13
Registered: February 2009
Location: Portugal
Member
The problem is if we create 32bits VM on 64bits host we cant run yum on de server.

How can we fix it?
Re: 32 Bits VM on 64Bits Host [message #67170 is a reply to message #67097] Sat, 06 June 2009 10:05 Go to previous messageGo to next message
Ales  is currently offline Ales  Slovenia
Messages: 139
Registered: July 2008
Valuable Member
What exactly is the problem, what error do you get when running yum?
Re: 32 Bits VM on 64Bits Host [message #67176 is a reply to message #67097] Sat, 06 June 2009 11:15 Go to previous messageGo to next message
feijao  is currently offline feijao
Messages: 13
Registered: February 2009
Location: Portugal
Member
Thanks for the fast answer.

We have a centos 5.2 i386 VM and if we run yum it lists all the files it wants to update and then many lines with this errors:


Error: Package libselinux needs libc.so.6(GLIBC_2.3), this is not available.
Error: Package nspr needs libdl.so.2(GLIBC_2.1), this is not available.
Error: Package MAKEDEV needs libc.so.6(GLIBC_2.4), this is not available.
Error: Package cyrus-sasl-md5 needs libc.so.6(GLIBC_2.4), this is not available.
Error: Package tcp_wrappers needs libc.so.6(GLIBC_2.1), this is not available.
Error: Package krb5-libs needs libdl.so.2, this is not available.
Error: Package cracklib needs libc.so.6(GLIBC_2.1), this is not available.
Error: Package beecrypt needs libc.so.6(GLIBC_2.3), this is not available.
Error: Package glib2 needs libpthread.so.0, this is not available.
Error: Package passwd needs libc.so.6(GLIBC_2.3.4), this is not available.
Error: Package libxml2 needs libc.so.6(GLIBC_2.3), this is not available.
Error: Package glib2 needs libdl.so.2(GLIBC_2.1), this is not available.
Error: Package db4 needs libpthread.so.0(GLIBC_2.3.2), this is not available.
Error: Package db4 needs libc.so.6(GLIBC_2.4), this is not available.
Error: Package wget needs libc.so.6(GLIBC_2.4), this is not available.
Error: Package util-linux needs libpam_misc.so.0()(64bit), this is not available.
Error: Package zlib needs libc.so.6(GLIBC_2.0), this is not available.
Error: Package nmap needs libc.so.6(GLIBC_2.1.3), this is not available.
Error: Package elfutils-libelf needs libc.so.6(GLIBC_2.2), this is not available.
Error: Package libuser needs libc.so.6(GLIBC_2.0), this is not available.
Error: Package openldap needs libc.so.6(GLIBC_2.1.3), this is not available.
Error: Package less needs libc.so.6(GLIBC_2.4), this is not available.
Error: Package openssh-clients needs libcrypto.so.6()(64bit), this is not available.
Error: Package sed needs libc.so.6(GLIBC_2.3), this is not available.
Error: Package udev needs libc.so.6(GLIBC_2.1.3), this is not available.
Error: Package dmraid needs libdevmapper-event.so.1.02()(64bit), this is not available.
Error: Package mktemp needs libc.so.6, this is not available.
Error: Package rpm-libs needs libnss3.so, this is not available.
Error: Package tcp_wrappers needs libc.so.6(GLIBC_2.1.3), this is not available.
Error: Package libacl needs libc.so.6, this is not available.
Error: Package elfutils-libs needs libdl.so.2, this is not available.
Error: Package libselinux needs libdl.so.2, this is not available.
Error: Package cyrus-sasl needs libc.so.6(GLIBC_2.2), this is not available.
Error: Package popt needs libc.so.6(GLIBC_2.1), this is not available.
Error: Package cyrus-sasl-lib needs libresolv.so.2, this is not available.
Error: Package e2fsprogs-libs needs libdl.so.2(GLIBC_2.0), this is not available.
Error: Package lvm2 needs libselinux.so.1()(64bit), this is not available.
Error: Package libstdc++ needs libm.so.6, this is not available.
Error: Package mingetty needs libc.so.6, this is not available.

I've searched and that seems to be a problem with 64bit libraries, but the VM is 32bit.

Regards.

[Updated on: Sat, 06 June 2009 11:15]

Re: 32 Bits VM on 64Bits Host [message #67698 is a reply to message #67176] Tue, 09 June 2009 17:28 Go to previous messageGo to next message
Lagniappe-labgeek  is currently offline Lagniappe-labgeek
Messages: 11
Registered: November 2008
Location: New Orleans, LA
Member
I'm seeing the same error using Centos 5 full 32bit on a x64 server,
Re: 32 Bits VM on 64Bits Host [message #67707 is a reply to message #67097] Tue, 09 June 2009 18:15 Go to previous messageGo to next message
feijao  is currently offline feijao
Messages: 13
Registered: February 2009
Location: Portugal
Member
Looking at the last sad news about hypervm, we will have to forget using it...
We will keep searching for other solutions.
Re: 32 Bits VM on 64Bits Host [message #68381 is a reply to message #67097] Sat, 20 June 2009 13:51 Go to previous messageGo to next message
arddennis  is currently offline arddennis  Ukraine
Messages: 40
Registered: February 2009
Location: Ukraine, Kharkov
Member
Hello,

you can use custom kernel for the 32bit virtual machines and yum will work fine.

Search this forum and you will find the solution to set custom kernel. You can also specify yum repos manually as for 32-bit installation, instead of having

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5


with variables in path. In most cases 64-bit kernel will be able to run 32-bit binaries.


Regards, Dennis Mischenko
Re: 32 Bits VM on 64Bits Host [message #73213 is a reply to message #67097] Wed, 10 March 2010 12:37 Go to previous message
avanuex  is currently offline avanuex  Indonesia
Messages: 3
Registered: March 2010
Member
use this
echo i386-redhat-linux> /etc/rpm/platform

before install any app on 32bit domu, hosted on 64bit dom0.
Previous Topic:importing VPS's created by virt-manager
Next Topic:PHP Engine Error: Missing a temporary folder.
Goto Forum:
  


Current Time: Fri Sep 3 07:23:06 EDT 2010

Total time taken to generate the page: 0.01875 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2009 FUDforum Bulletin Board Software