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] installing a new domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] installing a new domU
From: Gabriel Patiño <gepatino@xxxxxxxxx>
Date: Tue, 18 Oct 2005 10:05:22 -0300
Delivery-date: Tue, 18 Oct 2005 13:02:40 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RV5/E+PVHhqOtkxJ50mnNEbc+btz4huRGseReNzaqXlldu/p3UXiF20h9B/K0ucXBkaquNjAKIF4owzR+7Spkk2lQfTqLDR7RwS6OYcKOsslWPZkpolJBEryhyvPPgbyPAzk4sTuMhu9Morf4zOG74xO37DJovyv/2VrIL3Qzls=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9cfa15020510180115m58e15953q6d00707ac0edf25@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: <9cfa15020510180115m58e15953q6d00707ac0edf25@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
2005/10/18, Fred Blaise <chapeaurouge@xxxxxxxxx>:
> How do you actually install a new OS inside a new domainU ?
> I assumed it'd be vmware like, meaning, given the following config:

If you want to install a Debian based distro in DomU it's quite simple:

in your Dom0 install the debootsrap package, its a debian package but
I've heard that it's also available for other distros.

This package allows you to 'install' a Debian distro inside a
directory, so now you need that directory.

Create a new partition, or a file to use as a loopback device and
mount it, for example in /mnt

now run:

debootstrap --arch i386 distro /mnt url

where:
 distro is the name of the distro to install (depending on the version
of debootstrap you could lack the script to install some
distros/versions but you should be able to find them in the net
easily)
 url is the url to the repositories archives, that depends on your
choosen distro

after the initial process, you have a filesystem with a base
debian-like system. Now you should configure the following files:
/etc/fstab
/etc/hosts
/etc/network/interfases
/etc/hostname

unmount the new filesystem
start a DomU using that filesystem as /
after login as root without password, run base-config and your system
will be finally configured.

then use apt-get or aptitude to install wathever software you like/need/want

Cheers
--
Gabriel E. Patiño

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