When trying to install Fedora 6 on DomU, I''m getting following error message: libvirt.libvirtError: virDomainCreateLinux() failed POST operation failed: (xend.err ''Error creating domain: (2, \''Invalid kernel\'', "Kernel ELF architecture \''3\'' does not match Xen architecture \''62\'' (x86_64)")'') bash-3.2# uname -a SunOS virtxen 5.11 snv_79 i86pc i386 i86xpv Used command is: virt-install -d -n Linux -r 1024 --vnc -p -f /export/VM/Linux/linux.img -l /distro/Fedora/core-6/FC-6_i386.iso Perhaps I''m missing something, but why should the Kernel ELF architecture match Dom0 kernel architecture? Or is it anything else? Thanks a lot, Arik Fishbein.
Xen Hypervisor 3.0.4 limitation:- If DomO is 64 bit (32) then DomU has to be 64 bit (32) Next # lofiadm -a /export/home/isos/f7.iso # mount -o ro -F hsfs /dev/lofi/1 /mnt # share -F nfs /mnt # virt-install -n F7pvm -p -r 1024 --nographics -x "console=hvc0" \ -f /second_root/images/f7pvm.img -l nfs:<IP-ADDRESS Dom0>:/mnt This message posted from opensolaris.org
Thanks a lot. Should changing /boot/$ISADIR/xen.gz -> /boot/xen.gz, and /platform/i86xpv/kernel/$ISADIR/unix to /platform/i86xpv/kernel/unix solve it to me? Arik Boris Derzhavets wrote:> Xen Hypervisor 3.0.4 limitation:- > If DomO is 64 bit (32) then DomU has to be 64 bit (32) > Next > # lofiadm -a /export/home/isos/f7.iso > # mount -o ro -F hsfs /dev/lofi/1 /mnt > # share -F nfs /mnt > # virt-install -n F7pvm -p -r 1024 --nographics -x "console=hvc0" \ > -f /second_root/images/f7pvm.img -l nfs:<IP-ADDRESS Dom0>:/mnt > > > This message posted from opensolaris.org > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org >
Don''t change anything. Just watch at boot time is it 64 or 32-bit version of Solaris xVM (79) Select F6 distro correspondently. You can''t use 32-bit F6 at 64-bit SNV79 if you intend is F6 PVM at SNV79. You need 64-bit F6 and vice versa. Lofiadm F6 ISO image as instructed. Try virt-install commnad line as above This message posted from opensolaris.org
# lofiadm -a /export/home/iso/F-7-x86_64-DVD.iso /dev/lofi/1 # ls /mnt hdd hdd2 iso nfs # mount -o ro -F hsfs /dev/lofi/1 /mnt/iso # share -F nfs /mnt/iso # share - /mnt/iso rw "" # virt-install -n F7pvm -p -r 1024 --nographics -x "console=hvc0" -f /export/home/img/test.img -l nfs::/mnt/iso Starting install... nfs mount: : Unknown host umount: warning: /var/lib/xen/virtinstmnt.HGd31m not in mnttab umount: /var/lib/xen/virtinstmnt.HGd31m not mounted ERROR: Invalid install location This message posted from opensolaris.org
On Mon, Jan 07, 2008 at 04:00:53AM -0800, quasi wrote:> # lofiadm -a /export/home/iso/F-7-x86_64-DVD.iso > /dev/lofi/1 > # ls /mnt > hdd hdd2 iso nfs > # mount -o ro -F hsfs /dev/lofi/1 /mnt/iso > # share -F nfs /mnt/iso > # share > - /mnt/iso rw "" > # virt-install -n F7pvm -p -r 1024 --nographics -x "console=hvc0" -f /export/home/img/test.img -l nfs::/mnt/isoYou need to specify the hostname of the NFS server (from the perspective of the domU). Something like "nfs:dom0hostname:/mnt/iso". dme.
Sorry, that was my fault HTML conversion:- nfs:<IP-Dom0>:/mnt This message posted from opensolaris.org
Welcome to Fedora ┌──────────────────────┤ Dependency Check ├───────────────────────┐ │ │ │ Checking dependencies in packages selected for installation... │ │ │ │ 6% │ │ │ └─────────────────────────────────────────────────────────────────┘ <Space>,<+>,<-> selection | <F2> Group Details | <F12> next screen # xm list Name ID Mem VCPUs State Time(s) Domain-0 0 6522 4 r----- 13503.8 FC7amd64 22 1024 1 -b---- 13.5 at all This message posted from opensolaris.org _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org