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-devel

[Xen-devel] HVMAssist BIOS boot device problem

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] HVMAssist BIOS boot device problem
From: "Stephen Quintero" <stephen@xxxxxxxxx>
Date: Mon, 7 Jul 2008 17:24:28 -0700
Cc: Apoorva Kulkarni <Apoorva@xxxxxxxxxx>, Minh Quach <minh@xxxxxxxxx>, Eric Tessler <eric@xxxxxxxxx>
Delivery-date: Mon, 07 Jul 2008 17:25:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcjgkPq4IBHYUej3Qbexw0AJ9g921g==
Thread-topic: HVMAssist BIOS boot device problem
Hello,

The xm config option boot="c" is intended to boot from the "first" harddrive; 
however, the enumeration of harddrives is independent of device enumeration 
(hda|hdb|hdc|hdd), leading to unreliable boot device selection.

Example A:  

I am building a Windows HVM appliance which performs file-system level 
operations over mounted NTFS volumes - for example a file-system level copy.

hda is the boot disk of the appliance and contains a single active (bootable) 
primary partition.  If hdb also contains a single active primary partition, 
sometimes the appliance boots from hda and properly mounts the hdb partition 
and sometimes it misfires and boots from the hdb partition, causing a disaster 
(the contents of hdb are unknown to the appliance prior to boot).

Example B:

Make three copies of a bootable Windows image and set them up as hda, hdb, and 
hdc.  "xm create" boots from the active partition of hda.  Shutdown and reorder 
the devices, switching the images for hda and hdc.  "xm create" now boots from 
the active partition of hdc.

Is there any method to cause an HVM guest to reliably boot from hda?

Any insight would be appreciated.

Thank you,

Stephen Quintero
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel