[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] the simplest example to start


  • To: xen-users@xxxxxxxxxxxxx
  • From: Massimo Canonico <mex@xxxxxxxxxxxx>
  • Date: Tue, 12 Jun 2012 11:03:28 +0200
  • Delivery-date: Tue, 12 Jun 2012 09:07:20 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Alexander,
thanks for your reply.

Maybe my problem could be summarized with this question: how can I run a VM by using ttylinux image (or other minimal linux distro)?

In many website, they propose to download an ttylinux image and then use this config file:

kernel="/boot/kernel/xen-3.0.2/vmlinuz-2.6-xenU"
memory=64
name="ttylinux"
disk=['file:/boot/ttylinux-5.0/rootfs,sda1,w']
dhcp="dhcp"
root="/dev/sda1 ro"
extra="4"

Unfortunately, this it is not enough (ehre can I find the vmlinux-2.6-xenU required?).

So, please, if anyone has a complete example (img + kernel + ramdisk + config file) I would be very happy to see xen able to run a very minimal linux image.

Thanks in advance,
 Massimo


On 06/11/2012 06:22 PM, Alexandre Kouznetsov wrote:
El 11/06/12 03:35, Massimo Canonico escribió:
Hi,

On 06/08/2012 06:47 PM, Alexandre Kouznetsov wrote:
El 08/06/12 10:44, Massimo Canonico escribió:

Extract your ttylinux's kernel and initrd, place them somewhere under
your Dom0, make sure the VM config file has the correct path to them.
Please note that the kernel need to have Xen support. Before 3.0, it's
not the same kernel you would use to boot on a baremetal machine.
How can I extract a kernel/initdr from the ttylinux?
That depends on your particular setup. In general terms, you need to mount under Dom0 the root (or /boot, if separated) partition of your DomU, copy the files to Dom0, than unmount the partition.

If you post your VM's .cfg file, it would be possible to give you a more specific hint.

Please note, it seems like the setup you are dealing with is not very common. Not a big deal, but the "standard" way is some bit different, and this one does not falls too well under "simplest example". Although, if you get it work, it will be a nice illustration of various aspects of Xen in the nutshell. Little pain, but great didactic value.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.