Re: Migrate Win2k3 to KVM

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

 



I agree with Pierre.

Basically the image you have from CloneZilla has lots of settings inside it that tell the image itself where the boot drive is.
The way I've done it in the past is to mount the image using whatever filesystem it uses (NTFS in this case). Make sure it is writable. And then start mucking around with the boot settings of the Windows image.

I don't know if Windows 2013 still uses boot.ini but that is one source. You need to try and change the default system disk on the image. One other way you can do it is possibly by booting the Windows 2013 rescue disk and using command line utilities. This may or may not work. If it does let me know.

Something like this:
http://stackoverflow.com/questions/20239172/how-do-i-find-a-missing-hard-drive-in-windows-7


On Sat, Jul 11, 2015 at 9:18 AM, Pierre Schweitzer <pierre@xxxxxxxxxxx> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Having the BSOD value (first ID) should provide intel about what's
getting wrong in your setup.

It's likely that your storage stack is incomplete in your setup due to
hardware change for HDD, and thus, Windows cannot find its boot device
any longer.

Reading this KB might help: https://support.microsoft.com/en-us/kb/314082

Once you get proper booting with IDE, you can consider installing
virtio drivers and switching to virtio.

With my best regards,

On 11/07/2015 17:56, Ruzsinszky Attila wrote:
> 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
>
>
>
> _______________________________________________ libvirt-users
> mailing list libvirt-users@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/libvirt-users
>


- --
Pierre Schweitzer <pierre at reactos.org>
System & Network Administrator
Senior Kernel Developer
ReactOS Deutschland e.V.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBAgAGBQJVoUHNAAoJEHVFVWw9WFsLNQ4P/jpl2XGESzOHkO7l0ZIBlRFk
zFbpRgZJH345HWQyxt++sWo7gcdEUP7zRkUyKRlfr2INVAWam0Sblph5Z+DWQ8h4
T7EkOolH/h135R2W1cOtIi47XokSQOMP4atmSt+1/EQ+bEdAntEtnqzipb8Hz/c0
1bzsuHJIDpz1e+lBfhbdo2TS9D0ADRNpdxTKTaw1+pflc6Pd0nGvzG7nkBAz8X8X
d+sDC1T0b4tItg6JkwN0Hn67QC+FFzrVm9bXIgyOiH/HWX+jjPItub1NT46YF6M1
gVms+ZgL2IACq2487mhgaGYo6C24e1yHtCG5bD3RNoXDZ6SJTH8jYtvNGItNnl2n
QegNp+Dit/SWJ2x+CoJkkm+5Ay2PKAJYQlV/U1Vme+U+LS/YcF5FGXpPGZjX8XzE
IyuLA+j6cuiCT5aIQCb2eAZ8VK1wxSLmW6QzA7PAAVuWEb5H16e5t1CjJ1jeVtr7
TAbPvrwjfNyc31xjJNQYgoknR3PS+4u/P5BHClxI3Bt9qEHq2iwa9bqIIRXlORvy
1eg7+dgPn3yEuCQ6TzoPqq85b3Hp8chQOCkpYdDf+J4y9MpBj2VO/741eV3Y0Bkd
FxiY16ZGtp54L+gU0uL/wqgg3GjKbbrVXRpH1tdwxylXZHDMEocup1/AuqIw908y
zrdO9mfckV3k5xfcBrbh
=oW4B
-----END PGP SIGNATURE-----

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux