# lofiadm -a /export/home/isos/f8.iso /dev/lofi/1 # mount -o ro -F hsfs /dev/lofi/1 /mnt # share -F nfs /mnt Start virt-install :- # virt-install -n F8PVM --ram 1024 --nographics -p \ -f /dev/zvol/dsk/xvmpool/f8-disk -l nfs:192.168.1.42:/mnt -d Starting install... libvir: Xen Daemon error : GET operation failed: Tue, 15 Apr 2008 09:12:44 DEBUG Preparing mount at /var/lib/xen/virtinstmnt.XNMdBB Tue, 15 Apr 2008 09:12:44 DEBUG Acquiring file from /var/lib/xen/virtinstmnt.XNMdBB/Fedora Tue, 15 Apr 2008 09:12:44 DEBUG Cannot find file Fedora Tue, 15 Apr 2008 09:12:44 DEBUG Acquiring file from /var/lib/xen/virtinstmnt.XNMdBB/Server Tue, 15 Apr 2008 09:12:44 DEBUG Cannot find file Server Tue, 15 Apr 2008 09:12:44 DEBUG Acquiring file from /var/lib/xen/virtinstmnt.XNMdBB/RedHat Tue, 15 Apr 2008 09:12:44 DEBUG Cannot find file RedHat Tue, 15 Apr 2008 09:12:44 DEBUG Acquiring file from /var/lib/xen/virtinstmnt.XNMdBB/CentOS Tue, 15 Apr 2008 09:12:44 DEBUG Cannot find file CentOS Tue, 15 Apr 2008 09:12:44 DEBUG Acquiring file from /var/lib/xen/virtinstmnt.XNMdBB/directory.yast Tue, 15 Apr 2008 09:12:44 DEBUG Doesn''t look like a Suse distro Invalid location given: No such file or directory Tue, 15 Apr 2008 09:12:44 DEBUG Acquiring file from /var/lib/xen/virtinstmnt.XNMdBB/boot/platform/i86xpv/kernel/unix Tue, 15 Apr 2008 09:12:44 DEBUG Doesn''t look like a Solaris distro Invalid location given: No such file or directory Tue, 15 Apr 2008 09:12:44 DEBUG Cleaning up mount at /var/lib/xen/virtinstmnt.XNMdBB ERROR: Could not find an installable distribution the install location Same command works fine for lofiadm''d CentOS 5.1 ISO This message posted from opensolaris.org
On Tue, Apr 15, 2008 at 02:28:51AM -0700, Boris Derzhavets wrote:> # lofiadm -a /export/home/isos/f8.iso > /dev/lofi/1 > # mount -o ro -F hsfs /dev/lofi/1 /mnt > # share -F nfs /mnt > Start virt-install :-Fedora 8 modified the directory structure of their install bits. A forthcoming virt-install update should fix this. regards john
Yesterday i was instructed by Sun Support:- *********************************************************** Old er versions of Fedora had all the software in a directory called Fedora. Fedora 8 puts them in a directory called something like Packages. unpack the ISO into a directory, # ln -s Packages Fedora, then install from the directory using NFS. ********************************************************* Suggestion above works fine right now. No need to wait for new version of virt-install ******************************************************** # lofiadm -a /export/home/isos/f8.iso /dev/lofi/1 # mount -o ro -F hsfs /dev/lofi/1 /mnt # share -F nfs /mnt # cd / # cp -R mnt /second_root # cd /second_root # chmod u+w mnt # cd mnt # ln -s Packages Fedora # share -F nfs /second_root/mnt ****************** Run virt-install:- ****************** # virt-install -n F8PVM --ram 1024 --nographics -p \> -f /dev/zvol/dsk/xvmpool/f8-disk -l nfs:192.168.1.42:/second_root/mnt -dThis message posted from opensolaris.org
Boris Derzhavets wrote:> Yesterday i was instructed by Sun Support:- > *********************************************************** > Old er versions of Fedora had all the software > in a directory called Fedora. > Fedora 8 puts them in a directory called something > like Packages. unpack the ISO into a directory, > # ln -s Packages Fedora, > then install from the directory using NFS. > ********************************************************* > Suggestion above works fine right now. > No need to wait for new version of virt-install > ******************************************************** > # lofiadm -a /export/home/isos/f8.iso > /dev/lofi/1 > # mount -o ro -F hsfs /dev/lofi/1 /mnt > # share -F nfs /mnt > # cd / > # cp -R mnt /second_root > # cd /second_root > # chmod u+w mnt > # cd mnt > # ln -s Packages Fedora > # share -F nfs /second_root/mnt > ****************** > Run virt-install:- > ****************** > # virt-install -n F8PVM --ram 1024 --nographics -p \ > >> -f /dev/zvol/dsk/xvmpool/f8-disk -l nfs:192.168.1.42:/second_root/mnt -d >> > > > This message posted from opensolaris.org > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org >Interesting... I suspected that would had been a temporary fix. Thanks for trying it and reporting back Boris. James