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] how can you boot an existing linux domU off the cdrom on

To: <xen-users@xxxxxxxxxxxxxxxxxxx>, "James Pifer" <jep@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] how can you boot an existing linux domU off the cdrom on sles11 dom0?
From: "Nick Couchman" <Nick.Couchman@xxxxxxxxx>
Date: Fri, 23 Apr 2010 13:25:57 -0600
Cc:
Delivery-date: Fri, 23 Apr 2010 12:27:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> 
> Nick, 
> 
> Thanks for the response. Always appreciate your help. 
> 
> I don't think the first part will work because I need the scsi pci card
> attached for the domU when it boots. So doing it as a new installation
> won't work, unless I can somehow add that PCI device. 

Ah, I see.

> 
> The second part might work if I add the init=/bin/bash and also add
> pci=['0e:04.0','0e:04.1'] to the config. Then xm create it. So it would
> be:
> 
> xm delete domU
> modify config file for extra parameter and pci line
> xm create domU
> hopefully get to a bash prompt and have enough info to do what is needed
> xm destroy domU
> xm delete domU
> modify config again and remove "extra" parameter
> xm create domU
> 
> That cover it?

Yes, that should cover it.

> 
> Side note question. How come Citrix XenServer can do this so easily? I
> tested XenServer a couple months again, and through their XenCenter
> management package it was as easy as selecting a cd iso for the cdrom
> device, and the domU would boot. Now that I think about it, maybe that
> was only an Windows HVM domU. Maybe a linux PV would have the same
> issue...
> 

I wouldn't be surprised if XenServer makes this easier for PV domUs - 
vm-install makes it relatively easy, but, for whatever reason, virt-manager 
doesn't really make it easy to tell an existing domU to boot from CD.  The code 
is there to make it happen, just not in the correct place.

-Nick



--------
This e-mail may contain confidential and privileged material for the sole use 
of the intended recipient.  If this email is not intended for you, or you are 
not responsible for the delivery of this message to the intended recipient, 
please note that this message may contain SEAKR Engineering (SEAKR) 
Privileged/Proprietary Information.  In such a case, you are strictly 
prohibited from downloading, photocopying, distributing or otherwise using this 
message, its contents or attachments in any way.  If you have received this 
message in error, please notify us immediately by replying to this e-mail and 
delete the message from your mailbox.  Information contained in this message 
that does not relate to the business of SEAKR is neither endorsed by nor 
attributable to SEAKR.

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