PDA

View Full Version : Create fedora guest on debian


xabin
9th March 2008, 19:51
I have installed Xen 3.1 on Debian etch using http://www.howtoforge.com/debian_etch_xen_3.1 - it all runs correctly.
I can create Debian guests using;
xen-create-image --hostname=xen1.example.com --size=2Gb --swap=256Mb --ide \
--ip=192.168.0.101 --netmask=255.255.255.0 --gateway=192.168.0.1 --force \
--dir=/vserver --memory=32Mb --arch=i386 --kernel=/boot/vmlinuz-2.6.18-xen \
--debootstrap --dist=etch --mirror=http://ftp2.de.debian.org/debian/ --passwd

My question is, how can I create guests which is not the same as the host. So how to create a guest running Fedora or Centos on my Debian machine.

falko
10th March 2008, 12:53
Please run
ls -l /usr/lib/xen-tools
to find out which distributions are supported by xen-tools, as shown here: http://www.howtoforge.com/ubuntu-7.10-server-install-xen-from-ubuntu-repositories

For RPM-based distros such as Fedora, you must use rpmstrap instead of debootstrap.

xabin
10th March 2008, 14:57
Please run
ls -l /usr/lib/xen-tools
to find out which distributions are supported by xen-tools, as shown here: http://www.howtoforge.com/ubuntu-7.10-server-install-xen-from-ubuntu-repositories

For RPM-based distros such as Fedora, you must use rpmstrap instead of debootstrap.

Thanks, but what must be the value of --mirror= ?

Or is there any howto to installing a dist using rpmstrap?

falko
11th March 2008, 21:40
I'm sorry, I've never tried this.