ERROR Could not find an installable distribution at ....

Cole Robinson crobinso at redhat.com
Thu Feb 13 17:31:38 UTC 2020


On 2/13/20 12:18 PM, Kaushal Shriyan wrote:
> Hi,
> 
> I am trying to set up alpine Linux Guest OS using the below command
> 
> #virt-install --name=mfecdrupalalphine
> --file=/linuxkvmguestosdisk/var/lib/libvirt/images/mfecdrupalalphine.img
> --file-size=100 --nonsparse --vcpus=2 --ram=6096 --network=bridge:br0
> --os-type=linux --os-variant=alpinelinux3.8 --graphics none
> --location=/linuxkvmguestosdisk/var/lib/libvirt/isos/alpine-standard-3.11.3-x86_64.iso
> --extra-args="console=ttyS0"
> 
> Starting install...
> Retrieving file .treeinfo...                                            
>                                                                        
>                                     |    0 B  00:00:00
> Retrieving file content...                                              
>                                                                        
>                                     |    0 B  00:00:00
> ERROR    Could not find an installable distribution at
> '/linuxkvmguestosdisk/var/lib/libvirt/isos/alpine-standard-3.11.3-x86_64.iso':
> The URL could not be accessed, maybe you mistyped?
> 
> The location must be the root directory of an install tree.
> See virt-install man page for various distro examples.
> Domain installation does not appear to have been successful.
> If it was, you can restart your domain by running:
>   virsh --connect qemu:///system start mfecdrupalalphine
> otherwise, please restart your installation.
> 
> The iso file do exist as per the below details
> ls -l
> /linuxkvmguestosdisk/var/lib/libvirt/isos/alpine-standard-3.11.3-x86_64.iso
> -rw-r--r-- 1 root root 127926272 Feb 12 17:49
> /linuxkvmguestosdisk/var/lib/libvirt/isos/alpine-standard-3.11.3-x86_64.iso
> #

virt-instal doesn't know where to find the bootable kernel and initrd in
the directory tree on the alpine iso. If you are using virt-install
2.1.0 you can use --location
$PATH,kernel=/relative/path/to/kernel,initrd=/relative/path/to/initrd
where those paths are relative to the root of the ISO tree. Or try
--cdrom $PATH, but then --extra-args won't work

- Cole




More information about the virt-tools-list mailing list