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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Thu, Feb 13, 2020 at 11:01 PM Cole Robinson <crobinso@xxxxxxxxxx> wrote:
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


Thank Cole for the email. I am running CentOS Linux release 7.6.1810 (Core). Is there a way to install virt-install 2.1.0? 

[root@~]#  cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
[root@~]#  yum whatprovides virt-install
Loaded plugins: fastestmirror
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
Loading mirror speeds from cached hostfile
 * base: centos.excellmedia.net
 * extras: centos.excellmedia.net
 * updates: centos.excellmedia.net
virt-install-1.5.0-7.el7.noarch : Utilities for installing virtual machines
Repo        : base



virt-install-1.5.0-1.el7.noarch : Utilities for installing virtual machines
Repo        : @base



[root@~]# 

Thanks in advance. I look forward to hearing from you.

Best Regards,

Kaushal

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux