WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] creating domU from scratch

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] creating domU from scratch
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Mon, 26 Mar 2007 17:05:53 +0100
Cc: alex ganelis <alex.gan04@xxxxxxxxx>
Delivery-date: Mon, 26 Mar 2007 09:04:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <f2f8bf90703231120t6ddbfdbcg6895550bbe769d99@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <f2f8bf90703231120t6ddbfdbcg6895550bbe769d99@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.5
I'm assuming you're talking about paravirtualised domUs.

Some distributions support install in a PV domU; in this case, you need to 
locate their install kernel and initrd from the CD and use those in the 
configuration file to start the guest.

An easy way to install any distro for use in a domU is to boot the install CD 
under QEmu and run through the install procedure, then just use that 
installed image with the Xen configuration.

> I have used a pre-created images to start domU's,
> but if i want to create a domU from scratch(i have only the installation
> ISO) - what should i do?
> My idea is to do the following:
> 1) create the image file itself.
> 2) copy all the files from the location where i installed some distro(for
> example, hda4 - where fedora is installed) except the files inside /boot
> partition, to the image file.
> 3) create initrd and config file.

Something like this would probably work too.

Debian and (I think) Ubuntu can also be installed using a tool 
called "debootstrap" which will set up an installation in a directory.  You 
just need to mount the virtual disk you wish to install to and then point 
them to it.  Debootstrap will compile and run on non-Debian distros.

Cheers,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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

<Prev in Thread] Current Thread [Next in Thread>