|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] installing a new domU
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
|
|
|
|
|