Hi, I made a disk image with CloneZilla from the original physical machine. That image was restored on an iSCSI volume. It isn't booting. I got BSOD. I tried IDE, SATA, SCSI disk type without any success. I tried to using virtio driver and if I use my image+W2k3 install CD+virtio VFD the Windows repair console see the disk and I can use the repair console with my image but the windows not start (or not booting because the system disk can't be seen by original "registry"). The drivers from virtio VFD image were copied to Windows' Driver directory manually. I tried to use virt-win-reg: rattila@amd1:~$ virt-win-reg SJ-SIMISPC /dev/disk/by-path/<iSCSI-path>:simispc-lun-2: Engedély megtagadva at /usr/bin/virt-win-reg line 260. (it means: Permission denied.) What can I do changing the original driver to virtio (or IDE/SATA/SCSI in KVM)? I can't do anything with the physical machine so the only option is playing with the disk image. TIA, Ruzsi
- What format is the image is? - Can you post an XML file of the VM config? Changing the driver to VirtIO via registry edits may exacerbate the problem. I've never done this but wouldn't it make sense to stick to the more supported IDE drive emulation until you get it booted and thus remove possible variables of it not booting? Are you able to boot the image any other way? On Sat, Jul 11, 2015 at 8:28 AM, Ruzsinszky Attila < ruzsinszky.attila@gmail.com> wrote:> Hi, > > I made a disk image with CloneZilla from the original physical machine. > > That image was restored on an iSCSI volume. > It isn't booting. I got BSOD. > I tried IDE, SATA, SCSI disk type without any success. > I tried to using virtio driver and if I use my image+W2k3 install > CD+virtio VFD the Windows repair console see the disk and I can use the > repair console with my image but the windows not start > (or not booting because the system disk can't be seen by original > "registry"). > > The drivers from virtio VFD image were copied to Windows' Driver directory > manually. > > I tried to use virt-win-reg: > rattila@amd1:~$ virt-win-reg SJ-SIMISPC > /dev/disk/by-path/<iSCSI-path>:simispc-lun-2: Engedély megtagadva at > /usr/bin/virt-win-reg line 260. > (it means: Permission denied.) > > What can I do changing the original driver to virtio (or IDE/SATA/SCSI in > KVM)? > > I can't do anything with the physical machine so the only option is > playing with the disk image. > > TIA, > Ruzsi > > _______________________________________________ > libvirt-users mailing list > libvirt-users@redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-users >
Hi, Thanks for your prompt answer! I don't know the format of the image. It was made by CloneZilla. Is that then a raw image? Of course I can post the XML of the VM config. I tried out all of the possibilities: IDE, SATA, SCSI and Virtio. The image was taken from a SATA hardware which is a normal Intel chipset. (I can check the real machine again, if it is important). I don't know whether the image booting or not. :-( How can I check it? The boot process is working because I can see the BSOD screen and the no system disk error message. Any ideas would be appreciated! TIA, Ruzsi 2015-07-11 17:40 GMT+02:00 Jeff Tchang <jeff.tchang@gmail.com>:> - What format is the image is? > - Can you post an XML file of the VM config? > > Changing the driver to VirtIO via registry edits may exacerbate the > problem. I've never done this but wouldn't it make sense to stick to the > more supported IDE drive emulation until you get it booted and thus remove > possible variables of it not booting? > > Are you able to boot the image any other way? > > > On Sat, Jul 11, 2015 at 8:28 AM, Ruzsinszky Attila < > ruzsinszky.attila@gmail.com> wrote: > >> Hi, >> >> I made a disk image with CloneZilla from the original physical machine. >> >> That image was restored on an iSCSI volume. >> It isn't booting. I got BSOD. >> I tried IDE, SATA, SCSI disk type without any success. >> I tried to using virtio driver and if I use my image+W2k3 install >> CD+virtio VFD the Windows repair console see the disk and I can use the >> repair console with my image but the windows not start >> (or not booting because the system disk can't be seen by original >> "registry"). >> >> The drivers from virtio VFD image were copied to Windows' Driver >> directory manually. >> >> I tried to use virt-win-reg: >> rattila@amd1:~$ virt-win-reg SJ-SIMISPC >> /dev/disk/by-path/<iSCSI-path>:simispc-lun-2: Engedély megtagadva at >> /usr/bin/virt-win-reg line 260. >> (it means: Permission denied.) >> >> What can I do changing the original driver to virtio (or IDE/SATA/SCSI in >> KVM)? >> >> I can't do anything with the physical machine so the only option is >> playing with the disk image. >> >> TIA, >> Ruzsi >> >> _______________________________________________ >> libvirt-users mailing list >> libvirt-users@redhat.com >> https://www.redhat.com/mailman/listinfo/libvirt-users >> > >
Hi, Here is the XML file of the my VM: <!-- WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE OVERWRITTEN AND LOST. Changes to this xml configuration should be made using: virsh edit SJ-SIMISPC or other application using the libvirt API. --> <domain type='kvm'> <name>SJ-SIMISPC</name> <uuid>b503aeb4-23e6-8c99-cce2-67c36558b950</uuid> <memory unit='KiB'>1048576</memory> <currentMemory unit='KiB'>1048576</currentMemory> <vcpu placement='static'>1</vcpu> <os> <type arch='i686' machine='pc-i440fx-trusty'>hvm</type> <boot dev='hd'/> <bootmenu enable='yes'/> </os> <features> <acpi/> <apic/> <pae/> </features> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/bin/kvm-spice</emulator> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/kvm-img/isok/Windows_2003_Server.iso'/> <target dev='hdc' bus='ide'/> <readonly/> <address type='drive' controller='0' bus='1' target='0' unit='0'/> </disk> <disk type='block' device='disk'> <driver name='qemu' type='raw'/> <source dev='/dev/disk/by-path/ip-192.168.52.142:3260-iscsi-iqn.2015-06.hu.mavrt.bbf.fc.amd2:simispc-lun-2'/> <target dev='vda' bus='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </disk> <disk type='file' device='floppy'> <driver name='qemu' type='raw'/> <source file='/kvm-img/isok/virtio-win-drivers-20120712-1.vfd'/> <target dev='fda' bus='fdc'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <controller type='usb' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='pci' index='0' model='pci-root'/> <controller type='ide' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <controller type='fdc' index='0'/> <filesystem type='mount' accessmode='passthrough'> <source dir='/kvm-other'/> <target dir='/source'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </filesystem> <interface type='network'> <mac address='52:54:00:bb:cc:a7'/> <source network='belso0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> <serial type='pty'> <target port='0'/> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> <graphics type='vnc' port='-1' autoport='yes'/> <sound model='ich6'> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </sound> <video> <model type='cirrus' vram='9216' heads='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> <memballoon model='virtio'> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </memballoon> </devices> </domain> TIA, Ruzsi