unable to start 2003 server VM


jpimlott

Recommended Posts

I have a running 2003 server on virtual box running on a corei3 win10 box. I want to move that server on to

my new corei7 6700k unraid box. I have a windows 10 VM running on there now with pass through working.

I converted the vmdk file to a raw file per the instructions on limetech.

The new 2003 VM does not boot from the drive.

I can load that same drive a secondary drive  and see all the files on it.

The only partition on the drive is marked active and passes check disk.

I have tried all the different seabios machines and all of them do the same.

The VM is set to boot to IDE. When started the host cpu for the one core goes to %100 and the vnc shows booting from hard disk.

If I set it to sata or virtio then is says a disk error has occurred please press clt alt del

 

John

 

 

Link to comment

I have a running 2003 server on virtual box running on a corei3 win10 box. I want to move that server on to

my new corei7 6700k unraid box. I have a windows 10 VM running on there now with pass through working.

I converted the vmdk file to a raw file per the instructions on limetech.

The new 2003 VM does not boot from the drive.

I can load that same drive a secondary drive  and see all the files on it.

The only partition on the drive is marked active and passes check disk.

I have tried all the different seabios machines and all of them do the same.

The VM is set to boot to IDE. When started the host cpu for the one core goes to %100 and the vnc shows booting from hard disk.

If I set it to sata or virtio then is says a disk error has occurred please press clt alt del

 

John

 

You can try using the vmdk as it is. You dont need to convert it.It should work.

You will need seabios for bios type no point trying ovmf will not work for 2003.

They using both i440fx as well as q35.

For vnc try setting the graphics type to cirrus

 

Link to comment

so when you get it to start booting from disk does it have any of the win 2003 boot screen come up.

Please post your xml. I will make a up 2003 vm tomorrow (UK) and see how i get as thats one i haven't run before.

Just one other idea whilst i write this.

1.Make a backup of the vmdk then run it in your virtual box.

2.Then load the virtio drivers for 2003 from the virtio driver iso whilst its up and running in virtual box

3. Then shut down the vm in virtual box.

4. Then copy the vmdk back and try it on unraid with the virtio as vdisk driver rather than ide

Link to comment

I have WHSv1 (2003 SBS underneath) running in a VM on one of my unRAID servers.

 

What else would you like to see if XML below isn't enough for working system?:

<domain type='kvm' id='1'>
  <name>ServerWHS</name>
  <uuid>hidden</uuid>
  <description>Windows Home Server</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="windowsxp.png" os="windows10"/>
  </metadata>
  <memory unit='KiB'>3145728</memory>
  <currentMemory unit='KiB'>3145728</currentMemory>
  <memoryBacking>
    <nosharepages/>
    <locked/>
  </memoryBacking>
  <vcpu placement='static'>4</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='14'/>
    <vcpupin vcpu='1' cpuset='15'/>
    <vcpupin vcpu='2' cpuset='30'/>
    <vcpupin vcpu='3' cpuset='31'/>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-i440fx-2.3'>hvm</type>
  </os>
  <features>
    <acpi/>
    <apic/>
    <hyperv>
      <relaxed state='on'/>
      <vapic state='on'/>
      <spinlocks state='on' retries='8191'/>
      <vendor id='none'/>
    </hyperv>
  </features>
  <cpu mode='host-passthrough'>
    <topology sockets='1' cores='2' threads='2'/>
  </cpu>
  <clock offset='localtime'>
    <timer name='hypervclock' present='yes'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='writeback'/>
      <source file='/mnt/cache/VMs/ServerWHS/boot.qcow2'/>
      <backingStore/>
      <target dev='hdc' bus='virtio'/>
      <boot order='1'/>
      <alias name='virtio-disk2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/cache/VMs/ISOs/en_windows_home_server_installation_disc_x86_dvd_x14-24276.iso'/>
      <backingStore/>
      <target dev='hda' bus='ide'/>
      <readonly/>
      <boot order='2'/>
      <alias name='ide0-0-0'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/user/VMs/ISOs/virtio-win-0.1.96.iso'/>
      <backingStore/>
      <target dev='hdb' bus='ide'/>
      <readonly/>
      <alias name='ide0-0-1'/>
      <address type='drive' controller='0' bus='0' target='0' unit='1'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <alias name='usb'/>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <alias name='usb'/>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <alias name='usb'/>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'>
      <alias name='pci.0'/>
    </controller>
    <controller type='ide' index='0'>
      <alias name='ide'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <alias name='virtio-serial0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:8c:a0:61'/>
      <source bridge='br0'/>
      <target dev='vnet0'/>
      <model type='virtio'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/0'/>
      <target port='0'/>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/0'>
      <source path='/dev/pts/0'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-ServerWHS/org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='tablet' bus='usb'>
      <alias name='input0'/>
    </input>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='5900' autoport='yes' websocket='5700' listen='0.0.0.0' keymap='en-us'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='vmvga' vram='16384' heads='1'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x0d' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
    </hostdev>
    <memballoon model='virtio'>
      <alias name='balloon0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
    </memballoon>
  </devices>
