kernel = "/{location_of_kernel}/{kernel}" WTF
I recently created a xen image of an ubuntu 8.10 server in the .cfg all I get is kernel = "/{location_of_kernel}/{kernel}" for where the kernel location should be. so the question is what is the default kernel that you use?
creation name: xen-ubuntu-test1-1097501-1256624352
creation name: xen-ubuntu-test1-1097501-1256624352
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?For Xen images we don't insert and supply a default kernel. Instead we let you provide it from the dom0. Since the chance of us guessing the name and location of your kernel correctly is quite small, we just use the placeholder in the configuration file.
Generally, when you've set up a Xen host, you'll have installed some kernels for use by the VMs. If not then the default dom0 kernel can also be used for the domU.
Let's pretend that you're using Ubuntu as the host machine and you've a kernel called vmlinuz-2.6.26-2-xen-686 in the /boot directory. Then you'd modify the configuration file so it looks like the following:
kernel = '/boot/vmlinuz-2.6.26-2-xen-686'
memory = 768
name = "xen-ubuntu-test1-1097501-1256624352"
disk = ['file:/xen-ubuntu-test1-1097501-1256624352.img,sda1,w','file:/swap.img,sda2,w']
root = "/dev/sda1 ro"
vif = ['mac=00:1C:79:##:##:##']
(MAC address will vary depending on your configuration file.)
You might also want to put in a line like the following (if it applies):
ramdisk = '/boot/initrd.img-2.6.26-2-xen-686'
Hope this helps.
Nicholas
The company says
this answers the question
Loading Profile...



EMPLOYEE