Error Could Not Find An Installable Distribution At
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more the location must be the root directory of an install tree about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered couldn't find hvm kernel for ubuntu tree Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. error validating install location: could not find an installable distribution at Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Install VM from command line with virt-install
Virt-install Location Iso
up vote 4 down vote favorite 2 Disclaimer : I now use virt-manager to create and manage my VM and it is really a life saver. It can be used remotely if the host does not have graphical display. The occurrences of vnc in the installation guides I had found lead me to think that using the recommended procedure, I would install X stuff either on host, guest or both. Absolutely not. My mistake. If you are in the virt-install error validating install location same situation and state of (lack of) knowledge, think twice before trying to install the VM from command line. I'm trying to install a Debian VM in a Debian host using virt-install and I don't know how to pass it the .iso image. virt-install --connect qemu:///system --virt-type kvm --name prod --ram 6144 --disk /srv/vm/prod.qcow,format=qcow2,size=10 --location=/home/jerome/debian-8.0.0-amd64-netinst.iso --network bridge=br0 --os-type linux --os-variant debianwheezy --extra-args='console=tty0 console=ttyS0,115200n8 serial' Starting install... Retrieving file info... | 160 B 00:00 ... ERROR Could not find an installable distribution at '/home/jerome/debian-8.0.0-amd64-netinst.iso' The location must be the root directory of an install tree. Domain installation does not appear to have been successful. If it was, you can restart your domain by running: virsh --connect qemu:///system start prod otherwise, please restart your installation. root@versailles:/etc# The solutions I have seen seem quite twisted, like using apache to serve locally the .iso image as if it was from a distant place. Linux Mint 14 : install Ubuntu 12.10 Server within KVM via CLI ( no GUI ) [Xen-users] installing a vm with virt-install (It is Xen but it looks like it is the same issue anyway. I can't believe it is that complicated. Is it? man virt-install says: If you want to use those options with CDROM media, you have a few options: * Run virt-install as root and do --location ISO * Mount the ISO at a local directory, and do --location DIRECTORY * Mount the IS
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this virt install command not found site About Us Learn more about Stack Overflow the company Business Learn
--extra-args Only Work If Specified With --location
more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server
Bash Virt Install Command Not Found
Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can http://unix.stackexchange.com/questions/207090/install-vm-from-command-line-with-virt-install answer The best answers are voted up and rise to the top Cannot install windows guest using virt-install up vote 1 down vote favorite 1 I am trying to install a windows guest (Windows Sever 2012 64-bit) on my CentOS 6.4 64-bit system using virt-install command. Command: /usr/sbin/virt-install --graphics vnc,port=5903,listen=127.0.0.1,password=redhat --noautoconsole --name=myos2 --ram=1024 --arch=x86_64 --vcpus=1 --hvm --disk path=/media/skrtbhtngr/wins2012,size=32 -m 66:55:44:33:22:00 --location=/root/Desktop/OS_Images/en_windows_server_2012_x64_dvd_915478.iso Output: Starting install... ERROR http://serverfault.com/questions/606787/cannot-install-windows-guest-using-virt-install Could not find an installable distribution at '/root/Desktop/OS_Images/en_windows_server_2012_x64_dvd_915478.iso' The location must be the root directory of an install tree. Domain installation does not appear to have been successful. If it was, you can restart your domain by running: virsh --connect qemu:///system start myos2 otherwise, please restart your installation. Also, when I use Virtual Machine Manager, the OS installation starts successfully. Now, this happens with all windows guests (Win7 etc...). What I couldn't figure out where I am wrong? PS: I am new to the world of virtualization! virtual-machines virt-install share|improve this question asked Jun 20 '14 at 14:51 skrtbhtngr 1085 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote accepted I think you want to use --cdrom instead of --location to point to the ISO. Then the VM should boot to the ISO. http://opennodecloud.com/documentation/howtos/kvm-guests-virt-install-examples/ share|improve this answer answered Jun 20 '14 at 15:08 Neil H Watson 271413 1 please tell why --location works for linux guest iso file but not for that of windows? –skrtbhtngr Jun 20 '14 at 15:23 add a comment| Your Answer draft saved draft discarded Sign up or log in S
com"
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Build Ubuntu VM using mirror up vote 1 down vote favorite In kvm, using virt-install I can create centos images using this parameter in my virt install command. -l http://mirror.umd.edu/centos/6/os/x86_64/ Starting install... Retrieving file .treeinfo... | 798 B 00:00 ... Retrieving file vmlinuz... | 7.7 MB 00:00 ... Retrieving file initrd.img... | 62 MB 00:07 ... Files get fetched from the mirror, kvm builds and installs the vm using my specifications. I'd like to know the equivalent of that mirror in ubuntu? Here are few mirrors I digged out but I can't find a working one with this path, curling through the mirrors, I'm not finding treeinfo, vmlinuz, initrd.img files. http://mirror.uoregon.edu/ubuntu/dists/maverick/main/installer-amd64/ http://ftp.ubuntu.com/ubuntu/dists/maverick/main/installer-i386/ Any pointers? virtualization kvm mirrors share|improve this question edited Jun 21 '13 at 14:36 asked Jun 21 '13 at 14:25 kmassada 5801519 1 mirror.uoregon.edu/ubuntu/dists/precise/main/installer-amd64/… has a tree similar the one you refer (no .treeinfo) –Salem Jun 21 '13 at 14:53 please answer question bellow, so I give you answer credit. thanks and just for anyone who is curious about this in the future –kmassada Jun 21 '13 at 15:29 So using that url your images are correctly created? I will check if I can find a more generic answer to this: it is very odd that even here there is nothing pointing out how to use a mirror. –Salem Jun 21 '13 at 15:43 # sudo virt-install --connect qemu:///system -n $NAME -r 2048 --vcpus=2 --disk path=/drives/A/ima