LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 01-03-2011, 08:54 AM   #1
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Which version of VirtualBox 3.2.10 for CentOS 5.5?


Hello

Which of the many versions of VirtualBox 3.2.10 listed here is right for a CentOS 5.5 system on which both the arch and uname -m commands report i686?

Running the VirtualBox-3.2.10-66896-Linux_amd64.run file, downloaded from "All distributions i386 | AMD64", gave "Detected unsupported x86 environment".

For VirtualBox 4.0 (too early for that yet) this download page lists "Red Hat Enterprise Linux 5 ("RHEL5") / Oracle Enterprise Linux 5 ("OEL5") / CentOS 5 i386 | AMD64" so maybe the right version of 3.2.10 is "Red Hat Enterprise Linux 5 ("RHEL5") i386 | AMD64".

Or, maybe, the reported i686 is misleading and a 32-bit version is required.


Best

Charles
 
Old 01-03-2011, 08:58 AM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Use the i386.
 
Old 01-03-2011, 08:59 AM   #3
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello Charles,

Are you getting that error when installing the .run file or when trying to install a 64bit OS in a virtual machine? I never had any problems using the .run file.

Kind regards,

Eric

PS: To clarify a bit, I installed the AMD (64bit) version on a 64bit host system and still had to enable the a 'virtual' option (don't remember which one) in my BIOS so that VirtualBox was able to detect my CPU as 64bit. Are you referring to that?

Last edited by EricTRA; 01-03-2011 at 09:03 AM.
 
Old 01-03-2011, 09:24 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578

Original Poster
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by brianL View Post
Use the i386.
Thanks Brian
 
Old 01-03-2011, 09:38 AM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578

Original Poster
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by EricTRA View Post
Hello Charles,

Are you getting that error when installing the .run file or when trying to install a 64bit OS in a virtual machine? I never had any problems using the .run file.

Kind regards,

Eric

PS: To clarify a bit, I installed the AMD (64bit) version on a 64bit host system and still had to enable the a 'virtual' option (don't remember which one) in my BIOS so that VirtualBox was able to detect my CPU as 64bit. Are you referring to that?
Thanks Eric

The error is while trying to install VirtualBox on what will be the host.

From the VirtualBox manual:

3.1.2 64-bit guests

Starting with version 2.0, VirtualBox supports 64-bit guest operating systems. Starting with version 2.1, you can even run 64-bit guests on a 32-bit host operating system. The hardware prerequisites are identical for both cases. In particular, 64-bit guests are supported under the following conditions:
  1. You need a 64-bit processor with hardware virtualization support (see chapter 10.2, Hardware vs. software virtualization, page 146).
  2. You must enable hardware virtualization for the particular VM for which you want 64-bit support; software virtualization is not supported for 64-bit VMs.
  3. If you want to use 64-bit guest support on a 32-bit host operating system, you must also select a 64-bit operating system for the particular VM. Since supporting 64 bits on 32-bit hosts incurs additional overhead, VirtualBox only enables this support upon explicit request.
From the referenced page 146: Note: On many systems, the hardware virtualization features first need to be enabled in the BIOS before VirtualBox can use them.

You were probably recalling point 1.

The processor is an Intel Core 2 Duo E4500 2.20 GHz and there is no such setting in the BIOS so I'm probably out of luck on that one and will have to install a 32-bit guest -- not ideal because this is for testing prior to installing a 64-bit OS on production hardware.
 
Old 01-03-2011, 09:46 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Intel Core 2 Duo E4500 2.20 GHz
Are you sure that's only a 32-bit processor? Run cat /proc/cpuinfo, and look for lm in the flags. If lm is included, it's 64-bit. And the vmx flag for virtualisation capability (or whatever).

Last edited by brianL; 01-03-2011 at 09:51 AM.
 
Old 01-03-2011, 09:52 AM   #7
Slax-Dude
Member
 
Registered: Mar 2006
Location: Valadares, V.N.Gaia, Portugal
Distribution: Slackware
Posts: 528

Rep: Reputation: 272Reputation: 272Reputation: 272
Quote:
Originally Posted by catkin View Post
Or, maybe, the reported i686 is misleading and a 32-bit version is required.
Please note that i686 is not the same as 64bits...

Are you running CentOS 5.5 32 bits or 64bits on the host?

It looks like you are trying to run a 64bit version of virtualbox on a 32bit operating system...

Last edited by Slax-Dude; 01-03-2011 at 10:08 AM.
 
1 members found this post helpful.
Old 01-03-2011, 09:55 AM   #8
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578

Original Poster
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by brianL View Post
Intel Core 2 Duo E4500 2.20 GHz
Are you sure that's only a 32-bit processor? Run cat /proc/cpuinfo, and look for lm in the flags. If lm is included, it's 64-bit. And the vmx flag for virtualisation capability (or whatever).
According to Intel's product page it is 64 bit bit does not have the VT-x feature
 
Old 01-03-2011, 11:35 AM   #9
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by catkin View Post
According to Intel's product page it is 64 bit bit does not have the VT-x feature
You don't need VT-x to run VirtualBox. From the manual:
Quote:
No hardware virtualization required. For many scenarios, VirtualBox does not require the processor features built into newer hardware like Intel VT-x or AMD-V. As opposed to many other virtualization solutions, you can therefore use VirtualBox even on older hardware where these features are not present. The technical details are explained in the section called “Hardware vs. software virtualization”.
 
Old 01-03-2011, 11:53 AM   #10
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578

Original Poster
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by brianL View Post
You don't need VT-x to run VirtualBox.
Thanks Brian True but you do need VT-x to run a 64-bit guest on a 32-bit host. I'm not yet clear what a 32-bit host is I'm thinking it might be a host with a 32-bit OS or it might be a host that looks like 32-bit to VirtualBox -- which is what the error message might be saying unless I've got the wrong .run package ...
 
Old 01-03-2011, 11:57 AM   #11
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Yeah, yours (the Centos 5.5) is a 32-bit host, i686, unfortunately.

Last edited by brianL; 01-03-2011 at 11:58 AM.
 
1 members found this post helpful.
Old 01-03-2011, 12:26 PM   #12
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578

Original Poster
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by brianL View Post
Yeah, yours (the Centos 5.5) is a 32-bit host, i686, unfortunately.
Brian, I am so stupid, I did not realize an i686 was 32-bit (686 is such a big number, it ought to be 64-bit!). That's where you were coming from with your first post in this thread and thank you for putting me straight. My gob is smacked, my flast is gabbered and my flum is oxxed that the people who set this box up installed the 32-bit version of CentOS 5.5!
 
Old 01-03-2011, 12:38 PM   #13
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by catkin View Post
my flast is gabbered
Shouldn't that be: my flabber is gasted?
Tell whoever it was to put a 64-bit version on immediately, or they'll be gobsmacked (literally).
 
Old 01-03-2011, 12:42 PM   #14
Slax-Dude
Member
 
Registered: Mar 2006
Location: Valadares, V.N.Gaia, Portugal
Distribution: Slackware
Posts: 528

Rep: Reputation: 272Reputation: 272Reputation: 272
Quote:
Originally Posted by catkin View Post
I'm not yet clear what a 32-bit host is I'm thinking it might be a host with a 32-bit OS or it might be a host that looks like 32-bit to VirtualBox -- which is what the error message might be saying unless I've got the wrong .run package ...
A 32bit host is a host machine running a 32bit operating system.
As expected, a 32bit OS can't run 64bit applications... which is what I thick you are trying to do, by running a 64bit version of virtualbox on a 32bit version of CentOS 5.5
To find out which one you have, post the output of
Code:
zcat /proc/config.gz | grep CONFIG_X86_32
and
Code:
zcat /proc/config.gz | grep CONFIG_X86_64
 
1 members found this post helpful.
Old 01-03-2011, 12:45 PM   #15
Slax-Dude
Member
 
Registered: Mar 2006
Location: Valadares, V.N.Gaia, Portugal
Distribution: Slackware
Posts: 528

Rep: Reputation: 272Reputation: 272Reputation: 272
Quote:
Originally Posted by catkin View Post
I did not realize an i686 was 32-bit (686 is such a big number, it ought to be 64-bit!).
So... I guess you didn't read my first post, heh? :-)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] CentOS 5 won't start in virtualbox eveningsky339 Linux - Virtualization and Cloud 3 12-30-2013 10:00 AM
Latest Version of VirtualBox Kernel Errors on CentOS 5, i386 Doctorzongo Linux - Desktop 15 04-21-2012 08:42 AM
CentOS in one VirtualBox, Windows in another - can I set up Samba in the CentOS VB? ismism Linux - Newbie 10 08-08-2010 03:34 PM
networking in centos (through virtualbox) sycamorex Linux - Wireless Networking 4 09-16-2008 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 09:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration