From: "Sujata Garera" Subject: Loading a raw hard disk image in xen Date: Mon, 12 May 2008 14:52:12 -0400 Message-ID: <47a91af40805121152t45e4dc84h755d746f000b7b24@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1664863978==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1664863978== Content-Type: multipart/alternative; boundary="----=_Part_3978_22201023.1210618332087" ------=_Part_3978_22201023.1210618332087 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello I have a 40 gig raw image of a hard disk (created using dd) that loads a Windows OS. I would like to load this image as a Windows VM inside Xen. I have been trying to boot of this disk using the following config file kernel = "/usr/lib/xen/boot/hvmloader" builder = 'hvm' memory = 1536 name = "mcforen" vcpus = 1 disk=['file:disk2bak.iso,hdc:cdrom,r'] device_model = '/usr/lib/xen/bin/qemu-dm' cdrom = '/dev/hda' stdvga=0 sdl=1 vncviewer=0 usbdevice='tablet' audio=1 serial='pty' boot='c' However I get the following error when the VM loads Boot from Hard Disk failed: could not read boot disk Any ideas how I should proceed to load this raw image in xen ? Thanks Sujata ------=_Part_3978_22201023.1210618332087 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello
I have a 40 gig raw image of a hard disk (created using dd) that loads
a Windows OS. I would like to load this image as a Windows VM inside
Xen. I have been trying to boot of this disk using the following config
file

kernel = "/usr/lib/xen/boot/hvmloader"
builder = 'hvm'
memory = 1536
name = "mcforen"
vcpus = 1
disk=['file:disk2bak.iso,hdc:cdrom,r']
device_model = '/usr/lib/xen/bin/qemu-dm'
cdrom = '/dev/hda'
stdvga=0
sdl=1
vncviewer=0
usbdevice='tablet'
audio=1
serial='pty'
boot='c'

However I get the following error when the VM loads
Boot from Hard Disk failed: could not read boot disk

Any ideas how I should proceed to load this raw image in xen ?
Thanks
Sujata
------=_Part_3978_22201023.1210618332087-- --===============1664863978== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1664863978==--