Here goes (and appologies for missing it out last time round):
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 = 128
shadow_memory = 8
name = "ExampleHVMDomain"
vcpus=2
acpi=1
apic=1
vif = [ 'type=ioemu, bridge=xenbr0' ]
disk = [ 'file:/root/winxp.img,hda,w', 'phy:/dev/hdd,hdc:cdrom,r' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
boot="d"
sdl=1
vnc=0
vncpasswd = 'foo'
stdvga=0
serial='pty'
usb=1
usbdevice='tablet'
Note: if Win2K doesn't work, try WinXP or Win2K3 as those are KNOWN to
work - we do know that different versions of Windows have slightly
different peculiarities, and although all of the Xen community is trying
to ensure that all variations work in all combinations of hardware and
software configurations (AMD/Intel, 32/32p/64-bit), the matrix becomes
quite big, so not every single changeset will be run with all
variants...
--
Mats
> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Mark Ryden
> Sent: 04 December 2006 16:54
> To: Petersson, Mats
> Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-users] Howto about how to install windows
> 2000 from a cd under Xen (linux ) - newbie
>
> Mats,
> Tnanks, this encourages me !
>
> >The following is my input to "xm create" for a Win2k3
> installation (yes,
> >I was lazy and re-used the winxp config file, so some things
> reference
> >"winxp" instead of "win2k3" - you may want to search for "win" and
> >manually replace it with a suitable name).
>
> It seems to me that the config file for winxp/win2k3 was
> somehow omitted from
> your message; can you please send it ?
>
> Regards,
> Mark
>
>
> On 12/4/06, Petersson, Mats <Mats.Petersson@xxxxxxx> wrote:
> >
> >
> > > -----Original Message-----
> > > From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> > > [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf
> Of Mark Ryden
> > > Sent: 04 December 2006 16:17
> > > To: xen-users@xxxxxxxxxxxxxxxxxxx
> > > Subject: [Xen-users] Howto about how to install windows 2000
> > > from a cd under Xen (linux ) - newbie
> > >
> > > Hello,
> > > 1) Can anyone please point me (or explain) to a step by
> step working
> > > tutorial/howto on what
> > > should be done in order to install windows 2000 from a cd
> > > under Xen on a linux
> > > x86_64 AMD machine (which has virtulaization , aka SVM ,
> > > support , as can be
> > > seen from cat /proc/cpuinfo ). Preferably also give an
> example of what
> > > should be
> > > the input file to "hm create" in case this is done with
> "xm create".
> >
> > The following is my input to "xm create" for a Win2k3
> installation (yes,
> > I was lazy and re-used the winxp config file, so some
> things reference
> > "winxp" instead of "win2k3" - you may want to search for "win" and
> > manually replace it with a suitable name).
> >
> > You'll probably also need to replace the
> "phy:/dev/hdd,hdc:cdrom" with
> > whatever your physical CDROM drive happens to be in your system).
> >
> > I don't know for sure that this works for win2k, but I
> would think so
> > (although there's something funny about Win2k and the speed
> of writing
> > to the screen during that first startup-phase that may not work in
> > AMD-systems).
> >
> > >
> > > 2) My machine has Fedora Core 6, which has a virt-manager and
> > > xen kernel
> > > by deault.
> > > Can this be done with the virt-manager ?
> > > (BTW, I had succeeded installing a paravirtualized linux FC6
> > > with virt-manager
> > > on this machine).
> >
> > Probably possible, but I've never tried.
> >
> > --
> > Mats
> > >
> > > Regards,
> > > Mark
> > >
> > > _______________________________________________
> > > Xen-users mailing list
> > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > http://lists.xensource.com/xen-users
> > >
> > >
> > >
> >
> >
> >
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>
>
>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|