<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi, this problem is very interesting….<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I have a Mac Pro M1 and could not find virt-install (not sure it’s available on this distro) so I have to install my images by first creating the xml file describing
 the hardware of the qemu VM, inside of there I specify the CDROM and point it to the image. I have been trying to get kali to work for a few weeks and I was running into a very similar issue.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">My installation would start and ask for the language and the keyboard and then say it was verifying the install media and then die, saying the media cannot be
 found. I tried everything possible but could not get passed this. Finally I switched to the console during installation and noticed that the image was not mounted into /cdrom !! so looking deeper into it there are 2 partitions (and corresponding  images one
 is EFIboot, and the other is the full distro) that get mounted<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">/dev/vdb1 on /media
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">This was there and working which is how I got the initial install menu etc. and then there was..<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">/dev/vdb2 on /cdrom
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">This was not mounted but totally available..strange! I manually mounted this and went back into the installer and just did a continue….and then just like magic…the
 entire distro installed without any issues.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I’m not sure if this is exactly what your problem is but it sounds very similar, and I just went through this on Sunday.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hope this may help you.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">-s<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> libvirt-users <libvirt-users-bounces@redhat.com>
<b>On Behalf Of </b>Kaushal Shriyan<br>
<b>Sent:</b> Tuesday, February 7, 2023 10:32 AM<br>
<b>To:</b> libvirt-users@redhat.com<br>
<b>Subject:</b> Installing Kali Linux (kali-linux-2022.4-installer-amd64.iso) using KVM virt-install tool<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I am trying to install kali-linux-2022.4-installer-amd64.iso (<a href="https://www.kali.org/downloads/" target="_blank">https://www.kali.org/downloads/</a>) using KVM virt-install tool<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">#virt-install --name=kalilinux --file=/linuxkvmaddgbdisk/kalilinux.img --file-size=50 --nonsparse --vcpu=2 --ram=4096 --network=bridge:br0 --os-type=linux --os-variant=debian9 --graphics none --location=/linuxkvmaddgbdisk/kali-linux-2022.4-installer-amd64.iso --extra-args="console=ttyS0<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Starting install...<br>
Retrieving file .treeinfo...                                                                                                                                                         |    0 B  00:00:00<br>
Retrieving file content...                                                                                                                                                           |    0 B  00:00:00<br>
Retrieving file info...                                                                                                                                                              |  104 B  00:00:00<br>
Retrieving file info...                                                                                                                                                              |  104 B  00:00:00<br>
Retrieving file info...                                                                                                                                                              |  104 B  00:00:00<br>
ERROR    Could not find an installable distribution at '/linuxkvmaddgbdisk/kali-linux-2022.4-installer-amd64.iso': The URL could not be accessed, maybe you mistyped?<br>
<br>
The location must be the root directory of an install tree.<br>
See virt-install man page for various distro examples.<br>
Domain installation does not appear to have been successful.<br>
If it was, you can restart your domain by running:<br>
  virsh --connect qemu:///system start kalilinux<br>
otherwise, please restart y<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">#virt-install --name=kalilinux --file=/linuxkvmaddgbdisk/kalilinux.img --file-size=50 --nonsparse --vcpu=2 --ram=4096 --network=bridge:br0 --os-type=linux --os-variant=debian9 --graphics none --cdrom=/linuxkvmaddgbdisk/kali-linux-2022.4-installer-amd64.iso --extra-args="console=ttyS0"<br>
ERROR    --extra-args only work if specified with --location. See the man page for examples of using --location with CDROM media<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"># osinfo-query os | grep -i debian<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> debian1.1            | Debian GNU/Linux 1.1                               | 1.1      |
<a href="http://debian.org/debian/1.1">http://debian.org/debian/1.1</a><br>
 debian1.2            | Debian GNU/Linux 1.2                               | 1.2      |
<a href="http://debian.org/debian/1.2">http://debian.org/debian/1.2</a><br>
 debian1.3            | Debian GNU/Linux 1.3                               | 1.3      |
<a href="http://debian.org/debian/1.3">http://debian.org/debian/1.3</a><br>
 debian10             | Debian 10                                          | 10       |
<a href="http://debian.org/debian/10">http://debian.org/debian/10</a><br>
 debian11             | Debian 11                                          | 11       |
<a href="http://debian.org/debian/11">http://debian.org/debian/11</a><br>
 debian2.0            | Debian GNU/Linux 2.0                               | 2.0      |
<a href="http://debian.org/debian/2.0">http://debian.org/debian/2.0</a><br>
 debian2.1            | Debian GNU/Linux 2.1                               | 2.1      |
<a href="http://debian.org/debian/2.1">http://debian.org/debian/2.1</a><br>
 debian2.2            | Debian GNU/Linux 2.2                               | 2.2      |
<a href="http://debian.org/debian/2.2">http://debian.org/debian/2.2</a><br>
 debian3              | Debian GNU/Linux 3.0                               | 3.0      |
<a href="http://debian.org/debian/3">http://debian.org/debian/3</a><br>
 debian3.1            | Debian GNU/Linux 3.1                               | 3.1      |
<a href="http://debian.org/debian/3.1">http://debian.org/debian/3.1</a><br>
 debian4              | Debian GNU/Linux 4.0                               | 4.0      |
<a href="http://debian.org/debian/4">http://debian.org/debian/4</a><br>
 debian5              | Debian GNU/Linux 5.0                               | 5.0      |
<a href="http://debian.org/debian/5">http://debian.org/debian/5</a><br>
 debian6              | Debian 6.0                                         | 6.0      |
<a href="http://debian.org/debian/6">http://debian.org/debian/6</a><br>
 debian7              | Debian 7                                           | 7        |
<a href="http://debian.org/debian/7">http://debian.org/debian/7</a><br>
 debian8              | Debian 8                                           | 8        |
<a href="http://debian.org/debian/8">http://debian.org/debian/8</a><br>
 debian9              | Debian 9                                           | 9        |
<a href="http://debian.org/debian/9">http://debian.org/debian/9</a><br>
 debiantesting        | Debian testing                                     | testing  |
<a href="http://debian.org/debian/testing">http://debian.org/debian/testing</a><br>
#<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">I did not find kali OS details to provide an option for<b> --os-variant=  </b> When I ran osinfo-query os | grep kali. It did not return anything. <o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Any help will be highly appreciated and I look forward to hearing from you. Thanks in advance.<o:p></o:p></p>
</div>
<div>
<div>
<div>
<div style="margin-top:6.0pt;font-size:0.875rem" id="m_76485398692218838gmail-:3ht">
<div id="m_76485398692218838gmail-:1r2">
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif">Best Regards,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif">Kaushal<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Black" size="2"><br>
The information contained in this email message is intended only for use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you
 are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by email, postmaster@weil.com, and destroy the original message.
 Thank you.<br>
</font>
</body>
</html>