Benjamin Schweikert
2010-Apr-13 12:47 UTC
[Xen-users] Help with domU config file (convert from kvm)
Hi, currently i am using KVM, but i want to switch (back) to xen. All my VMs have a own partition inside a lvm. Inside of this partition are 2-3 own pratition. if i want to access them, i can do this by "kpartx -a /dev/vg/VM". Usually my domu configs look like this: bootloader=''/usr/bin/pygrub'' name="ipfire" memory=512 acpi=1 apic=1 vif=[''mac=00:16:3e:be:a1:9a,bridge=brI''] disk=[''phy:/dev/vg/ipfire-2.x,xvda1,w''] root="xvda3" extra=''xencons=tty console=hvc0'' but this is not working at all. if i use pygrub, i am getting not the grub.cfg which is in /boot of the VM and it says that ne data were returned. if i use a kernel and initrd directly inside the domu config it does not boot at all. so, does somebody know, how this is woking? i really want to use my "old" VMs instead of installing everything new. Thx! Ben _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2010-Apr-14 13:01 UTC
Re: [Xen-users] Help with domU config file (convert from kvm)
On Tue, Apr 13, 2010 at 02:47:37PM +0200, Benjamin Schweikert wrote:> Hi, > currently i am using KVM, but i want to switch (back) to xen. All my VMs > have a own partition inside a lvm. Inside of this partition are 2-3 own > pratition. if i want to access them, i can do this by "kpartx -a > /dev/vg/VM". > > Usually my domu configs look like this: > bootloader=''/usr/bin/pygrub'' > name="ipfire" > memory=512 > acpi=1 > apic=1 > vif=[''mac=00:16:3e:be:a1:9a,bridge=brI''] > disk=[''phy:/dev/vg/ipfire-2.x,xvda1,w'']If the disk image is partitioned, you need to have "xvda" here instead of "xvda1". -- Pasi> root="xvda3" > extra=''xencons=tty console=hvc0'' > > but this is not working at all. if i use pygrub, i am getting not the > grub.cfg which is in /boot of the VM and it says that ne data were > returned. if i use a kernel and initrd directly inside the domu config it > does not boot at all. > so, does somebody know, how this is woking? i really want to use my "old" > VMs instead of installing everything new. > > Thx! > > Ben> _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users