LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-27-2008, 12:31 PM   #1
SoftDux
LQ Newbie
 
Registered: Jul 2006
Location: Johannesburg, South Africa
Distribution: Suse, Ubuntu, Fedora Core
Posts: 14

Rep: Reputation: 0
how do I setup a Ubuntu domU guest on a CentOS / Fedora Core XEN server?


Hi all,

Does anyone know how to install Ubuntu (either 7.10 or 8.04) as a XEN domU guest on a CentOS 5 / Fedora Core 8 XEN dom0 server?

I have tried installing Ubuntu as a fully virtualized guest, but the Ubuntu CD doesn't even bootup. I get the Linux bootloader, and that's it,it doesn't continue to boot. Odd.

When trying to install a Paravirtualized guest, I had to use the debootstrap method, but can't get it to boot up.

Quote:
xm create anya_zanet
Using config file "/etc/xen/anya_zanet".
Error: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader found\n')

This is the xen configuration:

Code:
kernel = "/boot/vmlinuz-2.6.23.1-42.fc8"
ramdisk = "/boot/initrd-2.6.23.1-42.fc8.img"
builder='linux'
memory = 256
name = "anya_zanet"
vcpus = 1
vif = [ 'bridge=xenbr0' ]
disk = [ 'phy:/dev/System/anya_zanet,hda1,w' ,  'phy:/dev/System/anya_zanet,hda2,w' ]
root = "/dev/hda1 ro"
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

So, does anyone know how to get Ubuntu working on a CentOS / Fedora Core XEN server?
 
Old 07-29-2008, 05:59 AM   #2
Pearlseattle
Senior Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 1,001

Rep: Reputation: 142Reputation: 142
Well, if I understood correctly your setup (fc8 as dom0, ubuntu as domU), the configuration line of the domU...
Quote:
kernel = "/boot/vmlinuz-2.6.23.1-42.fc8"
...is currently targeting the kernel of your dom0, or not? I might be wrong, but I really don't think that the kernel of dom0 should be used in any case - doesn't matter if paravirtualized or fully virtualized.

My paravirtualized domUs use their own kernel, but in your case if you want to run Ubuntu as a fully virtualized domU you should probably tell Xen to use the fake kernel coupled with qemu which will fully emulate the I/O devices. I think this works exactly the same way as if you would like to run Windows as a domU, therefore with ...
Quote:
kernel = '/usr/lib64/xen/boot/hvmloader'
builder = 'hvm'
device_model='/usr/lib64/xen/bin/qemu-dm'
...I mention here.

And one more thing: it would be better if you would first create an image of the Ubuntu-dvd with "dd" and refer in the configuration file to the image and not to the physical dvd-drive - the installation will be faster and I think there were/are some problems concerning reboots of the domU and not being able anymore to access the dvd-drive if that was used to perform the first boot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xen CentOS domU / guest on OpenSuSE? jantman Linux - Software 2 01-11-2010 11:01 AM
LXer: Install OpenSolaris 2008/05 DomU at Ubuntu 8.04 Desktop (Server) Xen 3.2 Dom0 ( LXer Syndicated Linux News 0 05-27-2008 09:50 PM
LXer: Install Solaris (Nevada build 87) DomU at Ubuntu 8.04 Xen 3.2 Server Dom0 (amd6 LXer Syndicated Linux News 0 05-15-2008 02:12 AM
LXer: Install SNV85 DomU at Xen 3.2 CentOS 5.1 or Ubuntu 7.10 Dom0 (64-bit) per Jurge LXer Syndicated Linux News 0 04-11-2008 02:30 PM
How to install Fedora Core 6 as a Xen guest under openSuse 10.2 imk SUSE / openSUSE 1 03-01-2007 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:09 PM.

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