Conversion of Freeside VM Appliance to Proxmox VE

mhammett

Renowned Member
Mar 11, 2009
161
2
83
DeKalb, Illinois, United States
I tried this and it boots, but I'm not a Linux expert and I don't fully understand the error.

I can only access it via the VNC console, therefore I can't copy and paste what it says.

Can I convert this to an OpenVZ format vs. KVM?

Could someone else convert this to something useful? If so, then we can work on figuring out what I did wrong.

http://www.freeside.biz/freeside/Freeside-Appliance-1.7.4rc2.zip

I get to a command prompt of sorts, but there's errors and I can't access much. df-ah says the volume is only 10 MB.
 
I tried this and it boots, but I'm not a Linux expert and I don't fully understand the error.

I can only access it via the VNC console, therefore I can't copy and paste what it says.

Can I convert this to an OpenVZ format vs. KVM?

Could someone else convert this to something useful? If so, then we can work on figuring out what I did wrong.

http://www.freeside.biz/freeside/Freeside-Appliance-1.7.4rc2.zip

I get to a command prompt of sorts, but there's errors and I can't access much. df-ah says the volume is only 10 MB.

as this is vmware appliance you should be able to convert it to KVM. (converting to OpenVZ will be a lot of work).

see http://pve.proxmox.com/wiki/Migration_of_servers_to_Proxmox_VE#VMware_to_Proxmox_VE_.28KVM.29
 
I tried that, but failed.

Everything seemed to work until I ran the VE. However, I don't know how to get the console's output into something I can put here.


just tried, work. make sure you add the migrated disk a SCSI (not IDE).

the appliance start X, but this does not work as the config is wrong for KVM - but this can be fixed inside.

on what stage do you fail?

you will see everything on the VNC console.
 
I used Clonezilla for a lot of VMware -> KVM-Conversions.

Probably you can solve the problem by using Clonezilla an imaging the VMware Guest (by booting from Clonezilla ISO in VMware) and then selecting a target (ext HDD) then setting up a new KVM on Proxmox Webinterface. Then also boot from HDD an select the source and you're good to go ;) !
 
just tried, work. make sure you add the migrated disk a SCSI (not IDE).

the appliance start X, but this does not work as the config is wrong for KVM - but this can be fixed inside.

on what stage do you fail?

you will see everything on the VNC console.

I just played a bit with this and had some issues configuring X and the mouse - but I got it working soon.

here is what I have done:

install some missing packages:

Code:
apt-get install xserver-xorg-input-vmmouse xserver-xorg-video-cirrus
replace the /etc/X11/xorg.conf with this:

Code:
Section "Device"
        Identifier      "Configured Video Device"
        Driver          "cirrus"
EndSection

Section "InputDevice"
        Identifier "Mouse1"
        Driver "vmmouse"
        Option "Protocol" "IMPS/2"
        Option "Device" "/dev/input/mice"
        Option "Buttons" "5"
        Option "ZaxisMapping" "4 5"
EndSection

Section "Monitor"
        Identifier      "Configured Monitor"
        HorizSync       30-70
        VertRefresh     50-160
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        Device          "Configured Video Device"
        DefaultDepth    24
        SubSection "Display"
                Depth   24
                Modes   "1280x800" "1152x768" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection
and finally create the following file:

Code:
nano /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi
should look like this (I grabbed this file from Ubuntu 9.04):
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>

    <!-- KVM emulates a USB graphics tablet which works in absolute coordinate mode -->
    <match key="input.product" contains="QEMU USB Tablet">
       <merge key="input.x11_driver" type="string">evdev</merge>
    </match>

    <!-- FIXME: Support tablets too. -->
    <match key="info.capabilities" contains="input.mouse">
      <merge key="input.x11_driver" type="string">mouse</merge>
      <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
             string="Linux">
        <merge key="input.x11_driver" type="string">evdev</merge>
      </match>
    </match>

    <match key="info.capabilities" contains="input.tablet">
      <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
             string="Linux">
        <merge key="input.x11_driver" type="string">evdev</merge>
      </match>
    </match>

    <match key="info.capabilities" contains="input.keys">
      <!-- If we're using Linux, we use evdev by default (falling back to
           keyboard otherwise). -->
      <merge key="input.x11_driver" type="string">keyboard</merge>
      <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
             string="Linux">
        <merge key="input.x11_driver" type="string">evdev</merge>
      </match>
    </match>
  </device>
</deviceinfo>
and finally, reboot and you will have a working X with just one mouse. this works on all Debian Lenny KVM VM´s.
 
Last edited:
I had tried doing it in IDE. When I created a new qcow2 and mounted it as SCSI, it fired up. Thanks.

So the proper notation can be made in the wiki, what's the reasoning for this?

perfect! SCSI does not work on windows. therefore we pointed to IDE.
But new VIRTIO block drivers for windows are announced so hopefully also windows will benefit from the fast paravirtualization for block devices.

not yet available but very soon, see http://www.linux-kvm.org/page/WindowsGuestDrivers
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!