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

Re: [Xen-users] XenU installs

To: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Subject: Re: [Xen-users] XenU installs
From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
Date: Tue, 05 Jun 2007 21:05:52 +0100
Cc: Andre Grove <andre.grove@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 05 Jun 2007 13:04:09 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=l1J1dYUEpxPAJfjB/00QAHMTh5kJtnLfdtpqY/761gbku0QUffnVioxZhFj2I3wOac/hA7YjDymcCpTux29WWmW7pzdkCGT0jSxlP2Z9Pi0TPlnh7c10kXftXLRcbhTGNzXU9vXaK9B+rs7n8tTebRv+uyrKMHXSyAqVxh4/qh0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=ulY15cs1pyZSrjlSC1GZD3g96uRnAQnEYrvI7aEt/+VifvJDoXbkH1utQS/8oFtC/FJTyeh/KxehSaYmX8VCAt1wxUJv4BrYcS+8DKch2r5GsDLa038BUezYEyLbd5ElpsxZbERhANbh/ze2zO48xEnh2Pn/c9hFZKNL+KuUIrE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070605164544.GG15012@xxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <b26d41200706050941v52c00650v9aeec41527670c94@xxxxxxxxxxxxxx> <20070605164544.GG15012@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.12 (Windows/20070509)
Daniel P. Berrange wrote:
On Tue, Jun 05, 2007 at 05:41:58PM +0100, Andre Grove wrote:
hello all,

i've been messing around with Xen, and it seems that most HOWTOs
document installs by using prebuilt images.
i'm rather anal about my installs though, and i want to be able to
boot CDs (or ISO images). i've tried the following config:

kernel = "/boot/vmlinuz-2.6-xen"
memory = 128
name = "andre_test_01"
cpus = "1" # leave to Xen to pick
vif = [ 'bridge=xenbr0' ]
disk = [ 'file:/xendisks/andre_test.img,sda1,w',
'file:/xendisks/andre_test_swap.img,sda2,w',
'file:/xendisks/install-isoS/install.iso,hdc,r' ]
ramdisk = "/boot/initrd.img-2.6.16.33-xen"
boot = "d"

the boot = d is apparently used to boot the cdrom, but it doesn't work
for me. i've tried copying the vmlinuz and initrd.

CDROM's are only used in fully-virt guests - your config here is a paravirt
guest so there's no boot option available. Paravirt guests can only boot
off a kernel/initrd (or via a bootloader like pygrub). Fullyvirt guests
have a real BIOS so boot from the MBR of the disk, from CDROM, Floppy
or PXE from the network.
Paravirt can do certain types of network boots: look into libvirt and virt-manager and virt-install to see how it's done.

It's also possible to build an OS image in a mounted partition with rpm "--relocate" and similar tools.

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

<Prev in Thread] Current Thread [Next in Thread>