Hello guys, I have a few questions about xen, how can I use for the host machine the physical partitions on my hard drive? And how do I install the os from a iso on my pc? Sorry for my bad english. Thanks. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I have done it on Debian so I will tell the steps that I did.Should work with modifications on other distros also. 1) Copy the CD to a directory using dd 2) Loop mount the ISO in a directory 3) Go for installation method as debootstrap and then give the path to the mounted ISO in source. In some cases you may need to compile a DomU kernel yourself.> On Thu, Apr 15, 2010 at 11:30 PM, dky hax <dkyhax@gmail.com> wrote: >> Hello guys, >> I have a few questions about xen, how can I use for the host machine the >> physical partitions on my hard drive? And how do I install the os from a iso >> on my pc? >> Sorry for my bad english.-- Tapas +91 8971248477 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Okay no problems. Insert a CD or DVD which you used to install Linux on your box. I am giving following example using Debian CD.They will be same for any other distribution. Log in as root. Do Step 1) We are copying the installation CD image as it is to our hard drive. dd if=/dev/cdrom of=/root/debian.iso bs=1024 Wait for few minutes until you get some message saying that these many Mbs have been copied. You can eject your CD Step 2) Create a directory I am doing it in /root mkdir /root/incd now mount the newly copied CD iso mount -o loop -t iso9660 /root/debian.iso /root/incd/ You should not get any error. and if you do cd /root/incd you can browse the contents of CD here. Step 3)This command is used to create Xen image but then there is some more work if you are doing it for the first time. xen-create-image --hostname=domu1 --size=150GB --swap=4096Mb --ip=192.168.0.11 --memory=2048 --arch=amd64 --role=udev --force --install-method=debootstrap --install-source=/root/incd/ Here in --install-source I have given path to mounted CD note the last parameter. This is for creating a Xen DomU on Debian. Go to the bottom of this page http://wiki.xensource.com/xenwiki/How_to_run_4_Application_servers_on_same_piece_of_hardware_with_a_separate_OS_for_each_of_them.#preview I have given a lot of references if you are new to Xen they will help you. If you do not understand post again here.Hope fully some more of us should come. On Fri, Apr 16, 2010 at 12:31 AM, dky hax <dkyhax@gmail.com> wrote:> > > 2010/4/15 Tapas Mishra <mightydreams@gmail.com> >> >> I have done it on Debian so I will tell the steps that I did.Should >> work with modifications on other distros also. >> 1) Copy the CD to a directory using dd >> 2) Loop mount the ISO in a directory >> 3) Go for installation method as debootstrap and then give the path to >> the mounted ISO in source. >> >> In some cases you may need to compile a DomU kernel yourself. > > I''m sorry, but i don''t understand these steps.... >-- Tapas +91 8971248477 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users