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] Can't boot from ISO image...

To: "Mark Williamson" <mark.williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Can't boot from ISO image...
From: "Lionel Kernux" <lionel.kernux@xxxxxxxxx>
Date: Fri, 25 Jan 2008 08:51:17 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 25 Jan 2008 05:52:17 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=x8uj0wtscIp+bg5P9qNeo9+2VfDGyMY1BSqFUcKh9og=; b=ORuJH8Jx+afyXIddtC0bPNVgesoZkHcK1v95yttDRewdMhRC5l2cow7VWnmDsWFW3YpLMqgky8h3fnA8KhjnTXdXiWiiGC25BI97BvX6iAGwxZ6Rj0M9oa5vnrCAbep/EZCS+Rj2Ch4lchAI5KZjZ1FvCDrfpvt7yPq6SQRIud0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=o3tv9VWsR+kM+d0WwPSuFstkU/28h6wsLUTUEr6Wfs1CU4Fn/RqDmYYLttOA+XSI3QUryck66ph834uNkaF4CQjYBVERB8G47B1L19CLJelAlYAD9Ab725GvjamvYIx40h3gYuqlN2l2B0BjngZwsuNUu2UEjN8JBBV14Xcjx4c=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200801250038.47363.mark.williamson@xxxxxxxxxxxx>
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: <dd20e5b50801240613s44659953l47d4d1baf696ba67@xxxxxxxxxxxxxx> <200801250038.47363.mark.williamson@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hmmm...tap:aio you say....I'm googling it....can you reccomend a link
to some description and/or explanation of tap:aio?

thanks

M


On Jan 24, 2008 7:38 PM, Mark Williamson <mark.williamson@xxxxxxxxxxxx> wrote:
> Do you really need to pass the ISO as a file:/ disk anyhow?  tap:aio is
> supposed to be better and maybe it'll solve your problem into the bargain!
>
> Cheers,
> Mark
>
>
> On Thursday 24 January 2008, Lionel Kernux wrote:
> > Hi,
> >
> > I've been trying to boot from a RHEL4 install iso without much luck
> > (the xen way).
> > The Host is:
> > RHEL 5.1
> > xen-3.0.3-41.el5
> >
> > Here is my guest config:
> >
> > #  -*- mode: python; -*-
> > #==========================================================================
> >== # Python configuration setup for 'xm create'.
> > # This script sets the parameters used when a domain is created using
> > 'xm create'.
> > # You use a separate script for each domain you want to create, or
> > # you can set the parameters for the domain on the xm command line.
> > #==========================================================================
> >==
> >
> > import os, re
> > arch = os.uname()[4]
> > if re.search('64', arch):
> >     arch_libdir = 'lib64'
> > else:
> >     arch_libdir = 'lib'
> > kernel = "/usr/lib/xen/boot/hvmloader"
> > builder='hvm'
> > memory = 1536
> > shadow_memory = 8
> > name = "symbiosis"
> > pae=1
> > vif = [ 'type=ioemu, bridge=xenbr0' ]
> > disk = [
> > 'file:/var/lib/xen/images/symbiosis.img,ioemu:hda,w','file:/root/RHEL4.6-x8
> >6_64-AS-disc1.iso,ioemu:hdc:cdrom,r' ]
> > device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
> > boot="d"
> > vncunused=0
> > vncconsole=1
> > vncpasswd='secret'
> > stdvga=0
> > serial='pty'
> > usb=1
> > usbdevice='mouse'
> >
> > I run "xm create symbiosis" and get:
> >
> > Error: Device 5632 (vbd) could not be connected. losetup -r /dev/loop0
> > /root/RHEL4.6-x86_64-AS-disc1.iso failed
> >
> > But, I can manually attach the loop device like so:
> >
> > losetup -r /dev/loop# /root/RHEL4.6-x86_64-AS-disc1.iso
> >
> > No problem.
> >
> > If I do:
> >
> > losetup -r /dev/loop5 /root/RHEL4.6-x86_64-AS-disc1.iso
> >
> > and then in the config file use this:
> >
> > disk = [
> > 'file:/var/lib/xen/images/symbiosis.img,ioemu:hda,w','phy:/dev/loop5,ioemu:
> >hdc:cdrom,r' ]
> >
> > It boots off the ISO.
> >
> > Yes, it seems I can fake it out, but I'd like to get it work properly....
> >
> > Any help?
> >
> > Thanks
> >
> > M
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
>
>
>
> --
> Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/)
>

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

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