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

Re: [Xen-users] Guest O/S Questions



Another thought: http://free.oszoo.org

These are qemu images but (in principle) exporting them as a "whole disk" to a 
Xen virtual machine ought to work too.

Cheers,
Mark

On Wednesday 24 August 2005 22:58, Anthony Liguori wrote:
> Mark Williamson wrote:
> >>I have just recently discovered the XEN VMM and am trying to familiarize
> >>myself with it.  I'm a newbe at it, so bear with me.
> >
> >No probs, here goes...
> >
> >>I'd like to install an O/S onto a guest virtual machine.  Domain 0 is
> >> RHEL4 on Xen 2.0.7.  My question is how I would go about installing from
> >> a set of distribution CD's (say RHEL4 or SUSE9) into a file-backed VMM. 
> >> Can anyone help me out with this?
> >
> >Installing into a file-backed VBD from a distro CD is tricky.
>
> Actually, if you use QEMU to install the distro into a raw disk, and you
> only create one partition on the disk, you should be able to just use a
> command like this:
>
> dd skip=63 bs=512 if=qemu.img of=xen.img
>
> Keep in mind, I've not tried this myself :-)
>
> Exporting the qemu image as /dev/hda in domU and just setting your
> parameters right seems to work well and is much simplier.
>
> Regards,
>
> Anthony Liguori
>
> >  If you really
> >want to use the distro CD then the easiest thing is to install into a
> > spare partition and use that as your virtual machine disk.  (it'll also
> > perform better than a file-backed VBD)
> >
> >Otherwise, debootstrap (Debian) and rpmstrap (works with Redhat, maybe
> > Suse) may be worth looking at: just mount the loop file and use one of
> > these programs to install into the directory.
> >
> >Cheers,
> >Mark
> >
> >>Thanks,
> >>
> >>Nick Couchman
> >>Systems Integrator
> >>SEAKR Engineering, Inc.
> >>6221 South Racine Circle
> >>Centennial, CO 80111
> >>Main: (303) 790-8499
> >>Fax: (303) 790-8720
> >>Web: http://www.seakr.com
> >
> >_______________________________________________
> >Xen-users mailing list
> >Xen-users@xxxxxxxxxxxxxxxxxxx
> >http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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