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

Re: [Xen-users] Questions


  • To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Tapas Mishra <mightydreams@xxxxxxxxx>
  • Date: Fri, 16 Apr 2010 00:41:12 +0530
  • Delivery-date: Thu, 15 Apr 2010 12:13:12 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=VaQ0CaijBOZzQZ82Mro3xwh7tZHafJTZvInwehnBbuho7+tHkGiRqrLw2FhkRw90+U DV0JLta8mMYzE3fb8s5p9C4gUE7UmS1Vj9jEJ418zAOwOZFtkhqRaYdEeljn0BxRkM8c E3l+JT4W82wMCcuwsG6kt/bJhauJNkviCLkNw=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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@xxxxxxxxx> wrote:
>
>
> 2010/4/15 Tapas Mishra <mightydreams@xxxxxxxxx>
>>
>> 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@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®.