HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   Create fedora guest on debian (http://www.howtoforge.com/forums/showthread.php?t=21140)

xabin 9th March 2008 18:51

Create fedora guest on debian
 
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;
Quote:

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 11: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.1...u-repositories

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

xabin 10th March 2008 13:57

Quote:

Originally Posted by falko
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.1...u-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 20:40

I'm sorry, I've never tried this.


All times are GMT +2. The time now is 20:42.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.