D
D
Denis2011-06-09 16:49:49
Xen
Denis, 2011-06-09 16:49:49

install convirt + xen server

Hello. There is a xen server based on debian. It is necessary to fasten the web interface. My choice fell on convirture . Judging by the reviews, this is one of the most functional web faces. So, according to the instructions from the wiki , I'm trying to start a virtual machine, from which some manipulations will need to be done later. The machine starts, I connect to it via vnc and contemplate the following output: This is where it all ends. The hornbeam console says “Unknown command” to any command.

...
ata0 master: QEMU HARDDISK ATA-7 Hard-Disk 9 570 MBytes )

gPXE (http://etherboot.org) - 00:04.0 CA00 PCI2.10 INT19 PMM0020 CA00

Press F12 for boot menu.

Booting from Hard Disk...
error: out of disk
grub rescue>



Here is the VM config: Of course, the /xen/c2_appliance.disk.xm image is present in the specified directory (and then you can see that the machine detects it). How to fix?

# Automtically generated by ConVirt
import os, re
arch='i686'
if re.search('64', arch):
arch_libdir = 'lib64'
else:
arch_libdir = 'lib'

name='convirt_appliance'

kernel='/usr/lib/xen/boot/hvmloader'
builder='hvm'

memory=512
shadow_memory=10
#vcpus=1 # number of vcpu's
#cpus = "0" # all vcpus run on CPU0

pae=1
acpi=1
apic=1

vif=['mac=00:16:3e:20:d4:44,bridge=eth0']
disk=['file:/xen/c2_appliance.disk.xm,hda,w']

device_model='/usr/lib/xen/bin/qemu-dm'

# Boots from CDROM.
# Change to 'c' after Linux installation in order to boot from disk.
#boot='d'
boot='c'

sdl=0
vnc=1
vncunused=1
stdvga=1
extra=''
on_reboot='restart'
on_shutdown=''
ramdisk=''
image_name='Ubuntu_JeOS'
on_crash='destroy'
bootloader=''
vcpus=2
root=''
platform='kvm'
network_mode='tap'
arch_libdir='lib'



Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
schastny, 2011-06-11
@schastny

And I decided to take a look at Archipel. Here is my post in q&a

S
schastny, 2011-06-11
@schastny

Didn't write. :(
And I decided to take a look at Archipel. Here is my post in q&a
http://habrahabr.ru/qa/8379/
Regarding your problem. In fact, all this is somehow strange.
Something hurts a lot of options in the config, especially confused platform='kvm'
Actually, this is the first time I've seen such an option. It doesn't seem to exist in Xen, by default. Recently I climbed into Python's giblets. I don't know how it even hawala. :)
I also have type=ioemu in the vif option in my HVM configs
Maybe root=''", after all root=''/"?
A couple more guesses. Maybe the disk image is broken? Not pumped up? Because it is loaded like it starts with it, but cannot. Like if the disk was empty.
In general, I don't know. What guesses were, expressed. Might help something. :)

S
schastny, 2011-06-11
@schastny

www.convirture.com/wiki/index.php?title=C2_ubuntu_installation

S
schastny, 2011-06-11
@schastny

It's my pleasure. Unsubscribe when successfully installed and tell me what the trouble was. :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question