</domain>

Link to comment

Thanks for the help so far.

I have tried loading the drivers for virtio in virtual box and copying the vmdk over to the unraid.

it still says booting from drive and using 100% of the cpu core.

 

the currant xml file :

<domain type='kvm'>

  <name>Windows Server 2003</name>

  <uuid>hidden</uuid>

  <metadata>

    <vmtemplate xmlns="unraid" name="Windows Server 2003" icon="windowsxp.png" os="windows2003"/>

  </metadata>

  <memory unit='KiB'>1572864</memory>

  <currentMemory unit='KiB'>1572864</currentMemory>

  <memoryBacking>

    <nosharepages/>

  </memoryBacking>

  <vcpu placement='static'>1</vcpu>

  <cputune>

    <vcpupin vcpu='0' cpuset='4'/>

  </cputune>

  <os>

    <type arch='x86_64' machine='pc-i440fx-2.5'>hvm</type>

  </os>

  <features>

    <acpi/>

    <apic/>

    <hyperv>

      <relaxed state='on'/>

      <vapic state='on'/>

      <spinlocks state='on' retries='8191'/>

      <vendor_id state='on' value='none'/>

    </hyperv>

  </features>

  <cpu mode='host-passthrough'>

    <topology sockets='1' cores='1' threads='1'/>

  </cpu>

  <clock offset='localtime'>

    <timer name='hypervclock' present='yes'/>

    <timer name='hpet' present='no'/>

  </clock>

  <on_poweroff>destroy</on_poweroff>

  <on_reboot>restart</on_reboot>

  <on_crash>restart</on_crash>

  <devices>

    <emulator>/usr/local/sbin/qemu</emulator>

    <disk type='file' device='disk'>

      <driver name='qemu' type='vmdk' cache='writeback'/>

      <source file='/mnt/disk10/appdata/exchange-disk1.vmdk'/>

      <target dev='hdc' bus='virtio'/>

      <boot order='1'/>

      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>

    </disk>

    <disk type='file' device='cdrom'>

      <driver name='qemu' type='raw'/>

      <source file='/mnt/cache/isos/virtio-win-0.1.126-2.iso'/>

      <target dev='hdb' bus='ide'/>

      <readonly/>

      <address type='drive' controller='0' bus='0' target='0' unit='1'/>

    </disk>

    <controller type='usb' index='0' model='ich9-ehci1'>

      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>

    </controller>

    <controller type='usb' index='0' model='ich9-uhci1'>

      <master startport='0'/>

      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>

    </controller>

    <controller type='usb' index='0' model='ich9-uhci2'>

      <master startport='2'/>

      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>

    </controller>

    <controller type='usb' index='0' model='ich9-uhci3'>

      <master startport='4'/>

      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' 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='virtio-serial' index='0'>

      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>

    </controller>

    <interface type='bridge'>

      <mac address='52:54:00:5f:7d:ec'/>

      <source bridge='br0'/>

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

    <channel type='unix'>

      <target type='virtio' name='org.qemu.guest_agent.0'/>

      <address type='virtio-serial' controller='0' bus='0' port='1'/>

    </channel>

    <input type='tablet' bus='usb'>

      <address type='usb' bus='0' port='1'/>

    </input>

    <input type='mouse' bus='ps2'/>

    <input type='keyboard' bus='ps2'/>

    <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='en-us'>

      <listen type='address' address='0.0.0.0'/>

    </graphics>

    <video>

      <model type='cirrus' vram='16384' heads='1' primary='yes'/>

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

 

Link to comment

I setup my boot drive as an IDE drive and a dummy drive as virtio then setup WHSv1.  Once I had it installed and the drivers installed for the dummy virtio drive I changed the ide drive to virtio and rebooted.  So I would try to setup 2003 with an IDE boot HDD first and see if that works.  The second time I setup WHSv1 I had a setup floppy that I made with the drivers from the ISO. But I had to custom make it because the floppy was not setup correctly as provided in ISO (virtio-win-0.1.96.iso).  I would hope newer versions of the drivers would have the floppy image fixed but if not then the only way I could get WHSv1 installed was by setting up the boot device as IDE and a dummy drive as virtio and then once setup switching the boot device to virtio.

Link to comment

Any more ideas on this ?

Maybe installing another 2003 or 2008 server as a VM from the start and joining my existing domain might work.

You could try that.  What I have done in the past for WHSv1 to transfer it to a new box is use BDBB to backup to an alternate location.  Then install on the new box and restore using BDBB to the new install.  I then reinstall the client on each of the client machines and they are reattached to the new server.

 

BDBB:

http://www.mediasmartserver.net/2010/09/01/windows-home-server-backup-database-backup-bdbb-1-0-3-3-released/

Link to comment
  • 2 months later...

It is still not working for me. I have tried nearly every combo that I can think of to make this work.

It say booting from harddisk and just sits there.

Bob it is not WHS but full 2003 server standard edition.

If I setup the VMDK as a secondary drive in a Win10 then it works great and is fully accessible.

John

Edited by jpimlott
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.