[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] settings for create Windows7.cfg file / for this HVM DomU, usage with lvm partition and booted from cdrom drive



Dorian,

On Tue, Sep 24, 2013 at 12:39 PM, Dorian Carpentier de Changy <dechangydorian@xxxxxxxx> wrote:

Le 24/09/2013 18:26, David Sutton a écrit :
Dorian,



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']

This disk line looks incorrect to me - the path to the lvm volume looks incomplete, should be something like /dev/Esp-Virt/windows ? Also, for the CDRom, it sounds like it's expecting to find an ISO image, since you've not specified the cdrom device, instead pointing at the mount point.
I can agree with your analysis. For one share, I put phy:/dev/Esp-Virt/win7,sda,w
For the other share, even if I add after all the iso name (maybe stupid question but what command shows the type of format buried on the dvd e.g. iso? In the mean time I checked it on M$ system and shows up like it is .iso) . I get the below alert. I'm unsure how to parse the parameters. If the details I provide below could help, I would be glad to know how sounds like cdrom device?
I get still the error; Block device must have physical details specified. what does it mean! Is this pointing to the cdrom device or to the logical volume part of the vg? Does it ask to format the volume lvm or should I in contrary be specifying its location?? I admit that I'm a little bit lost here and a lot confused.


Firstly, you can use -v options to make xl more verbose - for example: xl -vvvvv create <path to config>
 
I would also try something like this for the CDRom piece:

phy:/dev/sr0,hdc:cdrom,r

(/dev/sr0 is the device path, mentioned in part of what you provided). If you are not using the physical cdrom device, you have to be pointing at something like an ISO of the CDRom/DVD - this is a single file which contains the encoded contents of the disk. You should be able to make one by using the dd command - something like: dd if=/dev/sr0 of=/path/to/ISO/file/to/create

# 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.

# 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

Thank you

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

Regards,

  David
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.