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

Re: [Xen-users] installing a new domU


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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