[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] settings for create Windows7.cfg file / for this HVM DomU, usage with lvm partition and booted from cdrom drive
Hello, I'm pushing
further my investigation, research in testing Xen VM's. I have a Xen kernel 4.0 working on Debian squeeze distro. I have 2 Debian and 1 Ubuntu PV DomU running, all using the LVM partition (/dev/sda2). Finally got bridged network from/to my DomU's. I
want to test windows as well as a HVM DomU. For this
purpose I followed following Tutorial: First I created # lvcreate -nwindows
-L20G Esp-Virt, logical volume and then I need to configure a file http://www.virtuatopia.com/index.php/Installing_and_Running_Windows_7_as_a_Xen_HVM_domainU_Guest in my windows7.cfg i got: kernel = "/usr/lib/xen-4.0/boot/hvmloader" builder='hvm' memory = 1048 vcpus=2 name = "win7" vif = ['bridge=xenbr0'] disk = ['phy:/dev/Esp-Virt/,sda,w','/media/cdrom0,scd0:cdrom,r'] acpi = 1 device_model = 'qemu-dm' boot="d" sdl=0 serial='pty' vnc=1 vnclisten="" vncpasswd="" I get an error upon xm create windows7.cfg, I tried with hda/sda/ sda2, etc but none worked: # Block device must have physical details specified !! I got also # Error: Disk image does not exist : /media/cdrom0 when I put other details for the disk stanza. I read that 'file' can be used other than 'phy' but in my case, lvm for the storage and cdrom for the source I guess it is not a choice. I suspect the disk line to be misconfigured. both 'phy' and '/media' stanza are gibberish I'm afraid, I guess! So I would like to know what would I detail in this line. I provide with a maximum of info related i.o You to propose me the better configuration, considering following: Do not hesitate to ask me providing more details as necessary, as here is all the personal insight I have. About the windows cdrom from which to pull the data, the name of it is "Windows 7 AiO v5". Other following details I use: lvm vg=Esp-Virt , lv=windows (see above), # fdisk -l Device Boot Start End Blocks Id System /dev/sda1 * 1 33814 271607808 7 HPFS/NTFS /dev/sda2 33815 37638 30716280 83 Linux // This is the LVM/PV storage area /dev/sda3 37639 38914 10243073 5 Extended /dev/sda5 * 37639 38855 9774080 83 Linux // This is the Host /dev/sda6 38856 38914 467968 82 Linux swap / Solaris Disk /dev/dm-0 ranging to dm-6 // /dev/dm-6 has 16,3G un/allocated and is intended to invite the windows HVM. ranging: there are several other virtual partitions upon xm lvcreate. All advice: Disk /dev/dm-[0-6] doesn't contain a valid partition table. I ignore this message. Set me upright again if I misexplain, I consider that the LVM partitiion, here with mentioned, is never formated and/but offers variable automatic allocation for the lv created in it as long as the pv can allow. # mount /dev/sda5 on / type ext3 (rw,errors=remount-ro) /dev/sr0 on /media/cdrom0 type udf (ro,noexec,nosuid,nodev,user=dorian) // this is good to know about for the media my windows data rely on # cat /etc/fstab /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0 // same as previous Best regards, _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |