LinuxQuestions.org
Help answer threads with 0 replies.
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 06-03-2011, 05:35 AM   #1
ThomasRonshof
Member
 
Registered: Aug 2006
Posts: 133

Rep: Reputation: 0
Howto install an Ubuntu server as a virtual server on a Cent OS 5.6 host.


Is it possible ?

I've tried to install it as fully virtualized, but alot of errors occurs during installation.

Using para-virtualization wont even start the installation. Errors on media contents, something like that.

I'm using Ubuntu server 10.04 LTS.
Trying to install on a CentOS 5.6.

Regards.
 
Old 06-03-2011, 06:05 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
if you have errors, why are you not telling us what they are? We aren't psychic. Start again with fully virtualized installation and provide us with useful information if it doesn't work.
 
Old 06-04-2011, 06:16 AM   #3
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
sounds like you're using Xen
 
Old 06-04-2011, 06:23 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Sounds more like Qemu/KVM to me. 5.6 doesn't use Xen by default (if at all??)
 
Old 06-04-2011, 12:43 PM   #5
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
para-virtualization, under kvm?

centos 5.x has xen in it
 
Old 06-04-2011, 01:34 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Well in reality it's neither is it... it's libvirt / virtmanager / qemu with whatever it's aware of underneath it...
 
Old 06-04-2011, 02:43 PM   #7
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
paravirtualization, as such, is NEVER mentioned in virt-manager, unless you use xen
 
Old 06-05-2011, 02:27 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally Posted by dyasny View Post
paravirtualization, as such, is NEVER mentioned in virt-manager, unless you use xen
Yeah sorry, not thinking.
 
Old 06-06-2011, 10:32 AM   #9
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
10.04.2 LTS boots and installs fine under qemu-kvm for me. But then, the host is 10.04.2 LTS, too (but really, that should not matter). I've done that for all Ubuntus from 11.04 back to 9.04, plus 8.04.4 LTS. I've built a suite of pre-installed HD images for Fedora (just 15 for now), Slackware (back to 10.0) and Ubuntu ... so I have them ready for quick bootups for testing stuff for regression (to see if something broken in the latest version ever worked in an earlier version).

Maybe your ISO file is a bad download? Exactly which one did you download (exact name of ISO file as it was on the source server)? How many bytes do you have in it? What is its md5 checksum?

Also, which virtualization engine(s) is/are involved?
 
Old 06-07-2011, 01:28 AM   #10
ThomasRonshof
Member
 
Registered: Aug 2006
Posts: 133

Original Poster
Rep: Reputation: 0
Hi,

I've tried some things now and the conclusion is that ONLY 32 bit versions works. Ubuntu 10.10 32 bit server and 11.04 32 bit server. It's slow, but it gets installed. The 64 bit version gets alot of errors during install.

I use xen under Cent OS 5.6 64 bit.

I have only 2 GB ram in this testserver, and only allocate 1 GB ram for the virtual guests. Is that maybe the problem ?`

Regards.
 
Old 06-07-2011, 01:58 AM   #11
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
does your server have VT extensions?
 
Old 06-07-2011, 02:05 AM   #12
ThomasRonshof
Member
 
Registered: Aug 2006
Posts: 133

Original Poster
Rep: Reputation: 0
Yes :-)
 
Old 06-07-2011, 02:15 AM   #13
ThomasRonshof
Member
 
Registered: Aug 2006
Posts: 133

Original Poster
Rep: Reputation: 0
From RH5 Virtualization guide, I do: cat /proc/cpuinfo | grep vmx. This gives me output lines with vmx.

xm dmesg | grep VMX

gives me:

(XEN): HVM: VMX enabled
(XEN): VMX: MSR intercept bitmap enabled
 
Old 06-07-2011, 04:52 AM   #14
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
You've still not said what the errors actually are...
 
Old 06-07-2011, 05:29 AM   #15
ThomasRonshof
Member
 
Registered: Aug 2006
Posts: 133

Original Poster
Rep: Reputation: 0
I just upgraded the server with 2 Gb ram, so there's total 4 Gb of ram.

Still problems with 64 bit install media. The media's are ok. Works on a standalone server, normal install!

1 error is that it looses tcp/ip connection during installation... another is that it couldn't find a network card...

I will try again later... takes time everytime.

there's no problem installing Cent OS as the guest... only Ubuntu... :-(
 
  


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
HOWTO install packages w/o interaction on ubuntu server? Skaperen Ubuntu 3 01-18-2010 10:06 AM
Is there anyway for one Virtual Server to access the main host, or another Virtual Se abefroman Linux - Security 5 01-08-2010 08:06 PM
Bonded NICs at host OS (Ubuntu Server) bridged to virtual OS (UServ) in VMware server Xiiph Linux - Networking 1 10-21-2009 01:04 PM
Can't get Ubuntu Server Apache from Brower in Virtual PC 2007 Host RavenLX Ubuntu 7 04-14-2008 04:57 PM
How to install Ubuntu 7.10 Server on MS Virtual Server 2005 R2 TigerLilly56 Ubuntu 2 03-07-2008 02:50 PM

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

All times are GMT -5. The time now is 07:10 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