WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Virt-install and creating PV DomUs via local HTTP mirror at

To: Andrew Kilham <andrew@xxxxxxxxxxxxxx>
Subject: [Xen-users] Virt-install and creating PV DomUs via local HTTP mirror at CentOS 5.2 Dom0
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Tue, 31 Mar 2009 08:40:18 -0700 (PDT)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 31 Mar 2009 08:42:50 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1238514018; bh=sJoNm7Hjvr0widifNyPpQwq5SuFOTkUm7KSrQxJey0g=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=RubMQF3j5YRq3zZ/wBDBFWb/irXdsVFUJ2Wuz6CxPGkgdx+KSu2VuwsjlSjPgcTmo+owBPrzKxy+HQHsjZhNKZCMWgnwQidDjHiepzlHmA5vRrvcqXlhvF7QWxjlKHNxCeyQMX0gfcP9dbAauSqTxDq3cMM2zB+w9SkJsNmUecU=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=XlaO7ZpLXwvuhPgIQdsnv6BSBxCXi/bOnj8nhJRSa5V5jG6fjbt5+g6Y/tZSf9sVryfBE2BY1p4UA7pITd/B4iS01y62w2Qs2q6rSSdTSsLDQ1wQM58y29Nz6vRYosfcuwZVqlSfGg+KkOMBVtXQEMiGcE9bdYv5OiSa5oAHCzM=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49D1FFAD.2040203@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bderzhavets@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
   Different option of quick virt-install PV DomU (with xen-ified kernel on ISO image)  via local HTTP mirror :-

# dd if=/dev/hde of=/etc/xen/disks/CentOS5.iso
# dd if=/dev/zero of=/etc/xen/images/CentOS5.img  bs=1024k count=12000
# chkconfig httpd on
# reboot
# mkdir  -p /var/www/html/rhel
# mount -o loop  /etc/xen/disks/CentOS5.iso  /var/www/html/rhel

In other words , create local HTTP mirror via local Apache Server

Run :-
# ifconfig
to find out your IP address (IP-Dom0) and run

# virt-install -n CentOS5PV -r 1024  -p  -f /etc/xen/images/CentOS5.img \
      -l   http://IP-Dom0/rhel

Virt-install provide you to options for location (on CentOS 5.X and Fedora 8)
1. NFS shared directory  ( --location nfs:IP:/dir1)
2. Local or remote HTTP mirror  ( --location http://IP/dir1)

B.
--- On Tue, 3/31/09, Andrew Kilham <andrew@xxxxxxxxxxxxxx> wrote:
From: Andrew Kilham <andrew@xxxxxxxxxxxxxx>
Subject: Re: AW: [Xen-users] DomU freezes during boot
To: bderzhavets@xxxxxxxxx
Cc: "Fajar A. Nugraha" <fajar@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Date: Tuesday, March 31, 2009, 7:34 AM

Hmm, someone told me the other day that I should be using xen-tools and rinse, and NOT virt-install (see http://lists.xensource.com/archives/html/xen-users/2009-03/msg00742.html).

So which one should I use and why? And if I should be using virt-install, can someone please take a look at my initial problem that I still haven't fixed in the above thread? :p

Cheers,

Andrew


Boris Derzhavets wrote:
Sure,  getting this rinse bug fixed you'll get login to DomU.
I just cannot understand why old fashioned style of PV DomUs
setup ( with all kind of debootstrap's fun) seems so attractive on the system having virt-install ready to go.
Please, advise. Where i am wrong ?

Boris.

--- On Tue, 3/31/09, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
From: Fajar A. Nugraha <fajar@xxxxxxxxx>
Subject: Re: AW: [Xen-users] DomU freezes during boot
To: "Andrew Kilham" <andrew@xxxxxxxxxxxxxx>
Cc: "Carsten Schiers" <carsten@xxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Date: Tuesday, March 31, 2009, 3:00 AM

On Mon, Mar 30, 2009 at 8:00 PM, Andrew Kilham
<andrew@xxxxxxxxxxxxxx>
wrote:
> Here is my complete /etc/inittab file on domU:

> # Run gettys in standard runlevels
> 1:2345:respawn:/sbin/mingetty tty1

> Nothing like the line you said. Should I add it in exactly as you typed
it?

Yup. Put it before the line "1:2345:respawn:" ...
I think what happens is your domU boots succesfully, but it does not
display any login prompt on console (which is xvc0).

Oh and you should also add "xvc0" to /etc/securetty.

Regards,

Fajar.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.238 / Virus Database: 270.11.33/2031 - Release Date: 03/30/09 17:56:00


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>